Find the answer to your Linux question:
Results 1 to 4 of 4
I am having problem with grub. I have opensuse 10.3 installed in a 40 GB hard disk and winxp in a SATA hard drive which is 80 GB. While installing ...
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    13

    [SOLVED] Grub

    I am having problem with grub. I have opensuse 10.3 installed in a 40 GB hard disk and winxp in a SATA hard drive which is 80 GB. While installing linux I kept the windows HD open, as I faced some problem earlier with grub with both the hard disks connected. Now I want to make entry of the windows disk in grub. I tried to edit the menu.list file manually but without result. I think I am having problem in making out the sequence of hard disks. How do I know the sequence of hard disks as grub sees it....i.e. which will be called hd0, which will be called hd1 etc.

    sukalyan_g

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Boot up SuSe and execute fdisk -l command. Post output here.
    Code:
    su -
    /sbin/fdisk -l
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Posts
    13

    Grub problem - output of fdisk -l

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xf38ef38e

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 5099 40957686 7 HPFS/NTFS
    /dev/sda2 5100 19456 115322602+ f W95 Ext'd (LBA)
    /dev/sda5 5100 10198 40957686 7 HPFS/NTFS
    /dev/sda6 10199 15297 40957686 7 HPFS/NTFS
    /dev/sda7 15298 19456 33407136 7 HPFS/NTFS

    Disk /dev/sdb: 40.0 GB, 40020664320 bytes
    255 heads, 63 sectors/track, 4865 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0004e147

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 84 674698+ 82 Linux swap / Solaris
    /dev/sdb2 * 85 2004 15422400 83 Linux
    /dev/sdb3 2005 4865 22980982+ 83 Linux

  4. #4
    Linux User
    Join Date
    Dec 2007
    Location
    Idaho USA
    Posts
    351
    /dev/sda =hd0
    /dev/sdb =hd1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...