Debian bootloader problems

Peer

Well-Known Member
Credits
337
Code:
 Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf

udev 3,9G 0 3,9G 0% / dev
tmpfs 791M 9,7M 781M 2% / Durchlauf
/ dev / sdc1 25G 18G 5,6G 76% /
tmpfs 3,9G 14M 3,9G 1% / dev / shm
tmpfs 5,0M 4,0K 5,0M 1% / Ausführen / Sperren
tmpfs 3,9G 0 3,9G 0% / sys / fs / cgroup
tmpfs 791M 16K 791M 1% / run / user / 117
tmpfs 791M 48K 791M 1% / run / user / 1000
/ dev / sdd1 60G 35G 26G 58% / media / debian / SD_Card
/ dev / sdb2 28G 20G 7,1G 74% / media / debian / c1a3f09d-6239-45d7-9a81-3df860077479
/ dev / sda3 221G 69G 153G 32% / media / debian / Windows
 


wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
1,975
Thanks - that last line is the one I was hoping to see.

/ dev / sda3 221G 69G 153G 32% / media / debian / Windows
The part of my df -h output that relates to my Solid State Drive looks as below


Code:
/dev/sdc10       20G   12G  6.9G  64% /
/dev/sdc1       646M   76M  571M  12% /boot/efi
/dev/sdc3        55G   45G   11G  82% /media/chris/OS
/dev/sdc8        20G   12G  7.6G  60% /media/chris/TaraMATE-SSD
/dev/sdc7        20G  9.1G  9.6G  49% /media/chris/BeaverMATE-1-SSD
/dev/sdc13       20G  9.2G  9.5G  50% /media/chris/Robolinux10-SSD
/dev/sdc12       20G  9.5G  9.2G  51% /media/chris/MJRO-Xfce-SSD
/dev/sdc9        20G  8.1G   11G  44% /media/chris/SylMATE-winTEST
/dev/sdc11     1022M   12M 1011M   2% /media/chris/WIN-2-LINUX
CODE OUTPUT 1 - df -h output taken from Wizard's SSD running Linux Mint 19 Cinnamon (UEFI)


Below is another view of this, taken from Linux Lite 4.2 (which cannot be installed under UEFI) also on the Dell Inspiron, which has a 2TB HDD that I have temporarily set up as MBR.

Code:
 chris  ~  df -h | grep -i "/dev/sd"
/dev/sda2        20G  8.0G   11G  43% /
/dev/sdb10       20G   12G  7.0G  63% /media/chris/TaraCinnamon-SSD
/dev/sdb11     1022M   12M 1011M   2% /media/chris/WIN-2-LINUX
/dev/sdb12       20G  9.5G  9.2G  51% /media/chris/MJRO-Xfce-SSD
/dev/sdb13       20G  9.2G  9.5G  50% /media/chris/Robolinux10-SSD
/dev/sdb3        55G   45G   11G  82% /media/chris/OS
/dev/sdb7        20G  9.1G  9.6G  49% /media/chris/BeaverMATE-1-SSD
/dev/sdb8        20G   12G  7.6G  60% /media/chris/TaraMATE-SSD
/dev/sdb9        20G  8.1G   11G  44% /media/chris/SylMATE-winTEST
CODE OUTPUT 2 - df -h output taken from Wizard's HDD running Linux Lite 4.2 (CSM/Legacy)

Apart from the fact that one Distro reads my SSD as being /dev/sdc and the other reads it as /dev/sdb


Question - What is missing from Code Output 2?

The answer likely is related to your problem.

I have to go for a bit, but will be back when I can with further input :D

Wizard
 

Peer

Well-Known Member
Credits
337
the Debian live usb with I used to install debian doesn’t boot on the newer computer too.
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
1,975
I am not sure about that last Post but I will cover it later. :)

Any subsequent Helpers should take note here, please.

The bottom line here, is that you have your Debian "on a stick" not on a stick, but rather, on an SD card - a card that can go into a card reader, into perhaps cell phones or cameras. Is that so, my young friend?

The Ubuntu is actually on a legitimate USB stick, and it interacts fine with your new computer, and can also show Debian on its Grub Menu, and so boot into Debian that way.

Sadly, my knowledge on SD cards, currently, is limited to use with phones and cameras, not with Linux. I may change that, in time :p

You created the two "media" ( USB stick and SD Card) two different ways.

The Ubuntu stick was set up to recognise UEFI, which is on your computer - has to be because of Windows 10.

Windows 10 already has its own ESP - EFI System Partition - in place for Windows, yours is on /dev/sda1 and is 260MB in size. Mine is something around 500MB, set by Dell or Windows.

This can also be used to allow for both Ubuntu and Debian being installed, they can share with Windows.

The Debian SD card was set up as MBR (MS-DOS, Legacy, call it what you will).

Debian WILL work from it, but only under the conditions you have already experienced, through Ubuntu.

Further, even if you could get it up and working, with its own Grub Menu, that Menu would only show Ubuntu and Debian, it will not show Windows to boot into, because it will not recognise the Windows UEFI-based ESP.

The best way for it to work would be if you had 2 identical USB sticks, one with Ubuntu, one with Debian, installed under UEFI conditions, and sharing Windows' ESP.

BETTER though is -

Thanks - that last line is the one I was hoping to see.

Peer said:
/ dev / sda3 221G 69G 153G 32% / media / debian / Windows
... you could easily spare 50 to 100, even as much as 125 GB of what is currently occupied by Windows and is empty, to put both Debian and Ubuntu on.

I know you had some issues with Debian to fix, was it sound or wifi?

How did that go.

Think about all of the above, because I do not have a better option.

Cheers

Chris
 

Peer

Well-Known Member
Credits
337
Debian is on a real USB stick. Its a USB 3.3 stick by sandisk. I also have a sd card in my computer but its just musik on it.
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
1,975
OK so shall we try one more time?

Remove the SD music card.

Have both USB sticks in place on the new laptop.

Boot from the Ubuntu, and then issue

Code:
sudo fdisk -l
and report the output to us. Thanks.

Wizard
 

Peer

Well-Known Member
Credits
337
sudo fdisk -l
Code:
Festplatte /dev/sda: 238,5 GiB, 256060514304 Bytes, 500118192 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 5D6E80DB-9FF7-4BFF-AF01-04683CCBE81E

Gerät         Anfang      Ende  Sektoren  Größe Typ
/dev/sda1       2048    534527    532480   260M EFI-System
/dev/sda2     534528    567295     32768    16M Microsoft reserviert
/dev/sda3     567296 463101951 462534656 220,6G Microsoft Basisdaten
/dev/sda4  463101952 465108991   2007040   980M Windows-Wiederherstellungsumgebu
/dev/sda5  465108992 500105215  34996224  16,7G Microsoft Basisdaten




Festplatte /dev/sdc: 28,7 GiB, 30752636928 Bytes, 60063744 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: dos
Festplattenbezeichner: 0x908253d0

Gerät      Boot   Anfang     Ende Sektoren Größe Kn Typ
/dev/sdc1  *        2048 51857407 51855360 24,7G 83 Linux
/dev/sdc2       51859454 60061695  8202242  3,9G  5 Erweiterte
/dev/sdc5       51859456 60061695  8202240  3,9G 82 Linux Swap / Solaris


Festplatte /dev/sdb: 28,7 GiB, 30752636928 Bytes, 60063744 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: EB81F135-2E18-46F0-AECA-0E9EE381D0A2

Gerät       Anfang     Ende Sektoren Größe Typ
/dev/sdb1     2048  1050623  1048576  512M EFI-System
/dev/sdb2  1050624 60061695 59011072 28,1G Linux-Dateisystem
 

HOPIYA

New Member
Credits
0
[QUOTE = "Peer, post: 61508, member: 53431"] Je veux démarrer Debian sans utiliser le grub sur mon instllation Ubuntu.
Si je ne tire que mon installation Debian sur mon ordinateur, elle n’apparaît pas dans le menu de démarrage.
Mais c’est tout simplement ce qui se passe sur des ordinateurs plus récents, je peux démarrer Debian sans problème avec mon ancien labtop. [/ QUOTE]
Votre système bios (Basic Input Output System) est fondamentalement un niveau primitif. Il peut détecter des disques et effectuer certaines tâches très facilement sur le matériel.
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
1,975
@Peer the output is only showing the one USB stick, are both plugged in?

Wizard
 

Peer

Well-Known Member
Credits
337
again
Code:
Festplatte /dev/sda: 238,5 GiB, 256060514304 Bytes, 500118192 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 5D6E80DB-9FF7-4BFF-AF01-04683CCBE81E

Gerät         Anfang      Ende  Sektoren  Größe Typ
/dev/sda1       2048    534527    532480   260M EFI-System
/dev/sda2     534528    567295     32768    16M Microsoft reserviert
/dev/sda3     567296 463101951 462534656 220,6G Microsoft Basisdaten
/dev/sda4  463101952 465108991   2007040   980M Windows-Wiederherstellungsumgebu
/dev/sda5  465108992 500105215  34996224  16,7G Microsoft Basisdaten




Festplatte /dev/sdc: 28,7 GiB, 30752636928 Bytes, 60063744 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: dos
Festplattenbezeichner: 0x908253d0

Gerät      Boot   Anfang     Ende Sektoren Größe Kn Typ
/dev/sdc1  *        2048 51857407 51855360 24,7G 83 Linux
/dev/sdc2       51859454 60061695  8202242  3,9G  5 Erweiterte
/dev/sdc5       51859456 60061695  8202240  3,9G 82 Linux Swap / Solaris


Festplatte /dev/sdb: 28,7 GiB, 30752636928 Bytes, 60063744 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: EB81F135-2E18-46F0-AECA-0E9EE381D0A2

Gerät       Anfang     Ende Sektoren Größe Typ
/dev/sdb1     2048  1050623  1048576  512M EFI-System
/dev/sdb2  1050624 60061695 59011072 28,1G Linux-Dateisystem
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
1,975
My mistake, Peer, I humbly apologise :(. I did not scroll down with the output. :oops:

However, the result is as I expected. You have formatted and installed the two sticks in two different ways.

/dev/sdc has

Festplattenbezeichnungstyp: dos

/dev/sdb has

Festplattenbezeichnungstyp: gpt

Remind me which of Ubuntu and Debian is on which of /dev/sdb and /dev/sdc

Cheers

Chris
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
1,975
You installed Debian in October, was that on the new computer or the old?

You installed Ubuntu earlier than that, that must have been on the old, is that right?

Wizard
 


Members online


Top