View previous topic :: View next topic |
Author |
Message |
mani001 Guru
Joined: 04 Dec 2004 Posts: 487 Location: Oleiros
|
Posted: Sat Nov 01, 2008 7:20 am Post subject: is it necessary an initrd to boot using grub and LABELS? |
|
|
...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 |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Sat Nov 01, 2008 8:33 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|