Martin Miehe wrote:
> Did "cat /proc/ide/hda/media", gave me just "disk".
>
>
> Booted with "linux load=ide-generic hda=16383,255,63 hda=remap63". The
> disk manager was not detected.
> The Large-Disk-HOWTO says: "However, NO remapping is done when a
> geometry was specified on the command line - so a `hd=cyls,heads,secs'
> command line option might well kill compatibility with a disk manager."
>
The HOWTO disagrees with the kernel source.
> Booted with "linux load=ide-disk,ide-generic hda=remap63".
> The disk manager was not detected.
>
Thanks for the information.
> Booted with "linux load=ide-generic hda=remap hda=remap63". Same as above.
>
Whoops. I should have read the source better.
linux load=ide-generic hda=remap
This should give you "hda: unknown partition table". Does it do this? If
it does, then this makes me sure that the code just below the correct
line runs at all. If it doesn't, things are really strange.
> Is the code for the Ontrack disk manager similar to that of EZ?
>
No.
> Relevant?
> Sometimes, after detecting CD-ROM drive the following error message appears.
> [begin]
> hdb: ATAPI 6X CD-ROM drive, 128kB Cache
> Uniform CD-ROM driver Revision: 3.20
> hdb: cdrom_decode_status: status=0x51 { Drive Ready Seek Complete Error }
> hdb: cdrom_decode_status: error 0x40 { LastFailedSense=0x04 }
> ide: failed opcode was: unknown
> [end]
>
This is a sign of a scratched CD. Some CDs read fine when read
sequentially (as CD copying programs do), but fail with random access.
> One last question for today: The system clock of the computer runs not
> always as it should but only when plugged to power because the bios
> akku is broken.
linux clock=pit
One last preparation for tomorrow. I will send you an updated (i.e.,
with a kernel patch that adds some debugging printks) initramfs image
soon, and I want you to learn how to load the LiveCD kernel and the
initramfs from GRUB. This is very easy: just put them (i.e., "linux" and
"initramfs_data.cpio.gz" files) somewhere on your hard disk where GRUB
can find them. Add the kernel to GRUB without the root=... argument
(i.e., just "kernel /path/to/linux clock=pit load=ide-generic
hda=remap63"), and add initramfs_data.cpio.gz as the initrd. Then boot
to the GRUB screen, insert the LFS LiveCD into the CD-ROM drive, and
select this kernel in GRUB. It should behave exactly as if you have
booted from the CD. Once you complete this and notify me about this, I
will build the updated initramfs for you to try instead of the original one.
--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page