LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-05-2007, 12:08 PM   #1
lcaley
Member
 
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50

Rep: Reputation: 15
XP/openSUSE 10.2 dual boot upgrading to Vista


Hey everyone, I'm wanting to upgrade my XP to Vista, but I'm planning on formatting my XP partition and starting clean. My question before I do this is, what is the Vista install going to do to my boot loader? I can only assume that it isn't designed to look for a second OS on the system, so will I be able to recover grub once I do this?

Maybe I'm totally wrong and installing Vista won't change the boot in any way, but I'd like to be sure I'm not going to lose linux, as I use linux much more frequently than Windows, I'd hate to lose it.
 
Old 02-05-2007, 12:39 PM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Vista will nuke your Grub in the MBR same as a XP, so be prepared.

Before install Vista, drop a floppy into the drive and type at a terminal
Code:
sudo grub-install /dev/fd0
to save Grub on a floppy and you can continue to boot Suse with it even after Vista has been installed.

If Vista is installed over XP and inherits its partition you will found the XP booting alternative in the Grub floppy boots directly to Vista. When you are happy with it next time in Suse restore Grub back into MBR by terminal command
Code:
sudo grub-install /dev/hda
If you run a Sata then hda should be replaced by sda, assuming you run only one hard disk.

For additional helps just take a peep at the last link of my signature. You should find all the answers there.
 
Old 02-05-2007, 01:57 PM   #3
lcaley
Member
 
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50

Original Poster
Rep: Reputation: 15
awesome, thats exactly what I was worried about. I assume I can substitute a flash drive for a floppy, as long as my bios are set to boot from usb and I have the correct path, right?

Thank you so much for the reply
 
Old 02-05-2007, 02:08 PM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,963
Blog Entries: 52

Rep: Reputation: Disabled
Don't you mean downgrading to Vista?
 
Old 02-05-2007, 02:27 PM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Icaley,

In your case I recommend making a bootable Grub CD.

Just follow the Chapter 3.4 of the Grub Manual.

It requires only one file stage2_eltorito which is inside your Suse already. Just locate it by
Code:
find / -name stage2_eltorito
Burn this file into a CD according to the step of Grub Manual. It is as good as a Grub floppy and only gives you a Grub prompt.

In a Grub prompt there is no PC system Grub cannot boot! Including your Vista of course. In my experience the Grub floppy or Grub CD is the most lethal booting weapon in the business. That is all I need to boot 100+ systems in my box.

Let me know if you are ready. Most of the command how to use it is in the link in Post #2. Just treat it as a Grub floppy.

Grub doesn't boots from a USB device. So forget it at the moment.
 
Old 02-05-2007, 02:46 PM   #6
lcaley
Member
 
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by brianL
Don't you mean downgrading to Vista?
Thanks, I enjoy a little flame every now and then.
 
Old 02-05-2007, 02:50 PM   #7
lcaley
Member
 
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by saikee
Icaley,

In your case I recommend making a bootable Grub CD.

Just follow the Chapter 3.4 of the Grub Manual.

It requires only one file stage2_eltorito which is inside your Suse already. Just locate it by
Code:
find / -name stage2_eltorito
Burn this file into a CD according to the step of Grub Manual. It is as good as a Grub floppy and only gives you a Grub prompt.

In a Grub prompt there is no PC system Grub cannot boot! Including your Vista of course. In my experience the Grub floppy or Grub CD is the most lethal booting weapon in the business. That is all I need to boot 100+ systems in my box.

Let me know if you are ready. Most of the command how to use it is in the link in Post #2. Just treat it as a Grub floppy.

Grub doesn't boots from a USB device. So forget it at the moment.

Ok, everything was going well until I actually had to make the grub.iso file.
I enter the command:

Code:
mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \
         -boot-load-size 4 -boot-info-table -o grub.iso iso
and it returns:
Code:
I: -input-charset not specified, using UTF-8 (detected in locale settings)
mkisofs: No such file or directory. Invalid node - 'iso'.

Any idea what that means?
 
Old 02-05-2007, 02:56 PM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
You have to put stage2_eltorito in /boot/grub subdirectory.

The -b parameter then picks it from the specified boot/grub/stage2_eltorito
 
Old 02-05-2007, 03:00 PM   #9
lcaley
Member
 
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50

Original Poster
Rep: Reputation: 15
Oh, I'm sorry, I think I lost my brain somewhere earlier. When I logged into root, I forgot I wasn't in my home directory anymore...
 
Old 02-05-2007, 03:02 PM   #10
lcaley
Member
 
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50

Original Poster
Rep: Reputation: 15
Ok, one more dumb question, and then it seems that I'll be good to go for now... Do I have to do anything special when I burn the disc? Can I just dump the grub.iso file onto it? or do I have to burn it as an image? if so, how do I do that?

Thanks so much
 
Old 02-05-2007, 05:25 PM   #11
lcaley
Member
 
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50

Original Poster
Rep: Reputation: 15
Nevermind again, I got it working, tested it, and it works perfect! Thanks! Now I'm ready for my Vista install!
 
Old 02-05-2007, 08:06 PM   #12
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Icaley,

This is how to use the Grub CD.

Boot it up to a Grub prompt. Check the partition details of your hard disk by geometry command on 1st disk (hd0)
Code:
geometry (hd0)
The 1st partition that has ID tpe number 0x83 should be the /boot of Suse. The one with type 0x7 is a NTFS partition.

Say the partition number is 0 with ID 0x7 then you can boot XP or Vista up manually by
Code:
root (hd0,0)
chainloader +1
boot
To boot Suse, say it is in partition (2) then these two line in Grub prompt will fire it up
Code:
root (hd0,2)
configfile /boot/grub/menu.lst
 
Old 02-10-2007, 10:36 AM   #13
kmoffat
Member
 
Registered: Jul 2003
Location: near Seattle
Distribution: Debian/Ubuntu/Suse
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
lcaley, did dual-booting work out for you? My son has a toshiba laptop with vista, and wants to install and dual boot with xp.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUSE10.0 and Vista dual boot JGRetired Suse/Novell 11 02-25-2007 06:01 PM
how to dual boot vista and ubuntu? bojox Linux - Newbie 2 01-28-2007 01:10 AM
Dual-Boot: Ubuntu now, Vista Later? leiavoia Ubuntu 1 08-27-2006 09:49 PM
Vista Dual Boot Grub Problem bluelite28 Linux - General 3 07-24-2006 12:47 AM
dual boot screwed up by Vista beta Shanks Linux - Software 1 08-18-2005 08:34 PM


All times are GMT -5. The time now is 03:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration