[Voyage-linux] rootfs not found on first reboot [patch] add BOOTARGS to profiles

Jim Cromie (spam-protected)
Sat Aug 20 12:11:53 HKT 2011


On Sun, Aug 7, 2011 at 9:29 AM, Hermann Gottschalk <voyage at pestilenz.org> wrote:
> Hi,
> i installed voyage 0.7.5 via PXE on a soekris 4501 and after the first
> reboot, the system could not mount the rootfs an felt into initramfs.
>
> I figured out that the problem ist, that the ide_generic module is not
> loaded in the initrd.
>
> So my workaround:
>

heres another way to do it.

patch adds a BOOTARGS line to etc/voyage-profile/4801.pro
and alters setboot.sh to add it to the boot-configs.
This approach makes kernel-boot args customizable per board.
I didnt add a line for your board, but it would be close to that for
the net4801.
Id appreciate it if you try it out, and tune the BOOTARGS accordingly.

For the 4801, I found that ide_core.nodma was the critical option.
Ive got 2 CFs, one appears as hda, other as hdb, so I added =0.0, =0.1.
all_generic_ide doesnt fix the boot w/o the former.  But I added it anyway.



> After having installed voyage like described here
> http://linux.voyage.hk/content/getting-started-pxe-boot-v07x and BEFORE
> the first reboot mount /dev/hda1 again on /tmp/cf (rw), then chroot to
> /tmp/cf.
>
> $ mount /dev/hda1 /tmp/cf
> $ chroot /tmp/cf
>
> Here edit /etc/initramfs-tools/modules in adding 'ide_generic'. Then do
> a update-initramfs -u (don't worry about the absense of the mtab-file
> which is complained).
>
> $ update-initramfs -u
>
> Now do the first reboot and the soekris should boot.
>
> Greetings
> Hermann
>
> --
> Hermann Gottschalk
> voyage at pestilenz.org
> PGP 0x0B2D8EEA --- www.openbsd.org
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-add-BOOTARGS-to-grub-and-lilo-configs.patch
Type: text/x-patch
Size: 2828 bytes
Desc: not available
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20110819/842cb977/attachment.bin>


More information about the Voyage-linux mailing list