Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
How can I boot into my linux install from the linux rescue mode. What do I need to do at the prompt to either login to linux, or create a boot disk relative to my current install. Where is the boot.img located? I know there is one on the cd but thats not doing it for me. Help please... =(
sorry for the lack of detail. I always have booted into linux with a boot floppy. I misplaced said floppy and now I cant boot into redhat 9. The cd's I used to install are not available to me right now so I downloaded an installation image and used rawrite for windows to write the image. So now I can enter the rescue mode and get to a prompt. This is where im stuck. I need help to take the next step. I need to either a; make a bootdisk that will boot my current installation or b; simply login to my install from the rescue prompt and make a new bootdisk in a terminal. Hopefully this new info helps.. Thanks for the reply too btw. As far as I know.. everything is exactly as it was before I lost the disk. I have not formated anything. The mbr never had redhat on it nor do I really desire it to. I would like to continue using a floppy to boot my redhat install.
To point a fact,.. thats what I have been doing. (linux rescue) But how do I make a bootdisk from there? I see that it mounts my directories under sysimage and I can access all my files. But I still dont know how to make a boot disk. I tried mkbootdisk -help but the text scrolls off the screen and I cannot pgup to see it.
hmm I tried mkbootdisk --device /dev/fd0 2.4.20-8 and I cant seem to do it. What directory do I need to be in? I tried in the /sysimage/usr/src aswell as a few others. I keep getting an error /lib/modules//usr/src/2.4.20-8 is not a directory or something to that effect. I am sorry for making what is probably a very simply thing to do with the proper experience, seem so difficult. What directory is the boot.img located in? Can I simply navigate to that dir and cp that image to a floppy? Im convinced mkbootdisk will do the trick if I knew what else I had to put in the command. But I am still quite new to this enviroment.
ok i boot from the cd and type this at the boot : linux root=/dev/hdb2 single initrd=
cool now im booting up my install. I get to a prompt and su to root@localhost:
now I try to create a boot disk with /sbin/mkbootdisk --device /dev/fd0 2.4.20-8 and I get an error saying cannot find root partition I also tried mkbootdisk 2.4.20-8 and everything else I could think of. What else could I possibly try?
In rescue mode have you changed the system root yet... like the boot splash screen suggested - I'm not sure but this might be the reason that the mkbootdisk command can't find the location of your boot which is found in the etc/fstab file
Originally posted by Nimoy In rescue mode have you changed the system root yet... like the boot splash screen suggested - I'm not sure but this might be the reason that the mkbootdisk command can't find the location of your boot which is found in the etc/fstab file
heh,.. the whole time the solution was right in front of my face.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.