Ok screwed up my lilo conf by repartition my winXP partition
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file
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/hda7
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda7 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda7
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda7"
read-only
image=/boot/vmlinuz-2.6.3-7mdk
label="263-7"
root=/dev/hda7
initrd=/boot/initrd-2.6.3-7mdk.img
append="devfs=mount acpi=ht resume=/dev/hda7 splash=silent"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda7
initrd=/boot/initrd.img
append="failsafe acpi=ht resume=/dev/hda7 devfs=nomount"
read-only
other=/dev/hda1
label="windows"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe
image=/boot/vmlinuz-2.6.3-15mdk
label=263-15
root=/dev/hda7
read-only
optional
vga=788
append=" devfs=mount acpi=ht resume=/dev/hda7 splash=silent"
initrd=/boot/initrd-2.6.3-15mdk.img
it should be hda6 not hda7
ok i booted from cd 1>pressed F1 at the splash screen .
typed rescue>choose Mount partitions under /mnt it fond root and mounted hda6
Then i went to the console and ran
chroot /mnt
then ran cat /etc/lilo.conf
then vi /etc/lilo.conf to edit
then ran lilo -v
and reboot but it dos not change still try s to boot hda7
How do i save the changes that i make in vi
I still can boot to XP and OS is mandrake 10 o
Thanks
Jeff