Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok I have an oddball question. I'm still fairly new with linux so any advice is much appreciated. Here's my situation. I have an IBM thinkpad that's about 4 years old, the hard drive died out. Well is broken actually and those fools at IBM wanted like $400 for a 5 gig. Ya, right. Anyways, I found a version of linux that's on a CD and run staight from the CD and memory, so no hard drive required. So I can start putting my laptop to some use again. Well the problem is that the CD is bootable, and for some unknown reason none of the laptop will not boot from the CD, keeps looking for a disk. So what I need is a bootable floppy that once ran, will boot and then point the computer to the CD's startup program. I dont really know anything about scripting for Linux, or what programs do what, anyone have any advice? I do have a bootable floppy for emergencies that I can load and mount the CD, but how do I start the CD from there? Thanks
If your bios doesn't support a bootable cdrom, then you will need to have the kernel on a floppy and there is a couple of options
put the kernel on there at the beginning of the drive so it will boot
you would do that with dd
dd if=kernel of=/dev/fd0 bs=1k
next you will set the kernels root device with rdev
rdev /dev/fd0 /dev/hd?
where ever the cdrom is
when the kernel loads it will expect the root device on /dev/hd?
it will look on /dev/hd? for /bin/init
which will look for /etc/inittab and run /bin/login
The other option and maybe the best, would be to install lilo on the floppy you run lilo with the cdrom in and it should let you know if it has a problem with your lilo.conf or finding the floppy
check this out, just remember that the difference here is that it's not /dev/fd0 but /dev/hd?
Well in response to the first reply, yes, the bios is set to boot from the cd first, it's just not, ibm hardware go figure.
As for the second response. That's a lot to take in, heh, I'll have to fiddle around a bit, I'll hollar if I get lost. Less someone can convert that too noob.
Ug, does anyone have a step by step on how to make this boot disk. I think I've been at this too long, 13 hours, no caffeine. Heh, anyways I've been reading and comparing to the generic boot disk I have, which is rather difficult since it's compressed on the disk.
There must be a bootloader out there that can fit on a disk that you can tell it where too look. Hmm, Any advice? heh Thanks.
Ok after some caffeine did a bit of thinking. I could modify the existing boot disk I have, so that instead of loading the kernel from the floppy, it would load the kernel from the CDROM. Which brings up a couple questions, first off the kernel IS the first thing loaded correct? Secondly, most likely the CD would have to be mounted prior to it loading the kernel but that doesn't sound quite right if the kernel is first.
Someone let me know if I am Waaaay off track here.
My next issue is how do I edit the files. Still somewhat new to linux the only text editor I could locate so far was the VI command.
Last question of course is what's the filename of the first file loaded, looking at the floppy (ls -a) here is what shows on the disk.
boot.b map settings.s bz2bzImage rc.custom.gz
Which one of these says ok unpack this file and go from there.
Well I have tried some things to no avail. Can someone spell out just how to do this? Need a floppy to boot from, that turns around and tells the computer to boot from the CD, nothing more. The CD I have will boot (tested on other computers) just this one will not boot to it, good old ibm hardware. Anyways, someone said put the kernal and lilo on the disk and edit something or another, ug. The point of getting this CD to work is so I can learn more about linux and put some use to this laptop. Help! Thanks
Well I finally got it to work. Wasn't how anyone suggested but thanks to everyone who helped! Now I can actually start fiddeling more with it and learn more. Here's how I got it to work.
I used a regular win98 boot disk, loaded with CD rom support.
This I used Loadlin to start the CD up. Here's the Command in case anyone else has this problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.