Wednesday, June 12, 2013

Booting from Grub


  1. PC lama.... 
  2. Installed with Fedora but forgot the password...
  3. Cannot log in into windows due to blue screen crash
  4. Cannot get into the BIOS
  5. Always stumble upon the Grub menu
  6. Try to boot from USB installed with Ubuntu 13.04
  7. Follow the command below and successfully backup important data
  8. At the GRUB menu, hit the C key to enter command mode
grub> root (hd0,0)   # first harddrive, first partition
grub> find /[tab]    # type the slash then press [tab], and it will try to list files on this partition
Error 17: Cannot mount selected partition   # Oops no file system here
grub> root (hd0,1)   # first harddrive, second partition
grub> find /[tab]
 Possible files are: lost+found var etc media ...   # That was my hard drive with my linux install
grub> root (hd1,0)   # second hard drive usually is the USB drive if you have only one internal drive
grub> find /[tab]
 Possible files are: ldlinux.sys mydoc myfile mystick syslinux.cfg  # Bingo, that's the USB stick
  • Boot the drive by entering
chainloader +1
boot

[source]

No comments: