Click to See Complete Forum and Search --> : Installed Linux, Can't boot XP
cleverhamster
02-12-2003, 08:40 PM
I had mandrake 9.0 and XP working perfectly together. Lilo would load up when I started my computer and I could choose what I wanted. But I forgot my root password and so I had to reinstall linux.
After I reinstalled Linux, I did a reboot and now windows is not even an option in Lilo. I don't know how to boot xp now. The partition for xp is still there when I load up partition magic from a floppy, but it's not labeled C: and I can't boot it.
Is there any way I can recover my data and boot into XP?
rid3r
02-12-2003, 08:59 PM
assuming you have one harddrive, login as root and issue a command to list your partitions:
# /sbin/fdisk -l /dev/hda
don't forget the "-l" option
to save the output to a file:
# /sbin/fdisk -l /dev/hda > /directory_to_save/hda.txt
# chown cleverhamster:users /directory_to_save/hda.txt
# cat /etc/fstab > /directory_to_save/fstab.txt
will save your filesystem table, post it here.
rid3r
02-12-2003, 09:10 PM
if you are sure you have Lilo, not Grub:
# cat /etc/lilo.conf > /home/cleverhamster/lilo.txt
cleverhamster
02-12-2003, 09:46 PM
Is this the data you were asking for?
Device Boot Start End
/dev/hda1 * 65 3720
/dev/hda2 1 64
/dev/hda3 3721 4866
Blocks ID System
29366788+ 7 HPFS/NTFS
514048+ 82 Linux Swap
9205245 83 Linux
boot=/dev/hda
map=/boot/map
default=linux
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label=linux
root=/dev/hda3
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi quiet"
vga=791
read-only
image=/boot/vmlinuz
label=linux-nonfb
root=/dev/hda3
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi"
read-only
image=/boot/vmlinuz
label=failsafe
root=/dev/hda3
initrd=/boot/initrd.img
append="devfs=nomount hdd=ide-scsi failsafe"
read-only
other=/dev/fd0
label=floppy
unsafe
cleverhamster
02-13-2003, 08:50 PM
I uninstalled linux and changed the master boot record. Windows now boots up fine. I'm going to install Linux again, but I'll get it right this time.
rid3r
02-13-2003, 09:16 PM
sorry I wasn't here to answer your post, your lilo was missing the line for windows, something like:
other=/dev/hda1
optional
label=Windows
good luck installing it this time.