Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
CRGreathouse
n00b
n00b


Joined: 28 Oct 2013
Posts: 13

PostPosted: Tue Nov 19, 2013 4:39 am    Post subject: Grub issue Reply with quote

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
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3948
Location: USA

PostPosted: Tue Nov 19, 2013 3:14 pm    Post subject: Reply with quote

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@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
CRGreathouse
n00b
n00b


Joined: 28 Oct 2013
Posts: 13

PostPosted: Tue Nov 19, 2013 10:35 pm    Post subject: Reply with quote

So what is the alternative to root=PARTUUID=XXXX? :oops:
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1411

PostPosted: Tue Nov 19, 2013 11:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum