View previous topic :: View next topic |
Author |
Message |
jrambo n00b
Joined: 17 Feb 2015 Posts: 9
|
Posted: Tue Feb 17, 2015 9:30 pm Post subject: PC can't find my grub after clean new install |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54096 Location: 56N 3W
|
Posted: Tue Feb 17, 2015 11:09 pm Post subject: |
|
|
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 |
|
|
jrambo n00b
Joined: 17 Feb 2015 Posts: 9
|
Posted: Tue Feb 17, 2015 11:49 pm Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54096 Location: 56N 3W
|
Posted: Wed Feb 18, 2015 12:01 am Post subject: |
|
|
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 |
|
|
jrambo n00b
Joined: 17 Feb 2015 Posts: 9
|
Posted: Wed Feb 18, 2015 2:27 pm Post subject: |
|
|
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 |
|
|
|