LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-10-2004, 07:53 PM   #1
herkdrvr
Member
 
Registered: Aug 2004
Posts: 31

Rep: Reputation: 15
Dashes in Grub.conf


All,

I'd like to interpret how the following gets executed:

root (hd1,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd1,1)/boot/grub/menu.lst
quit

The way I read this is:

1) My computer is told where root is
2) Then it ignores the --stage 2 portion
3) Then it goes to /boot/grub/stage1 which, according to the SuSE site, just points it to stage2, which
4) Then loads my boot menu.

Some questions:

What does the "--" do? Does the computer ignore lines starting with "--"
After the stage1 line, what does the "d" pertain to?
What does 0x8000 mean?

Thank you for your help!
 
Old 10-11-2004, 08:15 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
grub just accept POSIX compliant parameters. it will correctly interpret it as an intruction to run with the grub install command
 
Old 10-12-2004, 09:33 AM   #3
herkdrvr
Member
 
Registered: Aug 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Chris,

Thank you for your response. However, as a newbie, your message was Greek to me. Can you explain in newbie terms?
 
  


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
nano -w /boot/grub/grub.conf Tbagz Linux - Newbie 2 10-31-2005 07:42 PM
Typing em dashes? culturejam Linux - General 1 12-13-2004 11:11 AM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 09:22 PM
commands work with interactive grub, but not in grub.conf richardg Linux - Newbie 2 11-23-2003 05:36 AM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:37 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