Single User Mode display problem

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Single User Mode display problem

Postby TheGreatSudoku on Mon Jun 13, 2011 8:21 am

This morning I had to boot into Single-User Mode in order to fsck my /home partition which was stuck in read-only mode. I ran into a minor annoyance once I got to the command line. After I issued the command:

$fsck /dev/sda3

the prompt disappeared and on a new line was printed:

ck

I typed in the rest of the command:

ck /dev/sda3

then printed on a new line was:

de

I type din the rest
dev/sda3

on and on until it finally ran the command. What setting do I have out of whack to cause this and how can I go about correcting it?
↯Acer Aspire 7730 17" laptop ↝ Intel Core Duo 2.00Ghz x2  4gig DDR2 RAM ⤗ Intel Mobile 4 Graphics ➫ Kernel: 3.2.0-14-liquorix ZEN SMP PREEMPT x86_64  Linux Mint Debian Edition using Sid Repositories ⇨ KDE 4.7.4 ⟿ Installed: 11/23/2010↯
User avatar
TheGreatSudoku
Level 3
Level 3
 
Posts: 149
Joined: Tue Dec 07, 2010 12:05 am

Linux Mint is funded by ads and donations.
 

Re: Single User Mode display problem

Postby Roken on Mon Jun 13, 2011 8:24 am

I've had this problem for ages and can't find a solution, but there's a workaround. Use teh bash prompt to enter an sh promt (enter sh if it's buffering two characters, or s <enter> h <enter><enter>) and you should drop to a none-bash working prompt.

It's only in single user mode that this happens. TTYs in a full running system are fine.
Kernel Linux Tex 3.2.2-1 (64 bit) xfce , burg
Arch
ATI Radeon HD 4670, 1GB
OSS4
AMD Phenom II X4 (965BE) @ 3.6 Ghz (Overclocked)
8Gb RAM
Image
User avatar
Roken
Level 5
Level 5
 
Posts: 747
Joined: Fri Nov 19, 2010 4:55 pm
Location: Oldham, UK

Re: Single User Mode display problem

Postby TheGreatSudoku on Mon Jun 13, 2011 7:41 pm

would changing root's login shell from /bin/bash to /bin/sh in /etc/passwd automatically fix this for single-user mode? or does single user-mode ignore the defualt shell setting?
↯Acer Aspire 7730 17" laptop ↝ Intel Core Duo 2.00Ghz x2  4gig DDR2 RAM ⤗ Intel Mobile 4 Graphics ➫ Kernel: 3.2.0-14-liquorix ZEN SMP PREEMPT x86_64  Linux Mint Debian Edition using Sid Repositories ⇨ KDE 4.7.4 ⟿ Installed: 11/23/2010↯
User avatar
TheGreatSudoku
Level 3
Level 3
 
Posts: 149
Joined: Tue Dec 07, 2010 12:05 am


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 6 guests