Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub setup success, but no boot [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Tue Mar 24, 2009 5:59 am    Post subject: grub setup success, but no boot [solved] Reply with quote

I finished the setup where I ran setup on grub (FYI, I am uing grub-static because I am using the no-multilib profile):

Code:
rub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  18 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+18 p (hd0,0)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.



but upon reboot, it can't boot off this drive (which is the only hdd on the computer).

Code:
# fdisk -l /dev/sda

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8f06be97

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1306    10490413+  83  Linux
/dev/sda2            1307        3918    20980890   83  Linux
/dev/sda3            3919        4050     1060290   83  Linux
/dev/sda4            4051       19457   123756727+   5  Extended
/dev/sda5            4051        5095     8393931   83  Linux
/dev/sda6            5096        5749     5253223+  83  Linux
/dev/sda7            5750       19457   110109478+  83  Linux


[edit]Solved: stupid mistake. Forgot to toggle partition as Bootable[/edit]
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche


Last edited by mathfeel on Tue Mar 24, 2009 8:15 am; edited 1 time in total
Back to top
View user's profile Send private message
FlorianSchmidt
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2008
Posts: 77
Location: Germany

PostPosted: Tue Mar 24, 2009 6:33 am    Post subject: Reply with quote

Your boot partition is bigger than 1024 cylinders. You should check your BIOS settings wether you have LBA enabled.
_________________
-bash: :wq: command not found
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum