Dan Christensen <j...@uwo.ca> writes:

> Michael Pobega <pob...@gmail.com> writes:
>
>> What I would do is put a live system on a USB flash drive (System Rescue
>> CD is what I usually use) and mount the unbootable hard drive from
>> within the live system. At that point you could wget a kernel deb from
>> http://ftp.uk.debian.org onto your old mounted hard drive. chroot into
>> your drive's mount point, dpkg -i linux-image-*, and you're done; your
>> system should now be bootable.
>
> Thanks, I suspected that that would be a reasonable plan, and I've just
> checked that this doesn't seem to require upgrades to user space.
>
> Now one thing about my system is that mounting /usr will be a bit
> awkward, since it is lvm over several raid 5 devices.  Can anyone think
> of a way to install a kernel .deb without having /usr mounted?  If I
> just unpack it with dpkg-deb, copy the kernel, initrd and modules dir
> to the right place, and update grub, will that be enough??

I see that the .deb doesn't contain a default initrd, so one needs to be
generated.  

1) Is there an easy way to do this without using dpkg to install the
.deb?

2) I'm wondering whether the initrd generated while running the kernel
from the livecd will work with the newly installed kernel.  Any
thoughts?

Dan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to