Dual Boot issue with Suse and XP - Vista boot hangs
Linux - SoftwareThis 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.
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.
Dual Boot issue with Suse and XP - Vista boot hangs
I installed Vista on top of SUSe install and had to reinstall GRUB using SUSE dvd. Only becuase I need it to run Rosetta Stone among other intensive apps that don't seem to play well with WINE.
I can now boot fine into SUSE.
I added the following code to grub/menu.lst
Code:
###Don't change this comment - YaST2 identifier: Original name: windows sda8###
title Vista
rootnoverify (hd0,7)
chainloader +1
as my windows partition is the 8th partition, yes here is the output from fdisk -l
Code:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 7 56196 de Dell Utility
/dev/sda2 8 29958 240581407+ f W95 Ext'd (LBA)
/dev/sda3 29959 30393 3494137+ db CP/M / CTOS / ...
/dev/sda5 8 269 2104483+ 82 Linux swap / Solaris
/dev/sda6 270 2880 20972826 83 Linux
/dev/sda7 2881 26380 188763718+ 83 Linux
/dev/sda8 26381 29958 28740253+ 7 HPFS/NTFS
ANyway when I select Vista while booting it just says
Booting 'Vista' but hangs indefinitely.
DO I need to add makeactive? or should I remove noverify? Is it the chainloader offset?
I have read plenty of threads and tried a few combos with little luck.
You wouldn't want to use "makeactive" if Vista is indeed on sda8, because Grub can't make a logical partition active (i.e. set the boot flag). Also, any time you install Windows to a logical partition, it will put its boot files in some primary NTFS/FAT partition; it looks like Vista may have put its boot files in your sda1 Dell partition. I think it would help to get a clearer picture of your setup related to booting, so how about downloading the Boot Info Script to your desktop, and then do the following as root user, but replace <username> with your username:
That will create a "RESULTS.txt" file in the same directory from where the script is run, namely your desktop; please copy/paste the contents of that file to your next post. That will help clarify your setup and hopefully what it will take to get Vista booting from your logical partition.
Does your sda8 Vista partition have a C:\Boot folder and C:\bootmgr file? I would guess probably not, because your sda1 Dell partition has that directory and file. If sda8 does not have /Boot and /bootmgr, how about doing the following as root:
Code:
mount /dev/sda1 /mnt
cp -R /mnt/Boot /mnt/bootmgr /Windows/C/
Also, your Vista boot sector needs repairing, because it incorrectly shows that the start of its partition is at sector 63 when really it starts at sector 423,794,763. So how about installing "testdisk", and then run it as root:
Code:
testdisk
After starting testdisk, choose "No log", choose the correct HDD and "Proceed", choose "Intel", choose "Advanced", select the Windows sda8 NTFS partition, choose "Boot", then choose "Rebuild BS"; if testdisk gives you a warning that the "Extrapolated boot sector and current boot sector are different", then choose "Write". Next boot your Windows Vista Install CD, go to the command line, and do:
Code:
diskpart
And at the diskpart prompt do:
Code:
list volume
exit
Find the drive letter for your Vista partition, and then do:
So replace "C" above if the Vista drive letter is different. Next reboot, try Vista from your Grub menu (using the rootnoverify (hd0,7) entry you have been using), and let me know how far you get. We can work from there if necessary.
Before I re-re-installed vista i got a message like 'boot.mgr not present, press ctr_alt-delete to restart"
But afterwards I dont see that message, rather it just flashes a underscore like its trying to boot. Also the Dell partitions have been there through every OS I have had on this machine and never affected booting before, should I still continue.
If so, two questions.
Where do I get testdisk?
Should I back up my Suse install before continuing, or will a re-install of grub fix any issues that might occur?
Should I back up my Suse install before continuing, or will a re-install of grub fix any issues that might occur?
I don't know how OpenSUSE works about software, but testdisk is available in the software repositories for most distros. If you need to you can download a standalone version of testdisk from here, and if you save it to your desktop you can run it with the following as root user:
Code:
cd /home/<username>/Desktop
tar xvf testdisk-6.10.linux26.tar.bz2
testdisk-6.10/linux/testdisk_static
Although backing up your SUSE install couldn't hurt, I don't think it is necessary. Let me know how it goes or if you run into problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.