LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can anyone attach me the files in their boot disk (http://www.linuxquestions.org/questions/linux-newbie-8/can-anyone-attach-me-the-files-in-their-boot-disk-47696/)

akemi 03-01-2003 01:04 AM

can anyone attach me the files in their boot disk
 
Can anyone attach me the files in their boot disk for REDHAT8.0
I need it a lot
thanks

2damncommon 03-01-2003 01:16 AM

Something other than this?

akemi 03-01-2003 01:25 AM

I have my red hat installed but I do not make a boot disk
while installation.And I need it now.That link is just for installation
isnt it

2damncommon 03-01-2003 02:58 PM

Argh...
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?

akemi 03-02-2003 12:30 AM

Yes I can boot the install cd.And get to rescue mode ,then?

2damncommon 03-02-2003 12:59 AM

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.

akemi 03-02-2003 01:50 AM

I have tried mkbootdisk but it said couldn't find such a file or directory.

2damncommon 03-02-2003 01:59 AM

Perhaps by full path?
'which mkbootdisk' will give full path.
'path/to/mkbootdisk yourkernelversion'

You have gone through the steps where you tell the rescue mode where your installed system is, right?

akemi 03-02-2003 02:12 AM

I have only pressed F5 an got to the rescue mode and got a prompt as root. What else neede?

2damncommon 03-02-2003 02:24 AM

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.

akemi 03-02-2003 02:44 AM

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

2damncommon 03-02-2003 10:19 AM

Thank you, akemi.
I am not set up on the affero yet.
Glad you are up and running on your Red Hat again.

You have made 2 boot disks this time, right?
:D


All times are GMT -5. The time now is 03:29 PM.