Thread: lilo not working to restore mbr
i have dell windows 7 laptop unable boot: stops @ blinking cursor line after dell logo appears , unresponsive (i can load bios (f2) , boot menu (f12) before lock, that's it). unfortunately, don't have access win7 install disc, can't use microsoft's recovery tool.
following advice of threads such this one , this one, loaded ubuntu 11.04 live/preview option cd , tried running
the command exited terminal prompt without feedback (assuming finished ok). when rebooted machine, still got blinking cursor. there more lilo should system booting correctly again?code:sudo lilo -m /dev/sda mbr
tried more diagnosis make sure there wasn't more broken.
hd seems ok. using disk utility, can see hd (/dev/sda) split 3 partitions:
- dellutility, 41mb fat, /dev/sda1
- recovery, 16gb ntfs, /dev/sda2
- os, 304gb ntfs, /dev/sda3
if mount partition "os" via disk utility, can navigate mount point, , open several files (pdfs shouldn't matter), there doesn't seem data loss.
i noticed both fdisk , diskutility show /dev/sda2 bootable partition. should /dev/sda3 (os) partition bootable, rather /dev/sda2 (recovery)?code:ubuntu@ubuntu:~ $ sudo fdisk -lu disk /dev/sda: 320.1 gb, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes i/o size (minimum/optimal): 512 bytes / 512 bytes disk identifier: 0x5d633ed2 device boot start end blocks id system /dev/sda1 63 80324 40131 de dell utility /dev/sda2 * 81920 30801919 15360000 7 hpfs/ntfs /dev/sda3 30801920 625140399 297169240 7 hpfs/ntfs
you might need:
sudo lilo -m /dev/sda2 mbr
thing try before (just see if works) find boot key on computer (usually f8, f12, or esc) , press when first turn on computer. select hard drive list see if boots.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] lilo not working to restore mbr
Ubuntu
Comments
Post a Comment