LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Can't install GRUB (Debian Buster) during installation on portable SSD Samsung T5 drive and latest win 10 pro not detected (https://www.linuxquestions.org/questions/debian-26/cant-install-grub-debian-buster-during-installation-on-portable-ssd-samsung-t5-drive-and-latest-win-10-pro-not-detected-4175667370/)

PicardDefendingData 01-09-2020 08:19 AM

Can't install GRUB (Debian Buster) during installation on portable SSD Samsung T5 drive and latest win 10 pro not detected
 
I am trying to install Debian Buster on a portable Samsung T5 SSD drive and I have windows 10 Pro installed already on a separate internal laptop (Lenovo) drive.

But I can't install GRUB. GRUB is saying failed to install on the hard drive where the Debian buster is being installed. And Grub is not detecting the latest Windows Pro either. Here is the error log saved from the HTTP server.

Can anybody kindly tell me what I should do?

I have kept the installation screen open. I did not turn it off. So I can fix it at the installation point.




Code:

14:01:46 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sdb1
Jan  9 14:01:46 50mounted-tests: debug: /dev/sdb1 type not recognised; skipping
Jan  9 14:01:46 os-prober: debug: os detected by /usr/lib/os-probes/50mounted-tests
Jan  9 14:01:46 os-prober: debug: /dev/sdb3: is active swap
Jan  9 14:01:46 os-prober: debug: running /usr/lib/os-probes/mounted/05efi on mounted /dev/sdc1
Jan  9 14:01:46 05efi: debug: Not on UEFI platform
Jan  9 14:01:46 os-prober: debug: running /usr/lib/os-probes/mounted/10freedos on mounted /dev/sdc1
Jan  9 14:01:46 10freedos: debug: /dev/sdc1 is a FAT32 partition
Jan  9 14:01:46 os-prober: debug: running /usr/lib/os-probes/mounted/10qnx on mounted /dev/sdc1
Jan  9 14:01:46 10qnx: debug: /dev/sdc1 is not a QNX4 partition: exiting
Jan  9 14:01:46 os-prober: debug: running /usr/lib/os-probes/mounted/20macosx on mounted /dev/sdc1
Jan  9 14:01:46 macosx-prober: debug: /dev/sdc1 is not an HFS+ partition: exiting
Jan  9 14:01:46 os-prober: debug: running /usr/lib/os-probes/mounted/20microsoft on mounted /dev/sdc1
Jan  9 14:01:46 20microsoft: debug: /dev/sdc1 is a FAT32 partition
Jan  9 14:01:46 os-prober: debug: running /usr/lib/os-probes/mounted/30utility on mounted /dev/sdc1
Jan  9 14:01:46 30utility: debug: /dev/sdc1 is a FAT32 partition
Jan  9 14:01:46 os-prober: debug: running /usr/lib/os-probes/mounted/40lsb on mounted /dev/sdc1
Jan  9 14:01:46 os-prober: debug: running /usr/lib/os-probes/mounted/70hurd on mounted /dev/sdc1
Jan  9 14:01:46 os-prober: debug: running /usr/lib/os-probes/mounted/80minix on mounted /dev/sdc1
Jan  9 14:01:46 os-prober: debug: running /usr/lib/os-probes/mounted/83haiku on mounted /dev/sdc1
Jan  9 14:01:46 83haiku: debug: /dev/sdc1 is not a BeFS partition: exiting
Jan  9 14:01:46 os-prober: debug: running /usr/lib/os-probes/mounted/90linux-distro on mounted /dev/sdc1
Jan  9 14:01:46 os-prober: debug: running /usr/lib/os-probes/mounted/90solaris on mounted /dev/sdc1
Jan  9 14:01:53 grub-installer: info: Installing grub on '/dev/sda'
Jan  9 14:01:53 grub-installer: info: grub-install does not support --no-floppy
Jan  9 14:01:53 grub-installer: info: Running chroot /target grub-install  --force "/dev/sda"
Jan  9 14:01:53 grub-installer: Installing for i386-pc platform.
Jan  9 14:01:55 grub-installer: grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
Jan  9 14:01:55 grub-installer: grub-install: error: embedding is not possible, but this is required for cross-disk install.
Jan  9 14:01:55 grub-installer: error: Running 'grub-install  --force "/dev/sda"' failed.
Jan  9 14:01:58 main-menu[405]: (process:26948): dpkg-divert: warning: diverting file '/sbin/start-stop-daemon' from an Essential package with rename is dangerous, use --no-rename
Jan  9 14:01:58 main-menu[405]: (process:26948): dpkg-divert: warning: diverting file '/sbin/start-stop-daemon' from an Essential package with rename is dangerous, use --no-rename
Jan  9 14:01:58 main-menu[405]: (process:26948): File descriptor 3 (pipe:[12043]) leaked on lvdisplay invocation. Parent PID 27138: /bin/sh
Jan  9 14:01:58 main-menu[405]: (process:26948): File descriptor 4 (/dev/tty0) leaked on lvdisplay invocation. Parent PID 27138: /bin/sh
Jan  9 14:01:58 main-menu[405]: (process:26948): File descriptor 5 (/dev/tty0) leaked on lvdisplay invocation. Parent PID 27138: /bin/sh
Jan  9 14:01:58 main-menu[405]: (process:26948): File descriptor 6 (/dev/tty0) leaked on lvdisplay invocation. Parent PID 27138: /bin/sh
Jan  9 14:01:58 main-menu[405]: (process:26948):  Volume group "sdb" not found
Jan  9 14:01:58 main-menu[405]: (process:26948):  Cannot process volume group sdb
Jan  9 14:01:58 main-menu[405]: (process:26948): dpkg-divert: warning: diverting file '/sbin/start-stop-daemon' from an Essential package with rename is dangerous, use --no-rename
Jan  9 14:01:58 main-menu[405]: WARNING **: Configuring 'grub-installer' failed with error code 1
Jan  9 14:01:58 main-menu[405]: WARNING **: Menu item 'grub-installer' failed.
Jan  9 14:02:13 main-menu[405]: INFO: Modifying debconf priority limit from 'high' to 'medium'
Jan  9 14:02:13 debconf: Setting debconf/priority to medium
Jan  9 14:02:14 main-menu[405]: DEBUG: resolver (libgcc1): package doesn't exist (ignored)
Jan  9 14:02:14 main-menu[405]: INFO: Falling back to the package description for brltty-udeb
Jan  9 14:02:41 main-menu[405]: INFO: Falling back to the package description for brltty-udeb
Jan  9 14:02:41 main-menu[405]: INFO: Menu item 'save-logs' selected
Jan  9 14:03:30 kernel: [  963.817265] TCP: request_sock_TCP: Possible SYN flooding on port 80. Sending cookies.  Check SNMP counters.
Jan  9 14:03:33 kernel: [  966.479886] TCP: request_sock_TCP: Possible SYN flooding on port 80. Sending cookies.  Check SNMP counters.


yancek 01-09-2020 11:32 AM

The most common reason for a Linux OS to not see a windows 8/10 is due to the user failing to turn off fastboot and anything related to hibernation. I would suggest you do that, thousands of sites w/detailed explanation of the process. If you maintain the dual boot, be aware that some windows updates will turn hibernation/fastboot back on and of course, will not ask if you want that or inform you that it is happening.

There are references to 3 drives in your output, sda, sdb and sdc with sdc1 being an EFI partition. It is trying to install Grub to sda. Your problem is explained in the line below from your output. You are doing a legacy install of Debian rather than an EFI so you need to either create the BIOS Boot partition or reinstall Debian EFI. If you do a legacy install of Debian, it will not boot the windows EFI so you will need to do that from the BIOS, your choice.

Quote:

grub-install: warning: this GPT partition label contains no BIOS Boot Partition

PicardDefendingData 01-09-2020 11:34 AM

Solved the problem. Completely erased and zeroed in the hard drive with dd tool. Then installed by logging into Debian Xfce Live All Non-Free firmware USB key.

Installed from the desktop environment. It was a breeze.

Lightdm is the best display manager. I am liking it very much. Enjoying every bit of Xfce.


Actually there should be a vote about which display manager is the best. Lightdm is a lightweight component and loads like a breeze and super cool graphics.


Thanks, Debian for making my day. Every effort I have put into dual booting windows 10 pro on internal SSD drive connected to PCI express port and Debian Buster on portable SSD drive last night till now was worth it. That is the main reason I love Linux and technology. Again thanks Linux community. It wouldn't be possible without you.

I am just ecstatic to get my system exactly like the way I always wanted.

PicardDefendingData 01-09-2020 11:47 AM

Quote:

Originally Posted by yancek (Post 6076371)
The most common reason for a Linux OS to not see a windows 8/10 is due to the user failing to turn off fastboot and anything related to hibernation. I would suggest you do that, thousands of sites w/detailed explanation of the process. If you maintain the dual boot, be aware that some windows updates will turn hibernation/fastboot back on and of course, will not ask if you want that or inform you that it is happening.

There are references to 3 drives in your output, sda, sdb and sdc with sdc1 being an EFI partition. It is trying to install Grub to sda. Your problem is explained in the line below from your output. You are doing a legacy install of Debian rather than an EFI so you need to either create the BIOS Boot partition or reinstall Debian EFI. If you do a legacy install of Debian, it will not boot the windows EFI so you will need to do that from the BIOS, your choice.

Thank you very much Yancek. I have stopped, disabled, again stopped, applied and okayed Windows Update service from the Services manager so I don't have any updates.

I will do it manually.

Last time an anniversary update completely derailed my Windows 10 Home system. So this precaution. I have turned on windows defender and installed security essentials and firewall is turned on. I don't like Adobe All in one pack Firewall and Antivirus. I bought it. For two years. It made my dad's system unstable by automatically deleting certain files. So I uninstalled them from all computers. Thanks for your help.

hazel 01-09-2020 11:48 AM

Quote:

Originally Posted by PicardDefendingData (Post 6076375)
Actually there should be a vote about which display manager is the best. Lightdm is a lightweight component and loads like a breeze and super cool graphics.

You could go to the LQ feedback forum and suggest putting one in the annual votes. I've just checked and I couldn't find an entry for display managers.


All times are GMT -5. The time now is 06:17 AM.