LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-17-2004, 07:18 AM   #1
avols143
Member
 
Registered: Jan 2004
Location: Oslo, Norway
Posts: 57

Rep: Reputation: 15
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.....
 
Old 03-17-2004, 10:46 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
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.
 
Old 03-19-2004, 09:35 AM   #3
avols143
Member
 
Registered: Jan 2004
Location: Oslo, Norway
Posts: 57

Original Poster
Rep: Reputation: 15
Hello... aaa

Its means I have to make separate /boot partition for Slackware, and Swap too?????
 
Old 03-19-2004, 10:12 AM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub / explanation of the kernel (vmlinuz) parameters picticpic Linux - Software 1 08-26-2005 05:55 AM
many parameters... os2 Programming 3 07-30-2005 04:56 PM
using ld parameters artur Programming 4 02-13-2004 02:27 PM
SCSI Parameters Pb Tuxy28 Linux - Software 0 10-17-2003 06:31 PM
boot parameters in GRUB jvmbmc Linux - Newbie 2 06-04-2002 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration