LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-18-2005, 11:22 PM   #1
RJEmery
Member
 
Registered: Jul 2003
Distribution: FC3/GNOME, Slack 10.1
Posts: 31

Rep: Reputation: 15
GRUB Directives for Slackware 10.1


Slackware 10.1 installs on option LILO. FC3 installs on option GRUB. I am using GRUB 0.95 to boot my various W98 and Linux systems.

For Slackware 10.1 and FC3, I am using the following GRUB directives. I wish to know if the ones for Slack are complete, as I developed them by trial and error. Those for FC3 are complete, as they were generated by the FC3 install process:

title Slack 10.1 (2.4.29)
root (hd0,8)
kernel /boot/vmlinuz-ide-2.4.29 ro root=/dev/hda9
initrd /root/.xinitrc
title Fedora Core 3 (2.6.9-1.667)
root (hd0,10)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-1.667.img
 
Old 04-18-2005, 11:40 PM   #2
s_deepak_123
Member
 
Registered: Oct 2004
Location: Mysore, India
Distribution: Fedora Core 1, Xandros desktop OS 2
Posts: 54

Rep: Reputation: 15
Slackware by default, doesnt have an initrd.
The file you are telling (/root/.xiniitrc) is the file which selects the desktop to be loaded when you type startx.
So, in the grub.conf file, you don't need the initrd line for the slack.
 
Old 04-18-2005, 11:49 PM   #3
RJEmery
Member
 
Registered: Jul 2003
Distribution: FC3/GNOME, Slack 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
I definitely need an "init=" parameter somewhere, else the Slack boot bombs. The error messages I got before adding the initrd directive were:

Warning: unable to open an initial console.
Kernel panic: No init found. Try passing init= option to kernel.
 
Old 04-19-2005, 12:05 AM   #4
s_deepak_123
Member
 
Registered: Oct 2004
Location: Mysore, India
Distribution: Fedora Core 1, Xandros desktop OS 2
Posts: 54

Rep: Reputation: 15
What message did you get when you had the line initrd?
 
Old 04-19-2005, 12:10 AM   #5
RJEmery
Member
 
Registered: Jul 2003
Distribution: FC3/GNOME, Slack 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
No error with the initrd directive.

As far I can determine, with the initrd directive, the system boots correctly. I at least get the darkstar login prompt and can login as root.

I just find it incredible that I would have stumbled upon the solution all by myself. I still feel I may be missing something.
 
Old 04-19-2005, 12:15 AM   #6
s_deepak_123
Member
 
Registered: Oct 2004
Location: Mysore, India
Distribution: Fedora Core 1, Xandros desktop OS 2
Posts: 54

Rep: Reputation: 15
As far as I know, .xinitrc is the file which stores the scripts necessary to start the default desktop of the user.
I don't know how can this file be the initial ram disk.
I think there is an option like noinitrd in the grub. Try it if it is available(I'm not sure).
 
Old 04-19-2005, 08:57 PM   #7
RJEmery
Member
 
Registered: Jul 2003
Distribution: FC3/GNOME, Slack 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
s_deepak,

You were correct. By appending a 'noinitrd' flag at the end of the kernel directive, the Slack boot worked as it should. More specifically, my GRUB directives became:

title Slack10.1
root (hd0,8)
kernel /boot/vmlinuz-ide-2.4.29 ro root=/dev/hda9 noinitrd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
about some directives used in c wangjinyi Programming 1 11-22-2005 07:16 AM
GRUB directives for Slack 10.1 RJEmery Linux - Distributions 4 04-20-2005 02:03 AM
GRUB Directives for Booting W98 Systems RJEmery Linux - Newbie 2 04-19-2005 09:29 AM
Apache 1.3 configuration directives calissal Linux - Software 0 09-08-2003 02:47 PM
Apache 1.3 Configuration Directives Found calissal Linux - General 4 09-08-2003 09:47 AM


All times are GMT -5. The time now is 09:10 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration