Failing to boot from SDB1

Help with issues regarding installation of Debian

Re: Failing to boot from SDB1

Postby p.H » 2018-10-11 08:28

Three things are not to be confused.
- the boot device : device from which GRUB is booted as specified in the grub-install command.
- the GRUB root device : device where GRUB looks for files, as specified in the "root" GRUB environment variable, in GRUB syntax such as root=(hd0,1)
- the Linux root device : device which contains the root filesystem, as specified in the "root" kernel parameter, in Linux syntax such as root=/dev/sdb1 or root=UUID=xxx

Here the problem is in the root kernel parameter, not the root GRUB variable.
To correct it, don't start the GRUB shell (with "c").
At the GRUB menu, select desired menu entry (don't validate it) and press "e" to edit it. Note that any modification done is volatile, nothing is written on disk.
Look for a line starting with the keyword "linux". It should contain "root=/dev/sdb1".
Move the cursor to the line and replace "sdb1" with "sda1". Then press F10 to boot.
The system should start correctly. Then you can open a session, get a root shell and run update-grub to generate a correct /boot/grub/grub.cfg.
Check that the new grub.cfg has "root=UUID=xxx" in the "linux" commands instead of "root=/dev/sdb1".
p.H
 
Posts: 602
Joined: 2017-09-17 07:12

Re: Failing to boot from SDB1

Postby BPR » 2018-10-11 10:43

Ha! I bet you didn't expect this from me, but it worked! All fixed now :D
Except I had to press "e" on the splash screen, it opened the Grub screen, I found the "linux" line towards the bottom, replaced hdb1 with hda1, then pressed F10 to reboot- and .. ta-da!

Thank you so much! Thank you for your patience! You're a legend mate!!

One small problem - I went to check the "Install Packages" (Glib?) and it's empty - nothing at all. How do I load them up into the system?
BPR
 
Posts: 7
Joined: 2018-10-07 08:48

Re: Failing to boot from SDB1

Postby p.H » 2018-10-11 10:55

How did you "check the install packages" ? Did you run a Gnome thing (which I know nothing about) ?

I also wanted to warn about installing a standard system (not a live system) on USB thumb drives or SD cards because they do not have the same write endurance as SSDs and hard drives and may wear out fast.
p.H
 
Posts: 602
Joined: 2017-09-17 07:12

Re: Failing to boot from SDB1

Postby BPR » 2018-10-11 11:30

I was referring to Gdebi Package Installer - apparently there's no library for that, the packages must come pre-packaged with some flavours of Linux only.

Yes, I'm aware of the waring out of USB's

Basically, I'm trying to build a simple home theatre system with
Samba
mini-DLNA
VLC or Kodi
* I don't like the LibreElec (Transmission doesn't work on it)
BPR
 
Posts: 7
Joined: 2018-10-07 08:48

Re: Failing to boot from SDB1

Postby p.H » 2018-10-11 11:56

I don't know anything about Gdebi either, sorry. I manage packages with command line tools.
p.H
 
Posts: 602
Joined: 2017-09-17 07:12

Re: Failing to boot from SDB1

Postby Head_on_a_Stick » 2018-10-11 17:37

^ gdebi can also be used from the command line and obviates the need to manually install any dependencies (although apt(8) can now handle .debs in this way itself ofc).

OP: try using it from the command line so we can see the errors:
Code: Select all
# gdebi whatever.deb

This should probably have it's own thread though, I think I can split it if need be.
User avatar
Head_on_a_Stick
 
Posts: 8012
Joined: 2014-06-01 17:46
Location: /dev/chair

Previous

Return to Installation

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable