Re: Grub

From: Tim (tim_at_mail.localhost.invalid)
Date: 07/10/05


Date: Sun, 10 Jul 2005 18:24:43 +0930

On Sat, 9 Jul 2005 07:47:04 -0400,
"Tajin" <getedoli@golden.net> posted:

> Grub screen shows Windows as only option to boot up, it shows GRUB VERSION
> 0.95
> when I go to edit Windows it gives me
>
> rootnoverify (hd0,0)
> chainloader +1
>
> I have e for edit c for command o/O for open and d for remove.

You can (temporarily) edit that (it won't change the files on disc, just
what it's going to use as you boot, now). Or you can go to a command line
interface in GRUB and just type in commands anew.

> I have two 40 Gig HD primary is for Windows 2000, 2nd one for Linux, is hda
> for primary correct?, my files shows vmlinuz-2.6.11-1.35-FC3 as Kernel

All things being equal, the primary master drive is /dev/hda and primary
slave is /dev/hdb, then secondary master is /dev/hdc and secondary slave is
/dev/hdc. If both drives are on the same port, your Linux drive is
/dev/hdb. But if it's on the next IDE port, it's /dev/hdc.

GRUB doesn't use /dev/hda style of naming, it uses HD0 - HD4 etc. Counting
the drives that it can find. Zero being the first drive, one being the
next. So, I'd say your root is probably (hd1,0).

The kernel uses /dev/hda style of naming, and yours might need a
root=/dev/hdb3 where mine's got VolGroup entries. Note that this is the
*system* root (/), not the GRUB root (where it boots from). That could be
on any partition. Mine happens to be on hdb3, on one of my systems. It
depends on how many partitions are being used, and what order.

I'd expect your grub.conf file to need to be something like the following,
seeing how the default method for Fedora seems to use Volume Groups:

title Linux
        root (hd1,0)
        kernel vmlinuz-2.6.11-1.35-FC3 ro root=/dev/VolGroup00/LogVol00
        initrd vmlinuz-2.6.11-1.35-FC3.img

-- 
If you insist on e-mailing me, use the reply-to address (it's real but
temporary).  But please reply to the group, like you're supposed to.
This message was sent without a virus, please delete some files yourself.


Relevant Pages

  • Re: mounting issues
    ... Are you saying to set the setgid (using chown) to a non root group? ... has sudo permissions to mount drives, but to change the ownership, I ... for a normal user to use the chown command. ...
    (comp.os.linux.misc)
  • Re: mounting issues
    ... Are you saying to set the setgid (using chown) to a non root group? ... has sudo permissions to mount drives, but to change the ownership, I ... for a normal user to use the chown command. ...
    (comp.os.linux.misc)
  • Re: edit text files as root
    ... In Ubuntu one can edit the text files as root using the "Edit as Root" ... But that is from command line. ... But to edit ~/file.txt I do not need root permissions. ...
    (Debian-User)
  • Re: Successful install of Fedora7 in VPC2007 guest
    ... Then I used nano to edit grub.conf. ... trying the text editor again (now with root in the command window) but ... the command window is only valid inside the command window itself. ... Is there a way to start the text editor as root???? ...
    (Fedora)
  • Re: Troubleshooting mirrorin
    ... I checked everything at looks like the root is d0 and not d30. ... I tried to open vi and edit the /etc/vfstab file, ... Use the "metastat" command to verify which metadevice should be ...
    (comp.unix.solaris)