[Fixed] Dual boot multiple hard drives

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
goatgonads

[Fixed] Dual boot multiple hard drives

Post by goatgonads »

I have tried every guide out there with no luck. I am trying to run mint on one hard drive and W7 on another with grub asking which to boot. I have yet to be able to get grub to show windows 7 at the boot menu. Any suggestions?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Leppie

Re: Dual boot multiple hard drives

Post by Leppie »

could you download and run the boot info script and post the generated RESULTS.txt?
goatgonads

Re: Dual boot multiple hard drives

Post by goatgonads »

============================= Boot Info Summary: ==============================

=> Windows is installed in the MBR of /dev/mapper/nvidia_bbbdaide
nvidia_bbbdaide1: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /bootmgr /Boot/BCD

nvidia_bbbdaide2: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files/dirs: /Windows/System32/winload.exe

sda: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: According to the info in the boot sector, sda has
268435454 sectors, but according to the info from
fdisk, it has 488397168 sectors.
Operating System:
Boot files/dirs:

=========================== Drive/Partition Info: =============================

Drive: nvidia_bbbdaide ___________________ _____________________________________________________

Disk /dev/mapper/nvidia_bbbdaide: 320.1 GB, 320072932352 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142446 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x7aedfc5e

Partition Boot Start End Size Id System

/dev/mapper/nvidia_bbbdaide1 * 2,048 206,847 204,800 7 HPFS/NTFS
/dev/mapper/nvidia_bbbdaide2 206,848 625,137,663 624,930,816 7 HPFS/NTFS


blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/mapper/nvidia_bbbdaide1 30CA5E7BCA5E3CF2 ntfs System Reserved
/dev/mapper/nvidia_bbbdaide2 B23C634F3C630E23 ntfs
/dev/sda 7E3C20873C203D11 ntfs
/dev/sdb1 c70d317e-4b77-42f9-ae53-58cbfc4ff61e ext4
/dev/sdb5 6fec1f72-e8ba-4bf8-a143-848b77573780 swap
/dev/sdc nvidia_raid_member

=============================== "ls -R /dev/mapper/" output: ===============================
/dev/mapper:
control
nvidia_bbbdaide
nvidia_bbbdaide1
nvidia_bbbdaide2

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sdb1 / ext4 (rw,errors=remount-ro)

=======Devices which don't seem to have a corresponding hard drive==============

sdd sde sdf sdg sdc: "pdc" and "nvidia" formats discovered (using nvidia)!
=============================== StdErr Messages: ===============================

ERROR: pdc: wrong # of devices in RAID set "pdc_ceiacbaeei" [1/2] on /dev/sdb
ERROR: removing inconsistent RAID set "pdc_ceiacbaeei"
ERROR: pdc: wrong # of devices in RAID set "pdc_ceiacbaeei" [1/2] on /dev/sdb
ERROR: only one argument allowed for this option
ERROR: pdc: wrong # of devices in RAID set "pdc_ceiacbaeei" [1/2] on /dev/sdb
ERROR: removing inconsistent RAID set "pdc_ceiacbaeei"
ERROR: pdc: wrong # of devices in RAID set "pdc_ceiacbaeei" [1/2] on /dev/sdb
ERROR: removing inconsistent RAID set "pdc_ceiacbaeei"
ERROR: pdc: wrong # of devices in RAID set "pdc_ceiacbaeei" [1/2] on /dev/sdb
ERROR: only one argument allowed for this option


I think there is something unintended going on. I did not install as a raid. Two of the drives were from a previous raid array, but have been formatted since, and the motherboard settings have been reverted. I am not sure if that is an issue or not.
Leppie

Re: Dual boot multiple hard drives

Post by Leppie »

the output seems to lack some things.
what is the output of the following command:

Code: Select all

sudo fdisk -l
goatgonads

Re: Dual boot multiple hard drives

Post by goatgonads »

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000b60bf

Device Boot Start End Blocks Id System
/dev/sda1 * 1 29164 234259798+ 83 Linux
/dev/sda2 29165 30401 9936202+ 5 Extended
/dev/sda5 29165 30401 9936171 82 Linux swap / Solaris

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x588b6bac

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 37332 299869258+ 83 Linux
/dev/sdb2 37333 38913 12699382+ 5 Extended
/dev/sdb5 37333 38913 12699351 82 Linux swap / Solaris

Disk /dev/sdc: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7aedfc5e

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sdc2 13 38914 312465408 7 HPFS/NTFS

Disk /dev/sdd: 64.1 GB, 64105742336 bytes
255 heads, 63 sectors/track, 7793 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000854a8

Device Boot Start End Blocks Id System
/dev/sdd1 1 7793 62597241 83 Linux
Leppie

Re: Dual boot multiple hard drives

Post by Leppie »

try removing the raid superblocks:

Code: Select all

sudo apt-get install mdadm
sudo mdadm --zero-superblock /dev/sdb1
sudo mdadm --zero-superblock /dev/sdc1
goatgonads

Re: Dual boot multiple hard drives

Post by goatgonads »

That seemed to get rid of the raid errors that I was seeing, so I found the following:

Code: Select all

sudo apt-get install os-prober
sudo os-prober
sudo mv /boot/grub/device.map /boot/grub/device.map.bak
sudo update-grub (came back clean)
reboot (all is well)
Fixed! Thanks for the hand, and fast response.
Locked

Return to “Installation & Boot”