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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-05-2007, 01:08 PM
|
#1
|
Member
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50
Rep:
|
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.
|
|
|
02-05-2007, 01:39 PM
|
#2
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
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.
|
|
|
02-05-2007, 02:57 PM
|
#3
|
Member
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50
Original Poster
Rep:
|
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
|
|
|
02-05-2007, 03:08 PM
|
#4
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
Don't you mean downgrading to Vista?
|
|
|
02-05-2007, 03:27 PM
|
#5
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
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.
|
|
|
02-05-2007, 03:46 PM
|
#6
|
Member
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by brianL
Don't you mean downgrading to Vista?
|
Thanks, I enjoy a little flame every now and then.
|
|
|
02-05-2007, 03:50 PM
|
#7
|
Member
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50
Original Poster
Rep:
|
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?
|
|
|
02-05-2007, 03:56 PM
|
#8
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
You have to put stage2_eltorito in /boot/grub subdirectory.
The -b parameter then picks it from the specified boot/grub/stage2_eltorito
|
|
|
02-05-2007, 04:00 PM
|
#9
|
Member
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50
Original Poster
Rep:
|
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... 
|
|
|
02-05-2007, 04:02 PM
|
#10
|
Member
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50
Original Poster
Rep:
|
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
|
|
|
02-05-2007, 06:25 PM
|
#11
|
Member
Registered: Sep 2006
Distribution: openSUSE 10.2
Posts: 50
Original Poster
Rep:
|
Nevermind again, I got it working, tested it, and it works perfect! Thanks! Now I'm ready for my Vista install!
|
|
|
02-05-2007, 09:06 PM
|
#12
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
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)
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
|
|
|
02-10-2007, 11:36 AM
|
#13
|
Member
Registered: Jul 2003
Location: near Seattle
Distribution: Debian/Ubuntu/Suse
Posts: 240
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|