New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

B3 won't boot

Got problems with your B2 or B3? Share and get helped!
Post Reply
philgaskin
Posts: 55
Joined: 12 Oct 2010, 12:18
Location: United Kingdom

B3 won't boot

Post by philgaskin »

I shutdown my B3 to replace batteries in my UPS. When I reconnected it, I get the dreaded purple led. After 11 seconds the LED goes off briefly before turning purple forever.
I plan on trying rescuing it by USB but wondered if the LED flash identifies anything?
Any ideas?

Phil
philgaskin
Posts: 55
Joined: 12 Oct 2010, 12:18
Location: United Kingdom

Re: B3 won't boot

Post by philgaskin »

OK so I can get in using the rescue technique and I have also performed a reinstallation of just the root partition with no joy. Looking in the checkfs log it appears there is a problem with my home directory and maybe I need to be more patient because maybe it is reparing the filesystem with an fsck.
Is this correct? Or will it just sit here forever on the purple LED. i would have thought it would still allow me access via SSH if the root partition was good and just the home has a problem?
Any help is appreciated
Phil.
Gordon
Posts: 1462
Joined: 10 Aug 2011, 03:18

Re: B3 won't boot

Post by Gordon »

If it runs fsck during boot then you'll have to wait for that to finish before you can get back into the system. The problem here is that there is no console, so you can't answer any questions that this process may ask you. If you can boot it with the rescue USB you should be able to manually run fsck and that should be a lot less frustrating than waiting for the led to change colour.
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: B3 won't boot

Post by Cheeseboy »

I had a similar problem some time ago.
The problem with the rescue boot is that it hasn't got support for LVM, so you cannot do fsck on the /home file system when booted from that.

Please note that what I've put in the code segments below is written from my memory of doing this months ago. Please do not copy/paste, only use as a general guide.

What I did was:
1. Booted using the rescue USB

2. Mounted /dev/sda1:

Code: Select all

# mount -t ext3 /dev/sda1 /mnt
3. Edited /mnt/etc/fstab and commented out the line that mounts /home:

Code: Select all

#/dev/mapper/bubba-storage       /home   ext3    defaults        0       2
4. Created a new temporary home directory for me and admin on /dev/sda1

Code: Select all

# mkdir /mnt/home/yourusername
# mkdir /mnt/home/admin
# chmod -r 777 /mnt/home/*
5. I think I had problems getting it to boot without creating the file .bubbacfg in the temporary admin home directory.
I remember I had to copy the contents from my old B2.
This is the contents of mine:

Code: Select all

AllowRemote=no
default_locale=
hotfix=yes
network_profile=router
run_wizard=no
show_sideboard=0
6. Rebooted normally, ignoring all the errors in the logs caused by the missing /home/storage etc.

7. Made sure the LV was activated

Code: Select all

$ sudo lvs
(and if needed)

Code: Select all

$ sudo lvchange bubba/storage -a y
8. Ran fsck

Code: Select all

$ sudo fsck -t ext3 /dev/mapper/bubba-storage
9. Once done, rebooted with rescue stick, uncommented the line in fstab, removed temporary home directories, and reverted any other temporary changes I might have had to do to get it to boot, before finally booting normally again with everything working.
philgaskin
Posts: 55
Joined: 12 Oct 2010, 12:18
Location: United Kingdom

B3 won't boot

Post by philgaskin »

Thank you for your replies. It's a shame that there isn't some visual indication that fsck is running when you can't access via SSL. Maybe red on the LED.
Anyway I managed to finally get in although looking at the logs it seems my disk may be beyond saving
I managed to copy most of the files I hadn't already backed up although some failed with I/O errors. I rebooted and it went into another fsck session

So I have just ordered a new disk - at least my B3 is OK. I went for a WD red disk this time and hopefully will get more than 2 years life from it as it has a 3 year warranty
rog
Posts: 22
Joined: 22 Sep 2011, 00:19

Re: B3 won't boot

Post by rog »

I am having what seems to be a very similar problem - came home from work last week, and my B3 was just blinking purple at me. I haven't done anything with it yet, as I haven't backed it up in some time (like a jackass), and would really, really hate to lose the wordpress website that I'm running on it. I reckon I'll try the USB approach, and hopefully, I'll be able to back up /var (and whatever else needs to be backed up) from there.
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: B3 won't boot

Post by johannes »

sorry you are having problems. As a (small) consolidation - once you have your new drives up and running try returning the disks to WD, most of them have a 3 year warranty. You can check on their web site if the warranty is still valid (use the serial number on the disks).

...provided of course that our two-year warranty has expired, otherwise we'd be happy to help of course.
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
Post Reply