View previous topic :: View next topic |
Author |
Message |
CRGreathouse n00b
Joined: 28 Oct 2013 Posts: 13
|
Posted: Tue Nov 19, 2013 4:39 am Post subject: Grub issue |
|
|
I've been setting up Gentoo in a chroot, and I finally took the plunge and restarted my machine. Selecting the new entry for Gentoo, I got an error (something like 'device not found'). Fortunately I kept my old partitions and grub entries intact, so I still have an OS... just not Gentoo.
The relevant lines from the grub (v. 1, not grub2) file are
Code: | title Gentoo Linux 3.10.7-r1
uuid b891774a-0b2d-4ab4-bcfa-23a11a97cae5
kernel /boot/kernel-3.10.7-gentoo-r1 root=UUID=65a90a0d-a651-4215-8552-0c1859ab61dd |
and the uuid is correct:
Code: | > ls -l /dev/disk/by-uuid | grep 'sdb3'
lrwxrwxrwx 1 root root 10 Nov 10 18:42 65a90a0d-a651-4215-8552-0c1859ab61dd -> ../../sdb3 |
Of course the drive is present -- I've been installing software on it for a few days now. Any ideas? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Tue Nov 19, 2013 3:14 pm Post subject: |
|
|
I recently saw that root=PARTUUID=XXXX works only if your disk is setup as GPT (instead of MBR) and your kernel is set up to detect GPT partitions. Also, grub1 does not understand GPT.
I don't have much details as this is only hearsay. If you have MBR setup disk, I have been using initramfs which has traditionally been necessary to understand root=LABEL= and root=UUID= ... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
CRGreathouse n00b
Joined: 28 Oct 2013 Posts: 13
|
Posted: Tue Nov 19, 2013 10:35 pm Post subject: |
|
|
So what is the alternative to root=PARTUUID=XXXX? |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Tue Nov 19, 2013 11:09 pm Post subject: |
|
|
root=/dev/sdb3, then remove the uuid's from /etc/fstab, and replace them with the actual device. After which, go to the Grub2 for the os that works. Add a Grub2 entry to chainload the partition, which will start Grub1. After this, follow the Grub2 Migration Guide, then remove the chainload entry from your working grub _________________ The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper |
|
Back to top |
|
|
|