Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery registry cleaner router screen slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Solved: lilo in slackware

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
Big-K's Avatar
Distinguished Member with 6,940 posts.
 
Join Date: Nov 2003
Location: Kansas
Experience: Advanced
22-May-2005, 10:06 PM #1
Solved: lilo in slackware
When I installed slackware 10.1, it would not allow me to install lilo(to either mbr or root), so I ended up making a boot disk and have been doing kick boots since. I have accidentally deleted the data on that boot disk. Every time I attempt making a new one from the ones on servers where slackware is available, it fails to boot with it. My best option it seems is to somehow get LILO to work. I have Dam* Small Linux on cd and am using it at the moment(is a live cd distro), so I can access the drive. Every time I try and just boot up straight from the hard drive it just shows up a bunch of 0's 1's an 9's on the screen. I'm sure that is caused by the fact that Slackware is on hda3, and hda1 is my share partition(a vfat one). Since there is nothing on the vfat, and it is hda1, I can't boot straight.

If there's nothing I can do about it, what files would people suggest I keep for configuration purposes to replace originals with after a reinstall?
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
22-May-2005, 11:48 PM #2
You have several options. If you have the installation CD(s) you can boot the first CD (install) and specify your root filesystem to boot Linux. You would use a command such as the following from the boot prompt:

vmlinuz root=/dev/hdc1 ro noinitrd

This should boot you into your Linux installation (assuming your root filesystem is on /dev/hdc1). From there, you can use /sbin/makebootdisk to create a new boot floppy (and a copy, perhaps). I believe the second CD is also bootable as a live Linux installation (it may be the third or fourth CD -- I can't remember for sure). If this works for you, you can then mount your normal root filesystem under (say) /mnt; then mount all of your remaining partitions on /mnt/XXXX, where XXXX is your normal mountpoint (e.g., if you have a separate /tmp filesystem on /dev/hdc4, then you would use the command:

mount /dev/hdc4 /mnt/tmp

after your root partition had been mounted on /mnt.

Then, cd /mnt and give the command:

chroot /mnt

which will effectively make your active installation relative to /mnt instead of /. Then use the /sbin/makebootdisk command to create another boot floppy.

You can also run the script: /var/adm/setup/setup.80.make-bootdisk to re-execute the script that ran during installation.

Hope this helps.
__________________
The slowest component still sits at the keyboard.
Big-K's Avatar
Distinguished Member with 6,940 posts.
 
Join Date: Nov 2003
Location: Kansas
Experience: Advanced
22-May-2005, 11:52 PM #3
Yes that will help. I'll print out your instructions tommorrow morning then try it tommorrow afternoon and post back.

Any ideas on getting LILO to work though?
Big-K's Avatar
Distinguished Member with 6,940 posts.
 
Join Date: Nov 2003
Location: Kansas
Experience: Advanced
23-May-2005, 07:05 PM #4
Alright, fixed it. I typed the stuff to get in with the first disc. It failed to make the bootdisk, but I got into KDE and used KControl to write my LILO settings to hda1 instead.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 08:54 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.