Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
is it necessary an initrd to boot using grub and LABELS?
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
mani001
Guru
Guru


Joined: 04 Dec 2004
Posts: 487
Location: Oleiros

PostPosted: Sat Nov 01, 2008 7:20 am    Post subject: is it necessary an initrd to boot using grub and LABELS? Reply with quote

...I'm just wondering because I have a working system with labeled partitions and everything is working fine. However, I'm buying a new hard disk and I wanted to make sure that grub keeps finding the kernel image when I add the new drive. I read some posts and it seems that for grub to work with label you need this initrd (or initramfs) thing...which I never cared about. Right now my grub.conf section for booting gentoo is just:

# For booting GNU/Linux
title Gentoo
root (hd0,4)
kernel /boot/bzImage root=/dev/sda5

So, does anyone have grub set up only knowing the label of the partition where the kernel image is...without using initrd?

Regards.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Sat Nov 01, 2008 8:33 am    Post subject: Reply with quote

As long as the old drive remains the first drive (ie master, or first SATA port) in the system, grub shouldn't notice any change in the least. The only thing you'd have to do is use /etc/fstab to mount the drive to a mount point on the main drive...and you technically wouldn't have to do that if you don't want that new hard drive to be mounted automatically.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
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