View previous topic :: View next topic |
Author |
Message |
bdquick Advanced Member

Joined: 26 Jun 2025 Posts: 883 Location: Little north of DSM and south of Ames
|
Posted: Sun Apr 20, 2025 12:27 am Post subject: can GRUB or LILO? |
|
|
I'm wondering if either can boot using device id or label. I've installed Arch to a usb key, but its not very reliable or portable. Its a two fold problem.
GRUB will not correctly mount the root device when trying to boot. It says file system unknown even though I've tried both ext2 and ext3. I even let the arch installer auto prepare the drive which creates a seperate partition for /boot. I've had it work correctly with pclos minime installed to this same drive. Any ideas on why it won't?
LILO will boot arch correctly, but its not very portable because of device names changing, ie /dev/sdb1. I know grub will boot by dev-id, but can LILO? Google isn't giving me much success.
_________________ OpenSuse 11.1 11, 10.2
Arch Linux
|
|
Back to top |
|
tlmiller Ultimate Member

Joined: 01 May 2025 Posts: 2433 Location: MD, USA
|
Posted: Sun Apr 20, 2025 1:11 am Post subject: |
|
|
Not a definitive answer, but everything I've read says that LILO is NOT able to boot by uuid.
_________________ Debian Squeeze, Arch, Kubuntu mostly. Some Mandriva. Some Windows.
Desktops: shadowdragon, medusa
Laptops: bluedrake, banelord, sandwyrm, aardvark.
|
|
Back to top |
|
masinick Linux Guru

Joined: 03 Apr 2025 Posts: 8615 Location: Concord, NH
|
Posted: Sun Apr 20, 2025 1:46 am Post subject: Topic: Kubuntu Boot LILO by GRUB, Linux Boot LILO by GRUB |
|
|
At This site there is a discussion of using GRUB and LILO together to achieve chainloading. I know that it is not necessary to use LILO to achieve chainloading. I have recursively chainloaded, moving from one GRUB to another to another. Large disks and different disks can sometimes cause challenges, but carefully handled these can be overcome.
Like tlmiller, I have seen discussions that suggest that LILO is not yet able to handle UUID conventions and suggests changing to the appropriate /dev name instead - and these have also recently changed from the use of /dev/hda, hdb, etc. to sda, sdb, etc. names. It may be worth experimenting with various settings to see what works and what does not at this stage. |
|
Back to top |
|
Germ Keeper of the BIG STICK

Joined: 30 Apr 2025 Posts: 12452 Location: Planet Earth
|
Posted: Sun Apr 20, 2025 1:24 pm Post subject: |
|
|
Yes, lilo will boot by uuid. Instead of root= you have to add it to the append line as in append="root=/dev/disk/by-uuid/xxxx"
_________________ Laptop: Mandriva 2025 PowerPack - 2.6.33.5-0.2mnb
Desktop: Mandriva 2025 Free - kernel 2.6.33.2-1mib
|
|
Back to top |
|
masinick Linux Guru

Joined: 03 Apr 2025 Posts: 8615 Location: Concord, NH
|
Posted: Sun Apr 20, 2025 7:03 pm Post subject: |
|
|
Germ wrote: | Yes, lilo will boot by uuid. Instead of root= you have to add it to the append line as in append="root=/dev/disk/by-uuid/xxxx" |
Good info! That makes sense. |
|
Back to top |
|
bdquick Advanced Member

Joined: 26 Jun 2025 Posts: 883 Location: Little north of DSM and south of Ames
|
Posted: Wed Apr 23, 2025 2:00 am Post subject: |
|
|
Seems to work like a charm. Now if I'd just made the partition bigger lol.
_________________ OpenSuse 11.1 11, 10.2
Arch Linux
|
|
Back to top |
|
Germ Keeper of the BIG STICK

Joined: 30 Apr 2025 Posts: 12452 Location: Planet Earth
|
|
Back to top |
|
|