RSS feed [root] /unix /weblog




login:

password:

title search:




 


Mon Feb 07 16:47:36 GMT 2011

boot



Linux Boot Process - http://www.thegeekstuff.com/2011/02/linux-boot-process

if you want to boot into something you can edit the boot parameters in grub:

"e" to edit
replace the boot parameters from ro xxxx xxxx to "rw init=/bin/bash"

and you'll be able to access a limited shell (no job control), then can run

ifconfig eth0 up
dhclient

to bring up network.

https://bugs.launchpad.net/ubuntu/+bug/430272/comments/24

If there is really disaster situation that grub fail, can try this to reinstall grub:


sudo mount /dev/sdXx /mnt
sudo mount -o bind /dev /mnt/dev
sudo mount -o bind /sys /mnt/sys
sudo mount -o bind /proc /mnt/proc
sudo chroot /mnt

Once at the prompt I reinstall grub:

Code:
grub-install /dev/sda
and then updated grub

Code:
update-grub
then Ctrl-D twice to exit, and reboot. http://ubuntuforums.org/showthread.php?t=1677888


(google search) (amazon search)
second
download zip of files only