Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Xbian not starting: Can't access tty
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Xbian not starting: Can't access tty
10th Jul, 2013, 03:13 AM
Post: #1
harmenzon Offline
Registered
Posts: 74
Joined: Jan 2013
Reputation: 2
Xbian not starting: Can't access tty
Hi all,

After installing an using Xbian 1.0 beta successfully for a while, it suddenly stopped within the init process.
Code:
mount: mounting /dev/mcblk0p2 on /rootfs failed: No space left on device
Mounting root partition dev/mcblk0p2 failed

/bin/sh: can't access tty; job control turned off

Any suggestions how to solve this?
Find all posts by this user
Quote this message in a reply
10th Jul, 2013, 03:50 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Xbian not starting: Can't access tty
(10th Jul, 2013 03:13 AM)harmenzon Wrote:  Hi all,

After installing an using Xbian 1.0 beta successfully for a while, it suddenly stopped within the init process.
Code:
mount: mounting /dev/mcblk0p2 on /rootfs failed: No space left on device
Mounting root partition dev/mcblk0p2 failed

/bin/sh: can't access tty; job control turned off

Any suggestions how to solve this?

Can you reference here first. http://forum.xbian.org/announcements.php?aid=8

As a **wild** guess, I'd say your SD card is full.

1) What size SD card are you using?
2) What add-ons have you installed?
3) Have you copied *anything* onto the SD card?
4) Was it a *fresh* install or an upgrade?

From there, we *might* be able to assist.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
10th Jul, 2013, 05:49 AM
Post: #3
harmenzon Offline
Registered
Posts: 74
Joined: Jan 2013
Reputation: 2
RE: Xbian not starting: Can't access tty
Quote:1) What size SD card are you using?
16Gb
Quote:2) What add-ons have you installed?
Download package
Quote:3) Have you copied *anything* onto the SD card?
No, but probably downloaded.
Quote:4) Was it a *fresh* install or an upgrade?
fresh install

I agree with you, I think the SD card is full. But how do I get access to for example:
Code:
/home/xbian/incomplete
or more likely
Code:
/media/usb/incomplete
Find all posts by this user
Quote this message in a reply
10th Jul, 2013, 08:53 PM
Post: #4
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Xbian not starting: Can't access tty
(10th Jul, 2013 05:49 AM)harmenzon Wrote:  
Quote:1) What size SD card are you using?
16Gb
Quote:2) What add-ons have you installed?
Download package
Quote:3) Have you copied *anything* onto the SD card?
No, but probably downloaded.
Quote:4) Was it a *fresh* install or an upgrade?
fresh install

I agree with you, I think the SD card is full. But how do I get access to for example:
Code:
/home/xbian/incomplete
or more likely
Code:
/media/usb/incomplete

1) Try <cntl> <alt> <del> from the screen and see if that puts you in a login screen.
2) Use the SD card in another machine and edit the cmdline.txt file and add avoid_safe_mode=1 (This should put you in safe mode).
Try in the RPi
3) Rename cmdline.txt to cmdline.txt.bak
Try in the RPi
Hopefully, one of the above, will get you to a terminal screen.

Also see https://github.com/xbianonpi/xbian-package-initramfs/wiki/XBian-specific-cmdline.txt-options and the "rescue" options.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
10th Jul, 2013, 11:33 PM
Post: #5
harmenzon Offline
Registered
Posts: 74
Joined: Jan 2013
Reputation: 2
RE: Xbian not starting: Can't access tty
Quote:1) Try <cntl> <alt> <del> from the screen and see if that puts you in a login screen.
2) Use the SD card in another machine and edit the cmdline.txt file and add avoid_safe_mode=1 (This should put you in safe mode).
Try in the RPi
3) Rename cmdline.txt to cmdline.txt.bak
Try in the RPi
Hopefully, one of the above, will get you to a terminal screen.

Also see https://github.com/xbianonpi/xbian-package-initramfs/wiki/XBian-specific-cmdline.txt-options and the "rescue" options.

Unfortunately, all the above failed. I will start a fresh install again.
Too bad that I have to configure all the download packages again...
Find all posts by this user
Quote this message in a reply
11th Jul, 2013, 01:10 PM
Post: #6
rbellamy Offline
Registered
Posts: 21
Joined: May 2013
Reputation: 2
RE: Xbian not starting: Can't access tty
I have the same issue.

/dev/mmcblk0p2 30G 414M 30G 2% /run/media/rbellamy/xbian-root-btrfs
/dev/mmcblk0p1 34M 20M 15M 59% /run/media/rbellamy/8B12-9112

Clearly my SD card isn't full.

@harmenzon - did you by chance do a kernel upgrade before the boot failure? or were you using the the experimental "partswap" switch in cmdline.txt?
Find all posts by this user
Quote this message in a reply
15th Jul, 2013, 06:01 AM
Post: #7
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Xbian not starting: Can't access tty
(10th Jul, 2013 03:13 AM)harmenzon Wrote:  Any suggestions how to solve this?

try to mount readonly first, then umount and mount with rw again.

(you can do it from the shell you are dropping into after the error. just to "mount -o ro /dev/mmcblk0p2 /rootfs", "umount /rootfs", "mount -o rw …"

if you succeed with ro option, check dmesg | tail for any messages relevant to btrfs. in nothing, you can always put "debug" into cmdline.txt to force lot of debugging info.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
29th Sep, 2013, 03:57 AM
Post: #8
kas_27_es Offline
Registered
Posts: 58
Joined: Jan 2013
Reputation: 0
RE: Xbian not starting: Can't access tty
hi all!

I had the same problem: starting xbian, it stopped at init process....

Well, after read your post, I decided to do somethig: start xbian but first unplug the hard disk... Solved, xbian start fine again.
Find all posts by this user
Quote this message in a reply
29th Sep, 2013, 12:56 PM
Post: #9
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Xbian not starting: Can't access tty
@kas_27_es

is the mentioned disk listed in /etc/fstab ? if so, can you try adding "nobootwait" parameter to mount options and try again ?



(11th Jul, 2013 01:10 PM)rbellamy Wrote:  I have the same issue.

/dev/mmcblk0p2 30G 414M 30G 2% /run/media/rbellamy/xbian-root-btrfs
/dev/mmcblk0p1 34M 20M 15M 59% /run/media/rbellamy/8B12-9112

Clearly my SD card isn't full.

@harmenzon - did you by chance do a kernel upgrade before the boot failure? or were you using the the experimental "partswap" switch in cmdline.txt?

can you put "rescue" into cmdline.txt and in the shell you will be dropped to do:
Code:
mount -o subvol=/ /dev/mmcblk0p2 /tmp
btrfs sub list /tmp

if you see
Code:
root/@safe
home/@safe

you can remove them with
Code:
btrfs sub delete /tmp/root/@safe
btrfs sub delete /tmp/home/@safe

can you post "btrfs fi df /tmp" - in case you are still in the shell. if you can boot 'normally' then it's "btrfs fi df /" .

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 12:45 AM Powered By MyBB, © 2002-2025 MyBB Group.