Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've tried different distributions and kernel versions. It boots normally from a flash drive and CD, but hangs almost immediately after I select Linux in GRUB when booting from the hard drive.

fstab:

# 
# /etc/fstab: static file system information
#
# <file system>     <dir>    <type>     <options>                 <dump>  <pass>
# UUID=0fa7978a-cdc8-4320-a0a5-93b2e77a15fa
/dev/sda5           /         ext4      rw,relatime,data=ordered  0       2

grub.cfg: http://pastebin.com/KerD8BLe

share|improve this question
    
post us the content of your grub and your fstab present on the HDD installation please –  Lorenzo Von Matterhorn Jan 10 '13 at 19:28
    
@Znau, added grub.cfg and fstab to question –  user187015 Jan 10 '13 at 19:39
    
i meant the file /boot/grub/menu.lst –  Lorenzo Von Matterhorn Jan 10 '13 at 23:26
    
@Znau, I use grub2. List of operating systems is in /boot/grub/grub.cfg –  user187015 Jan 10 '13 at 23:35
    
added an answer, hope it helps –  Lorenzo Von Matterhorn Jan 10 '13 at 23:43

1 Answer 1

Pick the line in grub making refference for your linux menu entry and change the value after the comma to "5", as your linux OS is booting from sda5. should look something like

   menuentry "Linux" {
insmod ufs2
set root=(hd1,1)
chainloader +1
} 

so in your case, it would be root = (hd0,5)

share|improve this answer
    
it is GRUB2. grub.cfg is generated by script. There is set root='hd0,msdos5' for each linux entry. It finds and starts booting kernel but freezes on some point. –  user187015 Jan 11 '13 at 18:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.