WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] NVIDIA-Linux-x86-173.14.39-pkg1.run  (Read 30227 times)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #30 on: June 04, 2015, 06:25:10 AM »
Use the mc file manager to look in mydata.tgz and see if your data is there.  If not, you did not back it up.
If it is there, it should be extracted at boot.

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #31 on: June 04, 2015, 06:37:38 AM »
Hi Stone.Giant
Quote
If I do a persistent storage bootcode, will my file automatically transferred to hdd?
Yes. Before you start, copy your  tce/mydata.tgz  to  tce/mydata.tgz.original. This way you have a backup in case you mess up.
Add the  home=sda2  boot code. Reboot your machine. Edit your  /opt/,filetool.lst  file and remove any entries listing home.
Run a backup. Do another reboot to verify your home is persistent.

i think it will not gona load coz i renamed my original mydata.tgz to mydata.tgz.original even my file is there

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #32 on: June 04, 2015, 06:42:54 AM »
You were told to copy, not rename.
Copy your backup to mydata.tgz and reboot.

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #33 on: June 04, 2015, 06:53:05 AM »
yes i did copy using command

Code: [Select]
tc@box:/mnt/sda2/tce$ cp -pi mydata.tgz mydata.tgz.original

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #34 on: June 04, 2015, 07:09:26 AM »
I used mc.tcz to view the contents of mydata.tgz i did not see any home folder only these 3
/etc
/opt
/usr

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #35 on: June 04, 2015, 07:56:26 AM »
how can i define the UUID of my hdd?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #36 on: June 04, 2015, 08:19:18 AM »
You don't.  Run blkid to find out what it is.

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #37 on: June 04, 2015, 08:21:57 AM »
All ok now. I reload my original mydata.tgz and disable persistent storage then returned again to persistent storage. All my files were transferred. I think the main cause of the problem is the swap and home are on the same partition (sda2). I redefine my home and swap partitions.

Code: [Select]
tc@box:~$ cat /proc/mounts | grep /dev/sd
/dev/sda2 /mnt/sda2 ext4 rw,relatime,data=ordered 0 0
/dev/sda2 /home ext4 rw,relatime,data=ordered 0 0
tc@box:~$ ls
Desktop/                             jre-8u45-linux-i586.tar.gz
Downloads/                           jre1.8.0_45/
Introducing the Lily Camera.mp4      linux-3.16.6-patched.txz
NVIDIA-Linux-x86-173.14.39-pkg1.run  nvidia-error ID4786
alsareadme                           nvidia-installer.log
alsasound_start.sh                   seamonkey/
dillo-3.0.4.1/                       seamonkey-2.33.1.tar.bz2

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #38 on: June 04, 2015, 09:02:20 AM »
Here is my progress now, going back to the original problem...

Code: [Select]
$ sudo ./NVIDIA-Linux-x86-173.14.39-pkg1.run --kernel-source-path=/usr/src/linux-3.16.6

It gave me an error


Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #39 on: June 04, 2015, 09:15:07 AM »
Use a symbolic link to point /usr/src to a directory on your hard disk.  Then follow the instructions you were given to extract the sources.

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #40 on: June 04, 2015, 05:37:25 PM »
Use a symbolic link to point /usr/src to a directory on your hard disk.  Then follow the instructions you were given to extract the sources.

point to which directory?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #41 on: June 04, 2015, 06:01:04 PM »
The one where you are going to store the files.  I have a feeling you are in over your head.

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #42 on: June 04, 2015, 07:31:19 PM »
My SOP is to install any programs in $HOME which is now in HDD using persistent storage bootcode. Is this correct?
Code: [Select]
tc@box:/usr/src/linux-3.16.6$ln -s /usr/src/linux-3.16.6 /home/tc

Will it be better if i manually install headers? Where will it be installed?
Code: [Select]
tc@box:/usr/src/linux-3.16.6$ make headers_install

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14546
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #43 on: June 04, 2015, 11:53:07 PM »
I suggest you use the linux-kernel-sources-env extension to prepare the kernel source.

Before loading the extension, create a symlink to your permanent home:
Code: [Select]
$ mkdir -p /home/tc/usr/src
$ cd /usr
$ sudo ln -s /home/tc/usr/src src

..and then load linux-kernel-sources-env

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #44 on: June 05, 2015, 01:05:10 PM »
I already finished loading linux-kernel-sources-env. Now what is the next step?