vkernel, vkd and vcd boot order
Matthew Dillon
dillon at apollo.backplane.com
Sun Aug 19 17:17:49 PDT 2007
:Hello Again.
:
:> According to the manpage, the first -r or -c image will be the boot
:> disk, but here, in whatever order they are, it always tries to boot from
:> the virtual cdrom.
:To solve this, I added a flag (-b) to choose the type of boot device,
:disk or cdrom.
:
:I attach the patch, but be kind, is this the first time I touch a C
:source, all I know is sysadmin shell scripting.
:
:Regards,
:
:--
:Clement Martin
Not bad. How would you like to do it a slightly different way? Instead
of adding a new option, patch the program so it does what the man page
originally thought it did. Just detect which option (-r or -c) is
specified first with a little logic in the code and implement your -b
equivalent internally.
-Matt
More information about the Kernel
mailing list