HD Install :: HD Install on OLD IBM laptop from inside Windows?



Did you boot toram? If you didn't, do! It makes a 128mb box go faster than thought.
Hi guys-

Long time no update. But here's the latest scoop- I finally went and bought a hard drive adapter and yanked the HD out of the IBM. I booted from CD on my good laptop, installed DSL to the old IBM hard drive and selected Lilo as the boot loader. I tried to use GRUB on the first attempt, but upon reinstalling the HD it wouldn't initialize. So when I used Lilo, it initializes the HD and begins to load the kernel.

Partway into the load process, there are a bunch of errors that look like
/modules/usb-storage.o: unresolved symbol usb_root_hub_string
etc, etc. They all have the same front end with different items after "symbol"

And then after lots of this, I get

kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno = 2
VFS: Cannot open root device "801" or 08:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:01

So... what I'd do wrong? I'm thinking it may have something to do with the fact that I loaded DSL onto the HD over a USB connection (though I don't know why it would matter.) Since the old laptop doesn't have USB, are those errors just the kernel looking for USB devices?

Anyway, any pointers would be great. Thanks for the help previously too.

Since you installed via usb, it tries to boot DSL from a usb stick :p
08:01 is the first partition on sda (first usb stick, usually).

The fix is to change root=/dev/sda1 to root=/dev/hda1 in lilo.conf in the HD install and reinstall lilo (manually), then it will try to boot from the HD. Perhaps add in "nousb" to skip the usb probe from slowing your boot down.

Awesome. Thanks for the quick reply. Ok, so I pull the HD from the old LT again, and fix the lilo.conf. Correct?

Then I reinstall lilo manually. How do I do that? (I'm "ok" in the command line, but as detailed instructions as you want to give wouldn't be a bad thing for me... :) )

As always, thanks again.

Ah - I got caught out like this with booting from usb to make a hd install with lilo (in my case what was sdc3 became sdb3 when I first tried to boot directly from the hd)

You can edit lilo.conf using beaver or whatever but after that you need to do:
Code Sample
$ sudo chmod 644 /mnt/sdb3/boot/lilo.conf
$ sudo ln -sf /mnt/sdb3/boot /
$ sudo lilo -C /mnt/sdb3/boot/lilo.conf

for lilo to accept the changes (substituting /mnt/sdb3/boot/ for whereever your lilo.conf happens to be).

Next Page...
original here.