You are not logged in.

#1 2006-10-26 17:55:43

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Lots of Kernel panics maybe this will help

Hi,

I was reading an article on encryption of whole sytem & they used a pendrive to boot system so here goes

First you need a pendrive 128mb is fine, a working arch system (you should have that !) grub installed... Be able to set BIOS to boot usb

Use cfdisk to partiton drive then add a ext2 filesystem on it (mkfs.ext2)

mount /dev/sda1 /mnt
cp -ax /boot/* /mnt

now you have your working /boot partition on pendrive

now

ln -s . boot

this will save any problems with running grub later

go into /mnt/grub/device.map you need an entry

(hd0) /dev/sda

in your /mnt/grub/menu.lst change (hd3,0) to (hd0,0) to point to for example sda1 (on pendrive!)

then run

grub-install --root-directory=/mnt /dev/sda

If you go into BIOS to boot usb as first device ..... & plug in pendrive & reboot all being well system should boot as normal now when you upgrade & you get kernel panic you just plug in pendrive system will boot from it allowing you to fix the problem ;-)

HTH


Mr Green

Offline

Board footer

Powered by FluxBB