On Wed, 2 Jan 2002 19:27:49 -0700 Glenn Williams <[EMAIL PROTECTED]> wrote:
> Hi, Group: > > I want to delete this Linux and the associated partitions from my hard > drive. Currently, I dual-boot SuSE 7.2 and Windows XP. I think LILO > was installed in the MBR. > > IIRC, that's what "boot=/dev/hda" means. I've attached my > /etc/lilo.conf in hopes some kind reader will verify that this is so. > > I remember that there's a command line exercise that will restore the > original MBR, but I can't find it and don't remember it. As Ian pointed out, you can do this with LiLo itself or here's another one from the lilo mini-howto that will work as well (I can verify this as I've used it more than once with success): dd if=/boot/boot.0300 of=/dev/hda bs=446 count=1 > I suppose if all else fails I can boot with a Windows 9x boot disk and > restore the original MBR with "fdisk /MBR." this will work also, in *most* cases, however I have run into situations where this wasn't successful and the end result was a drive that wouldn't boot and a screen that scrolled 1's and 0's (binary) endlessly when you tried. the cure was to use the dd command. as always, YMMV but it worked well for me. > Any help? > > > Here's /etc/lilo.conf: > > # LILO configuration file > # Start LILO global Section > # If you want to prevent console users to boot with init=/bin/bash, > # restrict usage of boot params by setting a passwd and using the > option > # restricted. > #password=bootpwd > #restricted > append="BOOT_FILE=/boot/vmlinuz hdc=ide-scsi hdd=ide-scsi" > boot=/dev/hda > #compact # faster, but won't work on all systems. > vga=771 > message=/boot/message > menu-scheme=Wg:kw:Wg:Wg > read-only > prompt > timeout=80 > # End LILO global Section > # > image = /boot/vmlinuz > root = /dev/hda3 > label = linux > initrd = /boot/initrd > > # > image = /boot/vmlinuz.suse > root = /dev/hda3 > label = suse > initrd = /boot/initrd.suse > optional > > # > other = /dev/hda1 > label = windows > table = /dev/hda > > # > image = /boot/memtest.bin > label = memtest86 > > > Thanks, best regards, and Happy New Year to all who may choose to > observe the custom. > > Glenn > > -- > Glenn Williams - [EMAIL PROTECTED] > Registered Linux User #135678 > Powered by SuSE 7.2 Linux Professional > _______________________________________________ > Linux-users mailing list > Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users -- Myles Green Calgary AB Canada Alberta Linux Step by Step Mirror: http://www.telusplanet.net/public/mylesg/ -- There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence. -- Jeremy S. Anderson _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users