LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lilo deletion (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-deletion-25315/)

Jeepee 07-08-2002 08:18 AM

lilo deletion
 
I currently work in dual boot mode (win xp + linux mandrake 8.0)

Lilo takes care of that by being installed in the primary master hard disk mbr

under previous windows, to delete lilo, i booted with a floppy and typed fdisk/mbr at the prompt to reestablish the boot sector to dos (windows) only.

how can i do this with win xp installed, the only boot disk xp offers is not "bundled" with any fdisk version, nor is fdisk to be found on the installation cd.

can i use a boot disk from win98 or win me?

because for some strange reason, ma pc won't boot from the 6 bootdisks (floppies).

is there another utility software provided on the cd?

:confused:

trickykid 07-08-2002 08:41 AM

You shouldn't have any problems booting to a win98 disk and typing fdisk /MBR from there..

Jeepee 07-08-2002 09:50 AM

thanks

i will try this and let you know

:study:

mirkokl 07-08-2002 12:00 PM

The original boot sector is stored by lilo in /boot

Jeepee 07-08-2002 12:15 PM

okay

lilo stores the original boot sector in / boot

how do i recover it?

mrGee 07-08-2002 12:43 PM

i think by making a bootdisk
use mkbootdisk --device /dev/fd0 2.4.x
where dev/fd0 is your a-drive (dos/windows)
and the exact kernel no 2.4.x do uname -r
after booting from that run lilo and the mbr should be
controlled by lilo again ( /sbin/lilo )
oh and by running lilo -u it uninstalls itself from your mbr
man lilo for details

rootman147 07-08-2002 12:50 PM

I'm not sure but I think it is /sbin/lilo -u. If I'm wrong it may really screw things up so you may want to double-check it


All times are GMT -5. The time now is 06:07 AM.