Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
folks i have installed 3 OS on my machine giving me tri boot option.. 1. windows 2. SLES (SuSE Linux Enterprize Server ) 3.opneSUSE Now i want to deinstall SLES, ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    34

    Tri boot to dual boot

    folks i have installed 3 OS on my machine giving me tri boot option..

    1. windows
    2. SLES (SuSE Linux Enterprize Server )
    3.opneSUSE

    Now i want to deinstall SLES, so that i should give me a dual boot asking for openSUSE and Windows.If i deinstall SLES, that will remove the Grub as well.. Can any one tell how to do that?? plz tell me comprehensively coz i will not be prehaps backing up my data...

    Regards!

  2. #2
    Just Joined!
    Join Date
    Feb 2008
    Posts
    34
    one thing i forgot to mention is that "Is it possible to allocate the space of SLES to openSUSE?? if yes then how?


    Regards!

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Which Distro's GRUB are you using right now?
    Its very easy to remove any OS and allocate its space to other OS.
    Boot up OpenSuSe, log in as root and execute this
    Code:
    fdisk -l
    Post output here. Post the contents of /etc/fstab file too.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined!
    Join Date
    Feb 2008
    Posts
    34
    i am using open Suse

    Here is the output of fdisk -l

    Disk /dev/sda: 100.0 GB, 100030242816 bytes
    255 heads, 63 sectors/track, 12161 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xb622b622

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 3187 25599546 7 HPFS/NTFS
    /dev/sda2 3188 12160 72075622+ f W95 Ext'd (LBA)
    /dev/sda5 3188 6374 25599546 b W95 FAT32
    /dev/sda6 6375 10198 30716248+ b W95 FAT32
    /dev/sda7 10199 10851 5245191 83 Linux
    /dev/sda8 10852 11896 8393931 83 Linux
    /dev/sda9 11897 12027 1052226 82 Linux swap / Solaris


    and the output of /etc/fstab is

    /dev/disk/by-id/scsi-SATA_FUJITSU_MHV2100NW9YT6A2EHKP-part8 / ext3 acl,user_xattr 1 1
    /dev/disk/by-id/scsi-SATA_FUJITSU_MHV2100NW9YT6A2EHKP-part9 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
    /dev/disk/by-id/scsi-SATA_FUJITSU_MHV2100NW9YT6A2EHKP-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_FUJITSU_MHV2100NW9YT6A2EHKP-part6 /windows/Documents vfat users,gid=users,umask=0002,utf8=true 0 0
    /dev/disk/by-id/scsi-SATA_FUJITSU_MHV2100NW9YT6A2EHKP-part5 /windows/Others vfat users,gid=users,umask=0002,utf8=true 0 0


    Regards!

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Which partition has OpenSuSe? /dev/sda7 or /dev/sda8?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined!
    Join Date
    Feb 2008
    Posts
    34
    open suse is on /dev/sda8

    i want to remove SLES which is on /dev/sda7

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Ok ! You have to edit /etc/fstab and /boot/grub/menu.lst files.

    Boot up OpenSuSe and post the contents of /boot/grub/menu.lst file.

    Download PartedMagic LiveCD. You will need it to merge partitions.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Just Joined!
    Join Date
    Feb 2008
    Posts
    34
    i got the PartedMagic Live CD.. and here is my menu,lst file of openSUSE

    # Modified by YaST2. Last modification on Sun Mar 9 01:45:02 UTC 2008
    default 0
    timeout 8
    gfxmenu (hd0,7)/boot/message

    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title openSUSE 10.3
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/disk/by-id/scsi-SATA_FUJITSU_MHV2100NW9YT6A2EHKP-part8 vga=0x314 resume=/dev/sda9 splash=silent showopts
    initrd /boot/initrd-2.6.22.5-31-default

    ###Don't change this comment - YaST2 identifier: Original name: SUSE Linux Enterprise Server 10 (/dev/sda7)###
    title SUSE Linux Enterprise Server 10 (/dev/sda7)
    rootnoverify (hd0,6)
    chainloader +1

    ###Don't change this comment - YaST2 identifier: Original name: windows###
    title Windows
    rootnoverify (hd0,7)
    chainloader (hd0,0)+1

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

  9. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Back up data before changing partition structure.

    Edit /etc/fstab. Replace these lines:
    Code:
    /dev/disk/by-id/scsi-SATA_FUJITSU_MHV2100NW9YT6A2EHKP-part8 /                    ext3       acl,user_xattr        1 1
    /dev/disk/by-id/scsi-SATA_FUJITSU_MHV2100NW9YT6A2EHKP-part9 swap                 swap       defaults              0 0
    with these
    Code:
    /dev/sda7 /                    ext3       acl,user_xattr        1 1
    /dev/sda8 swap                 swap       defaults              0 0
    Edit menu.lst :
    Code:
    gfxmenu (hd0,6)/boot/message
     
    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title openSUSE 10.3
        root (hd0,6)
        kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/sda7 vga=0x314 resume=/dev/sda8 splash=silent showopts
        initrd /boot/initrd-2.6.22.5-31-default
    Does Windows OS boot up fine?
    This is incorrect code for Windows OS in menu.lst file.
    Code:
    title Windows
        rootnoverify (hd0,7)
        chainloader (hd0,0)+1
    Anyways, edit both files and boot up from PartedMagic LiveCD. Delete /dev/sda7 partition and merge space in /dev/sda8. /dev/sda8 and 9 will become /dev/sda7 and 8 respectively. Reboot machine.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #10
    Just Joined!
    Join Date
    Feb 2008
    Posts
    34
    Hey man

    Thanks first of all for ur replies

    I wanted to tell u one thing .. i cant make backup of my data as that is huge!! and i dont have any means to save it.. So should i trust ur method??

Page 1 of 2 1 2 LastLast

Posting Permissions

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