Stephen Liu wrote:
Hi Jon,

- snip -

Problme now solved. I can mount another floppy created on another Linux box with '/mnt/floppy' There is nothing wrong on the floppy nor its drive, only impossible to read bootdisk.

I tried following command without success

# mount /mnt/floppy
# mount -t ext3 /dev/fd0 /mnt/floppy
# mount -t ext2 /dev/fd0 /mnt/floppy

Can you advise how to read a bootdisk. Thanks


The boot disk won't have a filesystem on it so you will not be able to mount it. It will be a boot image that you are only able to boot from.


Noted with thanks

To load your installation you will need to know where you installed the kernel and initrd file (if you used one). The online manual for grub can be found at http://www.gnu.org/manual/grub/html_mono/grub.html. But the gentoo installation guide has a quick introduction to booting you machine with grub.


I made following test without result

1)
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83

2)
I tried following combination without success
grub> kernel --type --no-mem-option linux
grub> kernel --type=linux --no-mem-option
>
> and could not proceed further

I think (having only been using grub since Friday) that you need to do

kernel /boot/linux-2.4.20-gentoo-r7
initrd /boot/initrd-2.4.20-gentoo-r7

assuming that you don't have seperate boot partition otherwise you will have to do something like

kernel (hd0,1)/linux-2.4.20-gentoo-r7
initrd (hd0,1)/initrd-2.4.20-gentoo-r7

(assuming the second partition is you boot partition). This is all in the installation guide after the bit about compiling the kernel.

Kindly advise the correct syntax

I found
# whereis kernel
kernel: /usr/src/linux/kernel  /usr/src/linux-2.4.20-gentoo-r7/kernel

neither of those are the ones you want, you need to look in /boot. They are the source directories not the compiled kernel.


I assume you already have a working linux system then, how is the boot loader set up on that system. It is the same to set it up for gentoo!

Also what shall I input in the next step
grub> module (file)
What shall I type for 'file'

JD



-- [EMAIL PROTECTED] mailing list



Reply via email to