Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-22-2005, 02:35 PM   #1
LQ Newbie
Registered: Dec 2005
Location: So Paulo, Brazil
Distribution: Slackware 10.2
Posts: 28

Rep: Reputation: 15
HOW to restore LILO after WinXP reinstall ?...

hI f0LkS !!!

Im trying to restore LILO (and my Slack 10.1 ) after a reinstall of WinXP.

Before WinXP reinstall, Ive saved my MBR - using:
#dd if=/dev/sda of=/mnt/floppy/backup.mbt bs=512 count=1

Ok, I know that there is a copy of my MBR on disk, so, how can I put it back on my HD ???

Im trying to do that using Slack CD on boot, but I dont know how to mount floppy, because on /mnt and /dev, there is no device nor directory to mount floppy disk...

And I dont know how to boot using diskette (and I even dont know how to put Linux on single disk ! Sorry ... )

Anybody pleaze help me !

Thanks in advance.
Old 12-22-2005, 03:01 PM   #2
Senior Member
Registered: Oct 2004
Posts: 1,235

Rep: Reputation: 125Reputation: 125
Easiest way is to pop in install-d1 and follow the instructions to boot the slackware system on your hard drive, and then run /sbin/lilo
Old 12-22-2005, 04:29 PM   #3
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167

Rep: Reputation: 30
To prevent this from happening again, once you have Slack running again, I recommend you place lilo on either the superblock of your root Linux partition, or on a floppy that'll boot into your root partition. Also, it's a good idea to install Windows first before Linux to avoid rewriting of the MBR and locking you out of your Linux installation.
Old 12-22-2005, 04:58 PM   #4
LQ Newbie
Registered: Oct 2005
Location: Cross Lanes Wv
Distribution: Knoppix
Posts: 7

Rep: Reputation: 0
lilo after a windows install

To prevent having to deal with this problem I install linux on a second hard drive. Because linux will mount and allow storage on fat file systems, and even ntfs file systems in some cases, you may use your existing drives for storage. This means that you can use a 20 gig you have laying around for linux. First remove your windows drive. Second strap the linux drive as master and install linux. Third remove the linux drive and strap it as slave. Re-install your windows drive strapped as master. Use your boot menu or "boot first scheme" in bios to select what you would like to boot. This also works on multiple Windows installations on the same machine. The advantage is that when, not if, one of your os's goes south you don't have to suffer through getting both systems to boot.
footnote...the other day I got SLAX the slackware live cd, to boot from a 256 meg lexar USB stick.(trial and error method) If anybody is interested email me and I will at the very least post the file names and structure. If there is no copyright issue I will post a pqi image of the drive..I also have knoppix booting from a 1 gig usb stick and again can post a pqi image, if I can figure out how to post a file here.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
restore or reinstall? blizunt7 Fedora 3 09-27-2005 09:10 AM
restore or reinstall the start-menu?!? mindkill Linux - Software 1 09-12-2005 06:24 AM
Howto restore lvm2 after OS reinstall? HeLL Linux - Software 1 09-04-2004 09:34 AM
reinstall or restore kde dave37 Red Hat 2 05-28-2004 09:27 AM
i got RH8 & WinXP installed and properly working by GRUB. how can i reinstall WINXP? kublador Linux - Newbie 4 06-23-2003 12:00 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration