installed ubuntu 11.10 on usb pen

Asked by rajan_bhirud

installed ubuntu 11.10 image on a 4gb usb pen drive using windows installer. It was working fine. but all of a sudden I can not get past orange screen that keeps moving horizontal bar from left to right. I can not get to gui.
please help.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ubiquity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Hi ,

Installing Ubuntu in a Usb pen is not a good idea. Usb pen drives have not durability that needed to run an Operating System.

Is almost sure that eventually Usb pen will fail.

Is much better to leave the Usb in FAT32 filesystem and make an Ubuntu Live USB with persistence space (persistence space can be used to store your personal settings).

So you will can carry on an Ubuntu system that will load on almost every machine and you will have your settings stored too.

The tool that do this job , already included in LiveCd/Usb and called "StartUp Disk Creator" . When you open the applicaton look down at the window for persistent space.

Thanks

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#2

Oh , and I suggest Ubuntu 12.04 instead of 11.10.

         Thanks

Revision history for this message
rajan_bhirud (rajan-bhirud) said :
#3

I did not install Ubuntu on USB. It is the LiveCD image that I installed on USB. USB seems to be fine. I am able to go up to the screen that says Ubuntu and there are 5 red dots below that. These 5 dots turn red and white continuously but after that I do not get upto the GUI. Those dots keep changing the colors and that window stays forever. I am assuming that my LiveCD image on USB is damaged. I have some important pictures and favorites in the browser on this USB. How do I repair the LiveCD image on USB without losing my personal pictures and favorites?

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#4

On 09/16/2012 01:01 AM, rajan_bhirud wrote:
> Question #208671 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/208671
>
> rajan_bhirud posted a new comment:
> I did not install Ubuntu on USB. It is the LiveCD image that I installed
> on USB. USB seems to be fine. I am able to go up to the screen that says
> Ubuntu and there are 5 red dots below that. These 5 dots turn red and
> white continuously but after that I do not get upto the GUI. Those dots
> keep changing the colors and that window stays forever. I am assuming
> that my LiveCD image on USB is damaged. I have some important pictures
> and favorites in the browser on this USB. How do I repair the LiveCD
> image on USB without losing my personal pictures and favorites?
>

Hi ,
OK, then I misunderstood.

First , try to change Usb port and see if problem corrected. When you
see the dots flashing , you can press ESC and see any helpful messages.

If you are out of luck , then create another Live Usb and through the
new Live/Usb you can retrieve the pictures and/or any other personal
data from the old corrupted Live/Usb.

Thanks

Revision history for this message
José Antonio Rey (jose) said :
#5

Did you MD5 the .iso file you downloaded?

Revision history for this message
rajan_bhirud (rajan-bhirud) said :
#6

when I hit ESC I see following messages
Begin: Loading essential drivers ... done
Begin: Running /scripts/init-premount ... done
Begin: Mounting root file system ...Begin: Running /scripts/casper-premount ... done.

...

...

Begin: Creating debconf-communicate fifo mechanism ... done
Begin: Movinf mount points ---- done
Begin: Adding live session user ... ... Use of uninitialized value $valu in substitution (s///) at /usr/share/per15/Debconf/Format/822.pm line 65, <$_ANONIO__> line 1.
Use of uninitialized value $item in hash element at /usr/share/per15/Debconf/DbDriver/File.pm line 77, <$_AMONIO__> chunk 1.

And that is it. It stops here.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#7

On 09/16/2012 10:16 AM, rajan_bhirud wrote:
> Question #208671 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/208671
>
> rajan_bhirud posted a new comment:
> when I hit ESC I see following messages
> Begin: Loading essential drivers ... done
> Begin: Running /scripts/init-premount ... done
> Begin: Mounting root file system ...Begin: Running /scripts/casper-premount ... done.
>
> ...
>
> ...
>
> Begin: Creating debconf-communicate fifo mechanism ... done
> Begin: Movinf mount points ---- done
> Begin: Adding live session user ... ... Use of uninitialized value $valu in substitution (s///) at /usr/share/per15/Debconf/Format/822.pm line 65, <$_ANONIO__> line 1.
> Use of uninitialized value $item in hash element at /usr/share/per15/Debconf/DbDriver/File.pm line 77, <$_AMONIO__> chunk 1.
>
> And that is it. It stops here.
>

Press Ctrl+Alt+F2 and login there with your username & password.

Then give bellow commands , with same order.

sudo service lightdm stop
sudo service lightdm start

Thanks

Revision history for this message
rajan_bhirud (rajan-bhirud) said :
#8

After installing the Ubuntu Light image on my USB pen drive I never had to use user name or password. I always used to go directly to gui. So not sure what user name and password should I use?

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#9

Correct. !!!

It is a LiveUSb , not a regular install in Usb. I confused again :=(

I have nothing else to suggest but follow the idea on answer #4 and create another LiveUsb and copy your files.

Maybe a nomodeset option can resolve your problem ? take a look here : http://ubuntuforums.org/showthread.php?t=1613132

Thanks

Revision history for this message
rajan_bhirud (rajan-bhirud) said :
#10

I can read two warnings

Unable to find the persistent home medium

Impossible to include the casper-sn snapshot

mounting unchecked fs, running e2fsck is recommended.

how do I go to the prompt and issue e2fsck command?

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#11

On 09/17/2012 12:11 AM, rajan_bhirud wrote:
> Question #208671 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/208671
>
> rajan_bhirud posted a new comment:
> I can read two warnings
>
> Unable to find the persistent home medium
>
> Impossible to include the casper-sn snapshot
>
> mounting unchecked fs, running e2fsck is recommended.
>
> how do I go to the prompt and issue e2fsck command?
>

Good Info.

How did you create the LiveUsb in first place ? With Unetbootin or
Usb-creator (ubuntu app) .

  *persistent*
               Casper will look for persistent and snapshot partitions or files
               labeled "casper-rw", "home-rw", and files called "casper-sn*",
               "home-sn*" and will try to, in order: mount as /cow the first,
               mount the second in/home <file:/home>, and just copy the contents of the
               latter in appropriate locations (snapshots). Snapshots will be
               tried to be updated on reboot/shutdown. Look atcasper- <http://manpages.ubuntu.com/manpages/precise/man1/caspersnapshot.1.html>
               snapshot <http://manpages.ubuntu.com/manpages/precise/man1/caspersnapshot.1.html>(1) for more informations.

  http://manpages.ubuntu.com/manpages/precise/man7/casper.7.html

So try to search for the casper-sn file inside usb and see if exists.
Also try to find the .cfg boot file and open it (with an editor) and see if persistent casper-sn parameters are written in boot , as options.

e2fsck manpage is here: http://manpages.ubuntu.com/manpages/precise/man8/fsck.8.html

As a general command :
sudo e2fsck -p -f -v /dev/sdX?

where X and ? are the letter of the partition and the number.

Thanks

Revision history for this message
rajan_bhirud (rajan-bhirud) said :
#12

I used this link to create a bootable USB Pendrive with Live image on it.
http://www.ubuntu.com/download/help/create-a-usb-stick-on-windows

Revision history for this message
rajan_bhirud (rajan-bhirud) said :
#13

Hello I was able to get into gui.
But I am not able to see my pictures and favorites.
So I am assuming that I am suppose to logout and login as some one else.
I never created any users and I have been using 11.10 desktop as is installed as live on bootable usb.
So I treid to logout.
Now I see a window that says

Other
Username

And there is a Prompt for me to type something in it.

If I click on the wheel on the right side I see two values in it.
Ubuntu
Ubuntu 2D

What are the possible default usernames and passwords that are in Ubuntu 11.10 Desktop Live Image?

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#14

On 09/17/2012 02:56 AM, rajan_bhirud wrote:
>
> Other
> Username
>
> And there is a Prompt for me to type something in it.
>
> If I click on the wheel on the right side I see two values in it.
> Ubuntu
> Ubuntu 2D
>
> What are the possible default usernames and passwords that are in Ubuntu
> 11.10 Desktop Live Image?
>

Hi ,
there is no such thing in Ubuntu (I mean default username & password on
a live CD).

You can try to create a new user and logout and login with the new user
, but I doubt if that is going to help you.

If the persistent space (casper-sn) is gone , then pictures and all of
stored data there are gone too.

Maybe you can try to recover . But first search for a /cow folder.

Give the command : df -m
and : mount

and see the outputs for a /cow folder .

Thanks

Revision history for this message
rajan_bhirud (rajan-bhirud) said :
#15

I see a window that says Other on the top.
Inside it is asking me to type username first.
And once I type username it is asking me to type in password.
I need to know what username they used for the Live image of Ubuntu.
Because I have never typed any username or password when I was using GUI.
After burning Live Image on USB bootable pen drive I used to go directly to GUI.
Why they have made this so complex?
So I really need to know what are the possible combinations of username and password that they have used in Live Image.
I think Ubuntu and Ubuntu 2D are the two possible usernames but I am just guessing.
I also do not know the passwords.

Revision history for this message
rajan_bhirud (rajan-bhirud) said :
#16

When I installed Live CD Image using Windows Installer and created bootable USB Pen drive and started the computer, I did not have to login in.
I went directly to GUI. So there must be some username and password that system used to allow me to play with the basic feature of Ubuntu.
So if I logout of that and try to login, I have to have username and password. Right?
I have 11.10.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#17

Hi ,
Live Usb gives you this option , in case you decide to create new user and a password.
So yes , you must have a username & password & persistent space. Cuz if you haven't persistent , at the next reboot the new user & password will be vanished.

IF you have a persistent space , then you can store the configurations and files of this user . So next time you load the LiveUsb , you can logout and login with the user you created. (of course casper-sn must be present) .

Your problem here is that...somehow.. you missed the persistent space. (casper-sn) and it cannot find it to mount it.

IMO casper-sn is not trustworthy. casper-rw is better. What is the difference ? The first is a file , but the second is a regular filesystem you create.

Can you help with this problem?

Provide an answer of your own, or ask rajan_bhirud for more information if necessary.

To post a message you must log in.