Find the answer to your Linux question:
Results 1 to 3 of 3
Until yesterday I was running this machine dual boot with XP Pro and SUSe 10.3 What turned out to be a HD failing fragged XP Pro. SUSe is on a ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    7

    Dumb question(probably) on GRUB

    Until yesterday I was running this machine dual boot with XP Pro and SUSe 10.3 What turned out to be a HD failing fragged XP Pro. SUSe is on a second HD (both drives are SATA). I have managed to save everything relevant from the XP drive to SUSe and am ready to remove the XP drive and bury, burn or crush it.

    Problem is, Im not sure where GRUB resides. If its any help, XP was installed on the machine first. Before I installed SUSe 10.1 I added the second drive. GRUB and SUSe have always been installed using the SUSe defaults. When I try to unplug the XP drive the machine wont boot so that tells me that GRUB is on the XP drive. If my reasoning is correct I need to make the SUSe drive bootable. So I unplug the XP drive and then.......

    Any easy way to do this?? I should know since I ve used different distros for a number of years but unfortunately I dont. I assume that GRUB will need to be installed on the SUSe drive or.......

    I did a forum search before posting this and didnt find anything that directly addresses this situation. Any recommendations would be deeply appreciated.

    Thanks for your interest and the excellent forum.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    You are right. Grub has been installed in XP disk right now and you have to install it in SuSe disk. You have to edit /etc/fstab and /boot/grub/menu.lst files before re-installing GRUB.
    Post contents of both files here.
    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
    Nov 2008
    Posts
    7
    Thanks very much for the reply DC.

    fstab is

    /dev/disk/by-id/scsi-SATA_ST3120026AS_3LJ3DREM-part5 / ext3 acl,user_xattr 1 1
    /dev/disk/by-id/scsi-SATA_ST3120026AS_3LJ3DREM-part6 /home ext3 acl,user_xattr 1 2
    /dev/disk/by-id/scsi-SATA_ST3120827AS_5MS0LZWW-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.U TF-8 0 0
    /dev/disk/by-id/scsi-SATA_ST3120026AS_3LJ3DREM-part1 swap swap defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0


    And menu.lst is


    # Modified by YaST2. Last modification on Mon Oct 27 22:42:59 CDT 2008
    default 0
    timeout 8
    gfxmenu (hd1,4)/boot/message

    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title openSUSE 10.3 - 2.6.22.19-0.1
    root (hd1,4)
    kernel /boot/vmlinuz-2.6.22.19-0.1-default root=/dev/disk/by-id/scsi-SATA_ST3120026AS_3LJ3DREM-part5 vga=0x31a resume=/dev/sdb1 splash=silent showopts
    initrd /boot/initrd-2.6.22.19-0.1-default

    ###Don't change this comment - YaST2 identifier: Original name: failsafe###
    title Failsafe -- openSUSE 10.3 - 2.6.22.19-0.1
    root (hd1,4)
    kernel /boot/vmlinuz-2.6.22.19-0.1-default root=/dev/disk/by-id/scsi-SATA_ST3120026AS_3LJ3DREM-part5 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
    initrd /boot/initrd-2.6.22.19-0.1-default

    ###Don't change this comment - YaST2 identifier: Original name: openSUSE 10.2 - 2.6.18.8-0.7 (/dev/sdb2)###
    title openSUSE 10.2 - 2.6.18.8-0.7 (/dev/sdb2)
    "menu.lst" 26L, 1180C 1,1 Top


    Thaks very much for the interest. As I said earlier I feel that I should know this from the number of years I have used Linux and more particularly SUSe.

    Carr

Posting Permissions

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