tthorn@daimi.aau.dk: "Building a hd-less bootimage..?" (Nov 27, 18:17):
You'll have to comment out all the stuff in "sys_setup" which concerns
harddisks. hd_init() just sets up the interrupt addresses and enables
them, but doesn't read the partition tables etc. The reason is simple:
hd_init() may not sleep, as it is called when we aren't really set up
yet, so it cannot read the disk, just set up for it.
sys_setup mounts the root etc, so you cannot just comment it out
totally, you have to comment out just the partition-reading etc.
Linus
Previous message: [thread] [date] [author] Next message: [thread] [date] [author]
Messages in current thread:
Re: Building a hd-less bootimage..?, Linus Benedict Torvalds, (Wed Nov 27, 1:29 pm)