Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PC can't find my grub after clean new install
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
jrambo
n00b
n00b


Joined: 17 Feb 2015
Posts: 9

PostPosted: Tue Feb 17, 2015 9:30 pm    Post subject: PC can't find my grub after clean new install Reply with quote

I installed gentoo AMD64 very good documentation on gentoo wiki last time I used Gentoo distro it was around 2003.

As I said installed it 0 errors every thing looks good.
At the end I did a reboot.

System doesn't start, No bootable device --insert boot disk and press key.

I looked again partitions are there:

nr size Flags
1 3mb grub bios_grub
2 512mb boot
3 6144mb swap
4 900mb rootfs

I used parted but no problems there, no where, but system does not see my boot drive

Installed GRUB2
As on http://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader

Just now for the 2e time complete new install 0 errors all great final
umount and reboot

System doesn't start, No bootable device --insert boot disk and press key

Checked again it's there the grub?

Intel MB DP35DP
Harddisk Samsung

Any suggestions?
I really don't know anymore where to look...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Tue Feb 17, 2015 11:09 pm    Post subject: Reply with quote

jrambo,

I suspect you are mixing BIOS ang GPT.

At boot time, the BIOS checks the MSDOS partition table for a bootable flag and finds its not set.
Even with GPT you get a 'protective' MSDOS partition table.

Run
Code:
fdisk -t dos /dev/...
and set the bootable flag on the single MSDOS partition you find.
This will keep your BIOS happy and it will read grub.

You must not do any other operations on the MSDOS partition table.

-- edit --
Fixed the fdisk command.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jrambo
n00b
n00b


Joined: 17 Feb 2015
Posts: 9

PostPosted: Tue Feb 17, 2015 11:49 pm    Post subject: Reply with quote

NeddySeagoon wrote:
jrambo,

I suspect you are mixing BIOS ang GPT.

At boot time, the BIOS checks the MSDOS partition table for a bootable flag and finds its not set.
Even with GPT you get a 'protective' MSDOS partition table.

Run
Code:
fdisk -t dos /dev/...
and set the bootable flag on the single MSDOS partition you find.
This will keep your BIOS happy and it will read grub.

You must not do any other operations on the MSDOS partition table.

-- edit --
Fixed the fdisk command.


Thanks neddy that did it, but I do not know howto do that in linux...
I started a boot dos windows 98 I made along time ago and there I saw it.
Used an old mrbooter utillity.

Could you explain howto do this with linux parted or linux fdisk in both I had this problem.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Wed Feb 18, 2015 12:01 am    Post subject: Reply with quote

jrambo,

Your hard drive has two partition tables. The GPT one is actually used. The MSDOS one is a fake.
When a GPT partition table is present, by default, fdisk and parted will show you the GPT partition table.

fdisk -t dos tells fdisk that you really want to see the MSDOS partition table.

Once inside fdisk it will show you the commands. Windows has an fdisk command too but I was intending you to use the Linux one.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jrambo
n00b
n00b


Joined: 17 Feb 2015
Posts: 9

PostPosted: Wed Feb 18, 2015 2:27 pm    Post subject: Reply with quote

I see what you meant,

user $fdisk -t dos /dev/sda

Welcome to fdisk (util-linux 2.24.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): a
Partition number (1-4): 1

Command (m for help): w
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