Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[solved] How to boot without external HDD
[solved] How to boot without external HDD
my system runs Debian Stretch 9.6
internal I have an M2.SSD on which the system is installed.
externally I have an usb3 HDD.
for this disk I have a line in my /etc/fstab so the disk mounts at boot.
there is also a setting for sharing files on this external disk in /etc/samba/smb.conf
ok, no problem
when I shut down my system, remove the usbhdd, my system does not boot, but goes in Emergency Mode
so, I commented out the line for this disk in /etc/fstab
system does not boot.
after reconnecting the usbhdd, it booted again properly.
so, how can I boot my system without the usbhdd ??
internal I have an M2.SSD on which the system is installed.
externally I have an usb3 HDD.
for this disk I have a line in my /etc/fstab so the disk mounts at boot.
there is also a setting for sharing files on this external disk in /etc/samba/smb.conf
ok, no problem
when I shut down my system, remove the usbhdd, my system does not boot, but goes in Emergency Mode
so, I commented out the line for this disk in /etc/fstab
system does not boot.
after reconnecting the usbhdd, it booted again properly.
so, how can I boot my system without the usbhdd ??
Last edited by fred44nl on 2018-12-22 09:48, edited 1 time in total.
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
Re: How to boot without external HDD
Does the fstab line for the external hdd include noauto -option?
Re: How to boot without external HDD
no, it does not.arzgi wrote:Does the fstab line for the external hdd include noauto -option?
this is the line:
but before disconnecting the usbhdd, I have this line commented out.UUID=cdd8bbd9-285b-45e8-ad06-ab29e7997e0b /mnt/usbhdd ext4 defaults 0 1
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
Re: How to boot without external HDD
I have added "nofail" and "x-systemd.device-timeout=10" to line for mounting the usbhdd in /etc/fstab
the boot-process now continues, also when the usbhdd is not connected.
the boot-process now continues, also when the usbhdd is not connected.
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: [solved] How to boot without external HDD
I would be very interested to see the journal contents for the failed boot with the fstab line deleted.fred44nl wrote:when I shut down my system, remove the usbhdd, my system does not boot, but goes in Emergency Mode
so, I commented out the line for this disk in /etc/fstab
system does not boot.
Enable a persistent journal with
Code: Select all
# mkdir -p /var/log/journal
Code: Select all
journalctl -b -1
The journal can be reset to non-persistent operation by deleting /var/log/journal
deadbang
Re: [solved] How to boot without external HDD
what do you mean here ??Head_on_a_Stick wrote:Please use code tags for the output, thanks!
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: [solved] How to boot without external HDD
It should be OK as long as you use code tags but http://paste.debian.net/ may be better if it's very longfred44nl wrote:what do you mean here ??
deadbang
Re: [solved] How to boot without external HDD
OK, I'll work on that.Head_on_a_Stick wrote:It should be OK as long as you use code tags but http://paste.debian.net/ may be better if it's very longfred44nl wrote:what do you mean here ??
probably to-morrow.
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
Re: [solved] How to boot without external HDD
just saw you question again.Head_on_a_Stick wrote: I would be very interested to see the journal contents for the failed boot with the fstab line deleted.
but there is no failed boot, when the fstab line is deleted.
this only happened when the line was there.
I assume there was a misunderstanding here
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: [solved] How to boot without external HDD
Ah, OK, my mistake then.fred44nl wrote:but there is no failed boot, when the fstab line is deleted.
this only happened when the line was there.
That clears up my confusion at least
deadbang
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: [solved] How to boot without external HDD
The above statement does not match the below quote from your original post :fred44nl wrote:but there is no failed boot, when the fstab line is deleted.
this only happened when the line was there.
fred44nl wrote:so, I commented out the line for this disk in /etc/fstab
system does not boot.
Re: [solved] How to boot without external HDD
yes, sorry about that.p.H wrote: The above statement does not match the below quote from your original post :fred44nl wrote:so, I commented out the line for this disk in /etc/fstab
system does not boot.
anyways, the problem is clear and solved.
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1