Search in uioop.blogspot.com

Thursday, August 11, 2011

How to DUMP in Linux

dump -0f /mnt/xxx.img /
"/" root
restore -rf /mnt/xxx.img .
"." mean is current directory

Find block ID and copy down the UUID
blk id

Edit /etc/fstab , /boot/grub/menu.lst
Replace existing UUID with new UUID

Find GRUB
touch aaa
grub
find /aaa
root (hd0,0)
setup (hd0)

If failed to boot system....

Run live CD
grub-install --root-directory=/mnt /dev/sda1

No comments:

AVG Internet Security 2013

Total Pageviews

Contributors