SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If im reading what you wrote correctly at the end, then you can't install on a HD that is not formatted for linux. Boot from the cd and run cfdisk and make your linux swap and linux partitions and intstall slackware, installing LILO in the mbr and your fine. Hope this helps, if i have even read your post correctly
OK..i actually have Linux installed on my computer already.
It's just that I cant boot to Linux again because:
1. I dont have a floppy drive, hence I cant boot from floppy
2. MBR with Lilo has been cleared by WinXP.
This is my HD structure:
/dev/hda1 = NTFS
/dev/hda5 = FAT32
/dev/hda6 = SWAP
/dev/hda6 = EXT3 (/)
/dev/hda7 = EXT3 (/usr)
/dev/hda8 = EXT3 (/home)
So now I have a Slackware 9.0 cdrom and I do not want to reinstall Slackware software into my HD. The question is:
How can I reinstall LILO on my computer using Slackware 9.0 cdrom. I cant reconfigure my linux system (in setup) without having to install the / system again.
try this then you bot from cd
bare.i root=/dev/hda6 noinitrd ro (/dev/hdaX X - must be yours root, not users )
login as root
later in CL write liloconfig
(you can use automatic configuration, after it write lilo if you dont get any errors reboot )
As soon as you get to the first prompt, when booting your Slack 9 install CD, type this: "bare.i root=/dev/hdaX noinitrd ro". This should boot your slack distro thats on your drive, once it does run the "lilo" command to restore lilo in MBR. I hope this works for you ... but you might get a "no init found" error. I'm posting this using lynx in console, so forgve me for the format of this reply (after "fixing" my fonts I see only squares for letters in my brawser and everything else KDE) Any way I might not be back for some time, but I know there is still one more way of restoring lilo in your MBR: booting with any linux kernal (CD, dickette, network) and runing lilo with a fev parameters teling it to use /etc/lilo.conf on your /dev/hdaX instead of the one on the boot medium or rather your temp ram drive. ... hope this method helps if the first one does not
Good replies, X_shadow_X, and csDraco_.
Luckily Slackware still does make booting the installed system from the install CD easy.
Gave this advice to a Red Hat user recently, and found that in Red Hat you need to go to the rescue system on the CD and 'chroot' to the main system.
Seem like an unnecessary step(s) to me.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 2,612
Rep:
hmm, does slackware have the mkbootdisk command? once you get your system up and running i'd reccommend you use that and a blank floppy, that way you have a rescue disk in case of an emergency (especially the microsoft brand of emergency )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.