Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]grub1: boot kernel with root=UUID= without initramfs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3942
Location: Hamburg

PostPosted: Tue Jul 03, 2012 7:26 pm    Post subject: [solved]grub1: boot kernel with root=UUID= without initramfs Reply with quote

doesn't work here. My grub.conf - first entry works, 2nd not:
Code:
title Linux
root (hd0,0)
kernel /vmlinuz-3.5.0-rc5                    root=/dev/sdb3 rootfstype=ext4 reboot=pci resume=/dev/sdb2 init 2 rootdelay=5


title Linux by uuid
root (hd0,0)
kernel /vmlinuz-3.5.0-rc5                    root=UUID=58299f09-3693-4b35-986f-ebab4873fc05 rootfstype=ext4 reboot=pci resume=UUID=f5a92c8d-b86a-404f-b426-2016770ae4be init 2 rootdelay=5
If I use an initramfs however then the UUID=... line works, otherwise it seems that the uuid numbering is not (yet) working in the kernel : http://ompldr.org/vZW1rag
Is this expected ?


Last edited by toralf on Tue Jul 03, 2012 7:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Tue Jul 03, 2012 7:31 pm    Post subject: Reply with quote

It's expected yes. It's not possible to have this work without an initramfs.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3942
Location: Hamburg

PostPosted: Tue Jul 03, 2012 7:38 pm    Post subject: Reply with quote

Thx
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3942
Location: Hamburg

PostPosted: Wed Jul 04, 2012 1:01 pm    Post subject: Reply with quote

Due to the udev dependency ?
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Wed Jul 04, 2012 1:18 pm    Post subject: Reply with quote

Udev has nothing to do with this, it's been like that since before udev even existed.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3942
Location: Hamburg

PostPosted: Wed Jul 04, 2012 1:39 pm    Post subject: Reply with quote

Gusar wrote:
Udev has nothing to do with this, it's been like that since before udev even existed.
Well, it came just into my mind while looking at the screen shot - the uuids of the partitions are zero'd so I though, that's udevs fault - but right, the issue appears long before udev
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Wed Jul 04, 2012 2:06 pm    Post subject: Reply with quote

Your problem is that you're seeing this as an "issue". There's no issue. It's simply how the system works. For the low-end details, I'm sure google has the answers. I'd need to google myself to refresh my memory on this stuff.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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