Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
" reboot and select proper boot device" on boot
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
synchroniseYourDogmas
n00b
n00b


Joined: 10 Oct 2014
Posts: 4

PostPosted: Sat Oct 11, 2014 3:37 pm    Post subject: " reboot and select proper boot device" on boot Reply with quote

hello everyone. I'm having problems installing gentoo, specifically with grub, and would appreciate it if anyone could help me out.

Originally my laptop had windows 8 and Linux mint on it, and was uefi. I decided it was easier to set the firmware to BIOS compability mode and delete the efi partition. I got through the installation, choosing grub2, but when I reboot I get " reboot and select proper boot device or insert boot media in selected boot device and press a key"

I'll dig out the fdisk -l in a min, but I have set the boot flag to /boot, there is a BIOS partition, I installed grub to the right drive, and the firmware has secure boot off and legacy BIOS on. I would appreciate any advice anyone has.

Cheers
Back to top
View user's profile Send private message
synchroniseYourDogmas
n00b
n00b


Joined: 10 Oct 2014
Posts: 4

PostPosted: Sat Oct 11, 2014 3:47 pm    Post subject: Reply with quote

Fdisk -l

/dev/sda2 windows recovery environment
/dev/sda3 Microsoft reserved
/dev/sda4 Microsoft basic data
/dev/sda5 windows recovery environment

Sda6 Linux file system
Sda7 Linux swap
Sda9 windows recovery environment

Sdb1 BIOS partition
Sdb2 Intel fast flash
Sdb3 efi system
Sdb4 Linux filesystem

Sdb is my ssd. Sdb3 is /boot, sdb4 root, sda6 home.
Back to top
View user's profile Send private message
synchroniseYourDogmas
n00b
n00b


Joined: 10 Oct 2014
Posts: 4

PostPosted: Sat Oct 11, 2014 4:28 pm    Post subject: Reply with quote

I think I've found the problem - the only boot option is my DVD drive. But the BIOS can see both the HDD and add. Its just not letting me boot from them
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Oct 11, 2014 4:29 pm    Post subject: Reply with quote

synchroniseYourDogmas,

Welcome to Gentoo.

Some braindead BIOSes need the bootable flag set on a partition on the drive you want to boot from.

You can use fdisk for that. Its totally harmless to your install.
Code:
Device     Boot    Start        End    Sectors   Size Id Type
/dev/sda1  *          63      80324      80262  39.2M fd Linux raid autodetect
/dev/sda2          80325    1124549    1044225 509.9M 82 Linux swap / Solaris
/dev/sda4        1124550 1953520064 1952395515   931G  5 Extended
/dev/sda5        1124613   11631059   10506447     5G fd Linux raid autodetect
/dev/sda6       11631123 1953520064 1941888942   926G fd Linux raid autodetect

Notice the * in the Boot column.

A posting tip. If you had edited your original post to add the fdisk info, it would have been unaswered.
By making a new post, you thread dropped out of the unanswered posts search, which makes it less likely you thread is found.
_________________
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
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1696

PostPosted: Sat Oct 11, 2014 4:43 pm    Post subject: Reply with quote

Just a quick comment, grub2 does work really well with UEFI; while still being able to duel boot (I use it on my system, and never had a issue since). The biggest question is going to be, are you going want to duel boot back into windows or not? Windows is very picky on how it's installed, in that if it was originaly installed to boot through UEFI (last I heard, is the default for windows 8), it can't be converted to boot through BIOS (and same vise versa). I hear you could possibly, boot a BIOS mode OS through UEFI (does not work the other way), but it's not something that is fully supported, and may or may not work (my system doesn't support hybrid booting, so it doesn't work). Windows and Linux works fine with each other in EFI, without any issues; and you only need one EFI partition for the entire system (doesn't matter where the EFI partition is, in regarding which drive it's on).

So my suggestion right now, is IF you want to dual boot into Windows without reinstalling windows completely; go fix that first. From what you said, Windows 8 was installed in UEFI mode, so you have to restore the EFI partition all over.
Back to top
View user's profile Send private message
synchroniseYourDogmas
n00b
n00b


Joined: 10 Oct 2014
Posts: 4

PostPosted: Sat Oct 11, 2014 5:00 pm    Post subject: Reply with quote

Thanks for both of your replies. When I do fdisk -l it doesn't seem to have a flags column, nor does it have the a option to set flags. I'm using the gentoos live disc. Using parted though it does say that the boot flag is set. Is that how the BIOS detects boot options?

Yeah I was going to do uefi originally but I didn't think to emerge grub2 with the right options, and I don't mind not using windows, I can still access all the files from Linux.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Oct 11, 2014 8:52 pm    Post subject: Reply with quote

synchroniseYourDogmas,

Are you using a GPT partition table or an MSDOS partition table?

Code:
$ sudo fdisk -l /dev/sda
Password:

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos     <-------------------
Disk identifier: 0x0553caf4
or
Code:
$ sudo parted -l /dev/sda
Password:
Model: ATA WDC WD20EARS-00M (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt     <-------------------
Disk Flags:


Heres why it matters. When you make a GPT partition table, you get a 'protective' MSDOS partiton table for free too. The Two are in different places on the drive.
The GPT partition table starts in LBA 1, the MSDOS partition table is in the last 66 bytes of LBA0

Traditional BIOSes (not UEFI) often expect to read the MSDOS partition table and check that one partition has the bootable flag set.
Traditional BIOSes know nothing of GPT and will not read the GPT partiton table.
If you have a GPT partition table you have both. parted and newer fdisk will only show you the GPT partiton table, if its present but setting the bootable flag there won't help the BIOS.
You need to set the bootable flag on the 'protective' MSDOS partiton table because thats where the BIOS is looking.
That needs an old copy of fdisk, so it will show you the 'protective' MSDOS partiton table.
_________________
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
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