peerk
Posts: 2
Joined: Fri May 23, 2014 7:20 am

Boot fail because of missing disk

Fri May 23, 2014 12:36 pm

Hi,

My Pi sits on a network with no monitor. I have a faulty external USB drive that is no longer there - but listed in fstab.

I only have a Mac where I can mount the boot SD card - and can't see fstab. Can I do something to make Pi ignore the missing disk and finish booting so sshd is started?

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: Boot fail because of missing disk

Fri May 23, 2014 12:43 pm

Does the USB drive provide part of the file system or just simply auto mounted drive??

Try safe mode perhaps this could bypass the error message http://elinux.org/RPI_safe_mode

Richard S.

User avatar
DougieLawson
Posts: 39303
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Boot fail because of missing disk

Fri May 23, 2014 1:07 pm

Get a new SDCard and a USB SDCard reader. Stick a copy of Raspbian (or NOOBS/Raspbian) on the new SDCard.

Boot that. Plug in the SDCard reader with the broken card in there.

sudo mount /dev/sda6 /mnt # if NOOBS
sudo mount /dev/sda2 /mnt # if not NOOBS

sudo nano /mnt/etc/fstab

sudo shutdown -h now

Swap the cards back and boot normally.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Boot fail because of missing disk

Fri May 23, 2014 2:21 pm

Or, more simply, do the:

Code: Select all

init=/bin/bash
trick.
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

Return to “Troubleshooting”