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!
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.
Many distributions allow easy boot of installed system from the install boot disk. Checking my (little used) Red Hat 7.3 install CD, I see that 'linux root=/dev/hdax' does not boot the installed system.
There is a rescue mode available. If you follow the directions to access your Red Hat system you should be able to run the 'mkbootdisk' command.
Are you able to boot the install CD?
If you are mounted on your installed Linux partition in rescue mode, you should be able to use the 'mkbootdisk' command. man mkbootdisk for info.
Looks like you would type 'mkbootdisk yourkernelversion'
You can normally find the kernel version on a running system by typing 'uname -r' but this may not be correct since you are booting from the CD.
'ls /boot' will list the kernel(s) and other files in your boot directory.
I am working with my Red Hat 7.3, it may or may not be completely like 8.0
When the CD boots I type 'linux rescue' at the prompt, as the onscreen dialog mentions.
I am prompted to choose a keyboard and something else. Then I am asked to choose the partition my Red Hat Linux is on. The main Linux system on the hard drive is mounted on /mnt/sysimage by the rescue system.
I typed the command 'chroot /mnt/sysimage', again per the onscreen dialog. (I am not sure this is needed, but it's the easy way).
Type 'ls /boot' and note the kernel version. Mine was 2.4.18-3
Type 'mkbootdisk 2.4.18-3' (Your kernel version, of course.)
I wound up with a bootdisk that booted my Red Hat system when I did this.
Which botton,will I use the affero one to vote for you?
I will do that for many times.
After months of waiting I got my red hat back.
Thank you very much...
(I didn't type 'chroot /mnt/sysimage' in the previous one so I got a warning.)
I love Linux and
I love 2damncommon