Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 52

Thread: Suse 11 XP dual boot

  1. #11
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Suse 11 XP dual boot

    Thanks that's great. So let me ask: would you be happy to put windows on sda5 (/windata)? I think you said earlier that would be OK?

    I propose you transfer all the data from sda1 (/boot) across to sda2 (/root -- into a new directory called /boot). Then you can format sda1 back to fat32 or ntfs (whatever, just so long as windows can read it). and then you install windows on sda5. That will overwrite the Grub bootloader currently in the Master Boot Record. Then you would reinstall Grub to the Master Boot Record.

    If you like that idea we would proceed quite slowly, one item at a time.

    Do you want to do that?
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  2. #12
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Suse 11 XP dual boot

    @mingus725 -- I have not previously personally transferred a separate /boot partition's files across to a directory /boot on the root partition. Do you see any problem with that plan or have you any suggestions in addition to it.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  3. #13

    Default Re: Suse 11 XP dual boot

    Swerdna, thanks for helping me out with this. Moving the data from and formatting sda1 and installing XP on sda5 sound like a good plan. Once I move /boot to sda2 will I still be able to boot or will I need to complete the XP installation before I can get back to Suse?

  4. #14

    Default Re: Suse 11 XP dual boot

    I have created a new folder /boot_new and copied everything from /boot. I also relocated all of the data from sda5 so it is empty.

    If I format sda5 as ntfs, will I bee able to read/write to that drive from Suse?

  5. #15
    Join Date
    Jun 2008
    Location
    Atlanta, Georgia, USA
    Posts
    2,429

    Default Re: Suse 11 XP dual boot

    @swerdna & @roguedog -

    Important thing is to insure the permissions remain intact (the command "cp -a" will do that). If the files have already been copied to /boot_new, then the sda1 partition needs to be dismounted, the files in /boot_new copied to /boot, and then /boot_new can be deleted. The mounting of sda1 needs to be removed from /etc/fstab; with the changes below, all needs to done together before rebooting.

    The tricky detail is that the grub syntax in menu.lst and its installation was different with /boot on its own partition. So, if there is a root line in the boot stanza in /boot/grub/menu.lst it needs to be changed from "root (hd0,0)" to "root (hd0,1)"; if there is no root line and the (hd0,0) is on the kernel and initrd lines, change it there. Then the kernel line will need to have "/boot" inserted before the kernel file name, i.e., from "kernel /vmlinux . . ." to "kernel /boot/vmlinux . . .", and on the initrd line from "initrd /initrd . . ." to "initrd /boot/initrd . . ." Then grub needs to be reinstalled to the MBR. These changes can be made thru the YaST Boot Loader gui, or if the changes are made beforehand in a text editor, then YaST will pick those up when it starts. Then grub needs to be reinstalled to the MBR straightaway because currently it has a pointer to sda1 when it needs to be sda2. Alternatively, the generic boot code could be written to the MBR and the bootable (active) flag set for sda2. Either way, the grub now in the MBR needs to be overwritten before rebooting.

    @swerdna, I assume you plan to address installing XP on separate system and boot volumes? . . .

    @roguedog, yes you will be able to read/write from openSUSE to the XP partition.

  6. #16
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Suse 11 XP dual boot

    Quote Originally Posted by roguedog View Post
    I have created a new folder /boot_new and copied everything from /boot. I also relocated all of the data from sda5 so it is empty.

    If I format sda5 as ntfs, will I bee able to read/write to that drive from Suse?
    I emphasize that all the files includng the hidden ffiles plus the permissions and ownership in the separate partition /boot should cross to /boot_new on the root partition.

    If you aren't sure of that, do it again using the form (as root -- su to root):
    cp -a /boot/* /boot_new/
    Once you unmount /boot you rename the directory /boot_new to /boot.

    Then reinitialize menu.lst in Yast --> bootloader --> Other --> propose new configuration (plus under the "Boot Loader Installation" Tab put the X in the Master Boot Records option). I think that method will take care of al the stuff mingus725 mentioned in this paragraph:
    The tricky detail is that the grub syntax in menu.lst and its installation was different with /boot on its own partition. So, if there is a root line in the boot stanza in /boot/grub/menu.lst it needs to be changed ............ Then grub needs ............ Either way, the grub now in the MBR needs to be overwritten before rebooting.
    Then you reboot to Suse. Once that's working OK you don't straight away install windows. First you use the Yast partitioner to format the partition sda1 to fat32. And you check that sda1 still has the active flag set to mark it as the active partition for the drive. You can check that through the command fdisk -l (as root) where you should still see the asterisk on sda1.

    When that's done you're ready for windows. Tell us when you're that far along.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  7. #17
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Suse 11 XP dual boot

    PS I said the above in the belief you installed Suse fromn the installation DVD which has tools to fix the bootloader should something go wrong. Do you have the Suse installation DVD?
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  8. #18

    Default Re: Suse 11 XP dual boot

    I now have a shiny new /boot folder on sda2. sda1 has been formatted to FAT32, sda5 has been resized to make room for sda8 which is where XP will be installed. sda8 has also been formatted to FAT32.

    I did come across something strange. Before renaming /boot_new to /boot, I renamed /boot to /boot_old (just in case). I then rebooted and everything went well so I unmounted /boot_old and set it not to mount on start up. Rebooted again with good results so I formatted sda1 which had /boot_old on it. /boot_old no longer exists, but is still listed in my file browser. The folder is empty and it doesn't seem to be causing any problems. I tried to delete it (move to trash) but, it shows up again after reboot.

  9. #19

    Default Re: Suse 11 XP dual boot

    Forgot to mention...Yes, I do have the Suse installation DVD.

  10. #20
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Suse 11 XP dual boot

    Quote Originally Posted by roguedog View Post
    I now have a shiny new /boot folder on sda2. sda1 has been formatted to FAT32, sda5 has been resized to make room for sda8 which is where XP will be installed. sda8 has also been formatted to FAT32.

    I did come across something strange. Before renaming /boot_new to /boot, I renamed /boot to /boot_old (just in case). I then rebooted and everything went well so I unmounted /boot_old and set it not to mount on start up. Rebooted again with good results so I formatted sda1 which had /boot_old on it. /boot_old no longer exists, but is still listed in my file browser. The folder is empty and it doesn't seem to be causing any problems. I tried to delete it (move to trash) but, it shows up again after reboot.
    The origin and destination of /boot_old is too hard for me to track mentally. Just check it's not a mount for a mounted partition (probably not). Look in Yast partitioner to be sure. If it is there, then unmount it permanently in Yast partitioner. Once it's not a mount point use this command to delete it:
    sudo rm -R /boot_old

    OK you can boot to Suse and the partitions have been prepared, sda1 and sda8. Boot off your windows install cd and install windows. I get a bit wary of fat32 partitions made in Linux. I'd re-format them if you can with the windows partitioner (preferably to ntfs) just before or as part of the installation.

    You can easily mount ntfs read/write in Linux, later.

    Suse's boot code in the Master Boot Record will be overwritten and you will only be able to boot to windows after it is installed, but fix that later.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

Page 2 of 6 FirstFirst 1234 ... 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
  •