WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: booting Tinycore won't use "onboot.lst"  (Read 4047 times)

Offline meka

  • Newbie
  • *
  • Posts: 12
booting Tinycore won't use "onboot.lst"
« 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!

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: booting Tinycore won't use "onboot.lst"
« Reply #1 on: June 02, 2014, 08:50:53 AM »
Is this a USB drive? If so you forgot the waitusb=5 boot code.
You don't need restore= or lst= bootcodes.

Offline meka

  • Newbie
  • *
  • Posts: 12
Re: booting Tinycore won't use "onboot.lst"
« Reply #2 on: June 02, 2014, 09:25:49 AM »
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!

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: booting Tinycore won't use "onboot.lst"
« Reply #3 on: June 02, 2014, 09:54:52 AM »
So, is it working now?
If not, show us the output of "showbootcodes" and "fdisk -l".

Offline meka

  • Newbie
  • *
  • Posts: 12
Re: booting Tinycore won't use "onboot.lst"
« Reply #4 on: June 03, 2014, 10:42:51 AM »
No. Not working.

showbootcodes:
Code: [Select]
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:
Code: [Select]
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

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: booting Tinycore won't use "onboot.lst"
« Reply #5 on: June 03, 2014, 11:57:41 AM »
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".

Offline meka

  • Newbie
  • *
  • Posts: 12
Re: booting Tinycore won't use "onboot.lst"
« Reply #6 on: June 04, 2014, 03:52:52 AM »
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...

Offline meka

  • Newbie
  • *
  • Posts: 12
Re: booting Tinycore won't use "onboot.lst"
« Reply #7 on: June 04, 2014, 04:02:04 AM »
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

Offline meka

  • Newbie
  • *
  • Posts: 12
Re: booting Tinycore won't use "onboot.lst"
« Reply #8 on: June 04, 2014, 04:27:33 AM »
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?



Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: booting Tinycore won't use "onboot.lst"
« Reply #9 on: June 04, 2014, 04:40:19 AM »
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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: booting Tinycore won't use "onboot.lst"
« Reply #10 on: June 04, 2014, 04:50:55 AM »
I recommend you use labels instead of uuids if you need to restore to newly formatted partitions.
The only barriers that can stop you are the ones you create yourself.