View previous topic :: View next topic |
Author |
Message |
RayDude Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/132281152442769cccbb403.jpg)
Joined: 29 May 2004 Posts: 2094 Location: San Jose, CA
|
Posted: Fri Aug 28, 2020 5:04 pm Post subject: Laptop has sata cdrom as sdb / hd1 and grub confused[solved] |
|
|
I have an old ASUS laptop that has three sata devices. hd0 is my gentoo boot drive. hd1 is the cdrom. hd2 is a windows boot drive.
When I run grub mkconfig it detects windows on /dev/sdb and lists it in grub.cfg as hd1. This of course doesn't work.
Is there a way to make grub a bit smarter or am I going to have to hand edit grub.cfg from now on?
Thanks.
Edit: actually it's worse than this. If I run BIOS setup, save and let grub launch, then I can see all the drives. hd0 (gentoo), hd1 (cdrom), hd2 (windows).
Hand editing the grub.cfg file only works after I save BIOS.
When I reboot from gentoo, only hd0 shows up in grub.
I wonder why.
Update: I'm running the latest BIOS... _________________ Some day there will only be free software.
Last edited by RayDude on Sun Aug 30, 2020 9:44 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9896 Location: almost Mile High in the USA
|
Posted: Fri Aug 28, 2020 5:43 pm Post subject: |
|
|
Normally a device.map file is made in ${BOOT}/grub/device.map but may need to edit it with something like
can be used to map, but your bios problem may make this tougher. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RayDude Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/132281152442769cccbb403.jpg)
Joined: 29 May 2004 Posts: 2094 Location: San Jose, CA
|
Posted: Sun Aug 30, 2020 9:44 pm Post subject: |
|
|
eccerr0r wrote: | Normally a device.map file is made in ${BOOT}/grub/device.map but may need to edit it with something like
can be used to map, but your bios problem may make this tougher. |
Thank you. That fixed half the issue.
The other half was fixed by turning off fast boot in the BIOS. _________________ Some day there will only be free software. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|