Alrighty you can all laugh and make fun of me if you wish but if you do you have to help afterwards :P. So I installed Ubuntu linux this morning with GRUB as the bootloader. I thought everything went fine as Ubuntu started up great and all. However problems arose when I attempted to go back to windows. GRUB lists XP Home as a bootable OS but it wont let me load it. I get about four lines of stuff and then it says push crtl + alt + del to restart. I can post the message if needed. Otherwise any ideas as to what I've done and how I can fix it.
Try and install Acronis OS Selector.
http://www.globalshareware.com/Utili...lector-8-0.htm
It will replace the computers dos looking os selection with a new XP style version. It will find all the os's and put them in a list to choose from at startup. Also there is a disk management system incase you want to create or format a new partition for new os's.
start up in dos and type FIXMBR
same thing happend to me so that should fix it
Rest in peace mother
16.1.2006
You will always be with me.
Thanks guys I will do just that. My girlfriend however is dissapointed you didnt make fun of me before helping :P
You can use the XP install disk and go into recovery disk and do this:Originally Posted by black_magiic
bootcfg /rebuild
fixboot
... I think
That's what works for me anyways.
LordoftheDense: Robert's a std and didn't even know it
<note>evilmegaman=Robert</note>
Me:people like your grouchy side.sometimes I think there's a group of guys on the forum in the same room jerking eachother off to your mean posts
Potato:EW
and btw, lol
Me:xD
What kind of numbnuts installs software he doesn't know how to use?My girlfriend however is dissapointed you didnt make fun of me before helping :P
:icon_salu
Just trying to help!!
::sp00ky::, you're right, just boot up on your XP install disk, choose recovery console, and type "fixmbr". Choose yes, and it will replace your boot loader with the original XP one (however, you won't be able to boot into Linux anymore). Just make sure that if you have XP Home installed, use the XP Home disc, and the same goes for XP Pro. I know from experience that it won't work otherwise (don't ask me why though...)
As for evilmegaman's suggestion, idk - feel free to try it - he usually knows what he's talking about :)
Also, try booting up with the Ubuntu disk - I've never tried that one, but if it's like other distros, there's usually a bootloader recovery mode.
Is this the error message or similar message:
Booting 'Windows NT/2000/XP'
root (hd2,0)
Filesystem type unknown, partition type 0x7
Savedefault
makeacitve
chainloader +1
If xp is on the 1st partition try the following at the grub prompt in ubuntu:
> rootnoverify (hd0,0) (assuming that xp is on the 1st partition)
> makeactive
> chainloader +1
> boot
If your not sure where the partiton is just do fdisk -l and post the info here.
Its just a simple grub config error, no need to wipe the mbr.
Thats exactly it. And to the rest of you thanks for the remarks :P Im sure it will help her sleep easier tonight. So if I use the stuff you said supplementing the (hd0,0) for whatever it says it is in the error message that should fix it? And do I do this from Ubuntu or in GRUB during boot.Originally Posted by zarquon
There are two ways to do this.Originally Posted by black_magiic
In ubuntu command prompt type:
sudo vi /boot/grub/menu.lst
Then search for the (hdX,X) entry where X,X are the partiton table and replace with 0,0 if the
xp partion is first on the drive.
Alternatively At the grub boot screen press c for grub command prompt,
Then type the following commands in this order
> rootnoverify (hd0,0)
> makeactive
> chainloader +1
> boot
If you are unsure where the partition lies just type fdisk -l
and you will get a partition list. Copy&paste the fdisk -l screen here and i will tell you the correct partiton entry in the grub config.
Whichever way you use to configure grub is up to you, but the grub command prompt wont give you access to fdisk if you need to display partition table.
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 27903 224130816 7 HPFS/NTFS
/dev/hda2 27904 30515 20980890 f W95 Ext'd (LBA)
/dev/hda5 27904 28556 5245191 83 Linux
/dev/hda6 28557 30515 15735636 83 Linux
Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 9728 78140128+ 7 HPFS/NTFS
Disk /dev/sda: 200.0 GB, 200049648128 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 24321 195358401 c W95 FAT32 (LBA)
root@Laker:/home/laker #
root@Laker:/home/laker #
thats what fdisk gets me
You have two hard drives. As there is an ntfs partiton on both i am not sure which one has the xp os on it. If xp in installed on the first hard drive (the one with the linux partition also), then the grub config would be (hd0,0).Originally Posted by black_magiic
If xp is on the second partition then then grub config would be (hd1,0).
If you haved tried the (hd0,0) already then it is probably (hd1,0) i.e. the disk with just the ntfs partition. Let me know.
ya the 80GB all NTFS one is the windows install and it is just windows nothing else. I will try the hd1,0 thing right now. I'll post if it works.
EDIT: No luck. I tried the commands in grub and it just gave me Missing NTLDR or something to that effect when I finally sent the boot command. Any ideas what I might have done wrong.
ok (hd1,0) is the correct index so here is the solution,
Boot with WinXP CD, Repair, Command Console (insert Admin password)
COPY X:\i386\NTLDR C:
COPY X:\i386\NTDETECT.COM C:
Where X: is the cd drive and C: is your os drive (just change to whatever it is for you)
exit the Command Console prompt (which will cause an automatic reboot)
Grub should now boot into WinXP.
1] Login into Administrator Account
2] Start -> Run -> cmd
3] attrib NTDETECT.COM +s
4] attrib ntldr +s
5] exit command (cmd) prompt window
6] Open C:\, Right click those two files, properties, set hidden, apply (1 at a time)
This should fine for you now.
Bookmarks