LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Grub parameters....??? (https://www.linuxquestions.org/questions/linux-general-1/grub-parameters-158891/)

avols143 03-17-2004 07:18 AM

Grub parameters....???
 
Hello, I m using Fedora Linux but I am not satisfied with Fedora. I heard much more about Slackware Linux, so I installed Slackware too. At /dev/hda8 I have Fedora linux and at /dev/hda10 have I installed Slackware linux...
And /dev/hda7 is Swap and /dev/hda9 is boot.
# fdisk -l
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2550 20482843+ c Win95 FAT32 (LBA)
/dev/hda2 2551 9964 59552955 f Win95 Ext'd (LBA)
/dev/hda5 2551 5738 25607578+ b Win95 FAT32
/dev/hda6 5739 8543 22531131 b Win95 FAT32
/dev/hda7 8544 8608 522081 82 Linux swap
/dev/hda8 8609 9568 7711168+ 83 Linux
/dev/hda9 9569 9581 104391 83 Linux
/dev/hda10 9582 9964 3076416 83 Linux

I configured my grub.conf file like this
# cat grub.conf
# grub.conf generated by anaconda
#boot=/dev/hda
default=1
timeout=5
plashimage=(hd0,7)/boot/grub/splash.xpm.gz
title Fedora Linux Core 1
root (hd0,7)
kernel /boot/vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdd=ide-scsi rhgb
initrd /boot/initrd-2.4.22-1.2115.nptl.img
title Slackware Linux
root(hd0,9)
kernel /boot/vmlinuz ro
title WindowsXp Home Edition
rootnoverify (hd0,0)
chainloader +1

Now, the problem is that I can't boot Slackware from Grub booting menu. The following error apears " Such partition not exist" press any key to reboot...
But I have Slackware booting floppy too, so I can boot Slackware with this floppy but not from booting prompt.

Q:1. Can I configure correct parameters, if yes how?????
Q:2. Can I use same Swap partition & Boot partition to both Fedora and Slackware linux.

Thank you all.....

aaa 03-17-2004 10:46 AM

Add 'root=/dev/hda10' to the Slack line.

Swap & boot are shareable. However, /boot will be tricky. First, grub paths are relative to the partition:
#your slack kernel before (basically the same you had)
kernel (hd0,9)/boot/vmlinuz
#with Slack using a /boot partition, hda9:
kernel (hd0,8)/vmlinuz

Note that 'boot' is no longer in the path. Also, keep the distros' files seperate. The two distros will have problems with each others default configuration for the kernel.

avols143 03-19-2004 09:35 AM

Hello... aaa
 
Its means I have to make separate /boot partition for Slackware, and Swap too?????

aaa 03-19-2004 10:12 AM

No, they can both use the same /boot and swap. Sharing swap will be very easy. However you will have to change a few things to make a shared /boot work. If you don't what to share the /boot, you don't have to make a new /boot for Slack.


All times are GMT -5. The time now is 06:46 PM.