Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: meka on June 02, 2014, 08:39:47 AM
-
For some reason my TinyCore 4.7.1 installation won't load anything specified in "onboot.lst".
The "extlinux.conf" contains: "opt=sda1 home=sda1 restore=sda1/tce lst=onboot.lst"
I had to add "restore=sda1/tce" because otherwise it wouldn't extract my "mydata.tgz" as well, I tried to add multiple similar prefixes to the boot code but without success (for example lst=sda1/tce/onboot.lst). From where is TinyCore trying to load my onboot.lst from or may I have accidentally disabled it?
Thank you!
-
Is this a USB drive? If so you forgot the waitusb=5 boot code.
You don't need restore= or lst= bootcodes.
-
No it is not an USB device but an internal SSD. But it contains the waitusb=5 part... although it might not need it.
Thanks!
-
So, is it working now?
If not, show us the output of "showbootcodes" and "fdisk -l".
-
No. Not working.
showbootcodes:
initrd=/tce/boot/core.gz quiet text waitusb=5:UUID="31352b24-b978-4474-b965-32b2f0805b13" tce=UUID="31352b24-b978-4474-b965-32b2f0805b13" opt=sda1 home=sda1 restore=sda1/tce lst=onboot.lst BOOT_IMAGE=/tce/boot/vmlinuz
And I tried lst=tce/onboot.lst or lst=sda1/tce/onboot.lst ...without any difference.
fisk -l:
Disk /dev/sda: 32.0 GB, 32044482560 bytes
255 heads, 63 sectors/track, 3895 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3895 31286556 83 Linux
-
Get rid of the restore= and lst= boot options.
Show the output of "blkid /dev/sda*".
Show the output of "ls -l /etc/sysconfig/tcedir".
Show the output of "cat /etc/sysconfig/tcedir/onboot.lst".
Show the output of "ls /usr/local/tce.installed".
-
Without the restore= it wouldn't extract the "mydata.tar.gz" ... I put it there to get it working. And also the lst part... it didn't work without it so I tried adding it.
Just a second on the other outputs...
-
Ok... a number of problems:
- the UUID is different
- the /etc/sysconfig/tcedir is a dead symlink to /tce
- therefor the cat command doesn't execute cause the symlink is dead
- nothin
-
Thank you! After changing the UUID at tce the system boots up as expected!
I also removed the waitusb restore and lst part.
Is it possible to change the tce UUID string at extlinux.conf from console to the UUID of a particular device? Possible after restore a backup to a new disk?
-
Is it possible to change the tce UUID string at extlinux.conf from console to the UUID of a particular device? Possible after restore a backup to a new disk?
You do not need UUID at all in a properly configured system. You can forget it.
-
I recommend you use labels instead of uuids if you need to restore to newly formatted partitions.