I am having some difficulty adding a 2nd Linux (Slackware) to grub in SuSE 9.0 It is on hda4 and using Yast2 should I be able to mount it as / ? but it seems I can't because SuSe is already /. How can I get hda4 (Linux Native) to be mounted and show up at boot. Thanks
On Monday 05 April 2004 5:42 pm, Thom Nuzum wrote:
I am having some difficulty adding a 2nd Linux (Slackware) to grub in SuSE 9.0 It is on hda4 and using Yast2 should I be able to mount it as / ? but it seems I can't because SuSe is already /. How can I get hda4 (Linux Native) to be mounted and show up at boot.
Thanks
Who owns your GRUB? I assume SUSE. Therefore most straightforward to work from SUSE. Understand the GRUB config. files first - <info grub> will help you. I don't always succeed with YOU on configuring GRUB, if YOU doesn't work then you can do it manually by editing /boot/grub/menu.lst. Copy the whole block for your SUSE boot and edit for slackware [ I have very little idea what is required, but I imagine you need a kernel, which will need a root and you will need an initrd] The / directory exists at boot and the kernel attaches the device it is told. Just because a particular device is mounted as / now should not prevent you specifying another device for a GRUB entry hth Vince Littler
On 5/4/2004 17:42, Thom Nuzum wrote:
I am having some difficulty adding a 2nd Linux (Slackware) to grub in SuSE 9.0 It is on hda4 and using Yast2 should I be able to mount it as / ? but it seems I can't because SuSe is already /. How can I get hda4 (Linux Native) to be mounted and show up at boot.
Thanks
In /boot/grub/menu.list (on your SuSE installation), put :- title Slackware kernel (hd0,3)/boot/vmlinuz That's basically it. You may, of course add options like vga=0xnnn, hdc=ide-scsi, etc, etc. -- Vic Ayres
On Monday 05 April 2004 12:42 pm, Thom Nuzum wrote:
I am having some difficulty adding a 2nd Linux (Slackware) to grub in SuSE 9.0 It is on hda4 and using Yast2 should I be able to mount it as / ? but it seems I can't because SuSe is already /. How can I get hda4 (Linux Native) to be mounted and show up at boot.
Thanks
I've never used YAST to work with grub.... The easiest by far method is to just edit your /boot/grub/menu.lst. 1) Copy your current boot entry... 2) Make the changes needed to that entry (label, root, etc) for the new partition. (be advised that grub works relative to zero... so if your / partition for Slackware is on hda4, you would reference it as hd(0,3) in the menu.lst. That means 'first disk, 3rd partition from zero' = hda4. I know YAST should be able to do it... but you'd be far better off to learn some grub. Comes in handy when you want to try out new kernels and yet keep your current kernel bootable in case of a farkle. -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 04/06/04 08:08 + +----------------------------------------------------------------------------+ "Farming looks easy when your plow is a pencil and you're a thousand miles from a cornfield." - Dwight D. Eisenhower
Thanks Bruce. It seems the reference to zero was what I was missing too. On Tuesday 06 April 2004 08:11, Bruce Marshall wrote:
On Monday 05 April 2004 12:42 pm, Thom Nuzum wrote:
I am having some difficulty adding a 2nd Linux (Slackware) to grub in SuSE 9.0 It is on hda4 and using Yast2 should I be able to mount it as / ? but it seems I can't because SuSe is already /. How can I get hda4 (Linux Native) to be mounted and show up at boot.
Thanks
I've never used YAST to work with grub.... The easiest by far method is to just edit your /boot/grub/menu.lst.
1) Copy your current boot entry... 2) Make the changes needed to that entry (label, root, etc) for the new partition. (be advised that grub works relative to zero... so if your / partition for Slackware is on hda4, you would reference it as hd(0,3) in the menu.lst. That means 'first disk, 3rd partition from zero' = hda4.
I know YAST should be able to do it... but you'd be far better off to learn some grub. Comes in handy when you want to try out new kernels and yet keep your current kernel bootable in case of a farkle.
-- +-------------------------------------------------------------------------- --+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 04/06/04 08:08 + +-------------------------------------------------------------------------- --+ "Farming looks easy when your plow is a pencil and you're a thousand miles from a cornfield." - Dwight D. Eisenhower
participants (4)
-
Bruce Marshall
-
Thom Nuzum
-
Vic Ayres
-
Vince Littler