2

I have a complete root fs built into initrd, so it's almost 500MB. It takes a while to load to memory and during this time, the screen has no indication of the progress. I would like to know if there is a way show progress as initrd loaded to memory? (Such as PXE boot loading kernel will have '.' per 1MB.) I'm using GRUB Legacy, and I can patch the source if needed.

4
  • The initrd is loaded by the bootloader, not by the kernel. What bootloader are you using? Commented Jan 31, 2014 at 23:27
  • It is not very clear what you are trying to do. The purpose of initrd is to mount the rootfs at a pre-boot stage and the initrd is a compressed gzip file that is decompressed in ram. I would create the rootfs as compressed squashfs image which is loaded from initrd by a small perl script where you easily can implement a progress bar.
    – user55518
    Commented Jan 31, 2014 at 23:52
  • @Gilles Good point! I'm using grub legacy, I don't know if it's possible now.
    – Patrick
    Commented Feb 1, 2014 at 7:17
  • @bersch, squashfs won't work, because I'm loading entire debian to the Clio archive and it needs to be rw for normal operations.
    – Patrick
    Commented Feb 1, 2014 at 7:18

1 Answer 1

3

I'm not sure about grub legacy, but in grub 2 (which I'm using) I've added 'insmod progress'. That gives me indication and progress.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .