SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-05-02 14:30:03

LittleBigFox
New Member
Registered: 2012-05-02
Posts: 3

Problem CD detection when installing from USB stick

Hi,

I just installed the waldorf from a usb stick.
It all works well, and i'm really satisfied, it rocks big_smile

I'm creating this thread because i saw some posts here and there experiencing the same issue i had.

When installing waldorf from the usb stick, it fails systematically at the step where it should load the files from the CRDOM.

After few researches, i found the solution to bypass this issue.

Cause description :
Actually, at this step, the installer search for the file "/cdrom/dists/wheezy/Release".
In the ISO file, th wheezy folder is a link to "/cdrom/dists/sid/Release".
When i created my bootable USB stick (the same issue happens whether i used unetbootin or pendrive util), this link disappear and "wheezy" is no longer a link but zero file.
I could see the problem by switching to the tty where the installer logs everything (ctrl+alt+f4).

Solution :
As it's on a USB stick, we can write on the mounted disk.
I switched to another tty (ctrl+alt+f2).
What i did was just to remove the "/cdrom/dists/wheezy" zero file.
And i made a "cp -R /cdrom/dists/sid /cdrom/dists/wheezy".
Then i switched back to the graphical installer (ctrl+alt+f5) and continued the installation and everything went smoothly big_smile

I now enjoy my freshly installed CrunchBang.

Rock On \m/

Regards

Offline

Be excellent to each other!

#2 2012-05-02 15:16:10

fakeasd
Member
Registered: 2011-05-04
Posts: 12

Re: Problem CD detection when installing from USB stick

Thanks, now I can go past but it hangs later, after the partitioning stage...

Failure trying to run: chroot /target mount -t proc proc /proc

Any idea?

EDIT: My logfile...

May  2 17:08:26 apt-install: Queueing package e2fsprogs for later installation
May  2 17:08:26 main-menu[459]: (process:6443): WARNING: could not open /lib/modules/3.2.0-2-486/modules.order: No such file or directory
May  2 17:08:26 main-menu[459]: (process:6443): WARNING: could not open /lib/modules/3.2.0-2-486/modules.builtin: No such file or directory
May  2 17:08:27 main-menu[459]: DEBUG: resolver (libgcc1): package doesn't exist (ignored)
May  2 17:08:27 main-menu[459]: INFO: Falling back to the package description for espeakup-udeb
May  2 17:08:27 main-menu[459]: INFO: Falling back to the package description for espeakup-udeb
May  2 17:08:27 main-menu[459]: INFO: Menu item 'bootstrap-base' selected
May  2 17:08:28 debootstrap: usage: /usr/lib/debootstrap/pkgdetails PKGS mirror packagesfile pkgs..
May  2 17:08:28 debootstrap:    or: /usr/lib/debootstrap/pkgdetails FIELD field mirror packagesfile pkgs..
May  2 17:08:28 debootstrap:    or: /usr/lib/debootstrap/pkgdetails GETDEPS packagesfile pkgs..
May  2 17:08:28 debootstrap:    or: /usr/lib/debootstrap/pkgdetails STANZAS packagesfile pkgs..
May  2 17:08:28 debootstrap:    or: /usr/lib/debootstrap/pkgdetails WGET% low high end reason
May  2 17:08:28 debootstrap: ar: short read
May  2 17:08:28 debootstrap: zcat: short read
May  2 17:08:28 debootstrap: chroot: can't execute 'mount': No such file or directory
May  2 17:14:15 base-installer: error: exiting on error base-installer/debootstrap-failed
May  2 17:14:17 main-menu[459]: WARNING **: Configuring 'bootstrap-base' failed with error code 1
May  2 17:14:17 main-menu[459]: WARNING **: Menu item 'bootstrap-base' failed.
May  2 17:14:19 main-menu[459]: INFO: Modifying debconf priority limit from 'high' to 'medium'
May  2 17:14:19 debconf: Setting debconf/priority to medium
May  2 17:14:20 main-menu[459]: DEBUG: resolver (libgcc1): package doesn't exist (ignored)
May  2 17:14:20 main-menu[459]: INFO: Falling back to the package description for espeakup-udeb
May  2 17:14:23 init: starting pid 411, tty '/dev/tty2': '-/bin/sh'
May  2 17:14:30 init: process '-/bin/sh' (pid 411) exited. Scheduling for restart.

Last edited by fakeasd (2012-05-02 15:26:12)

Offline

#3 2012-05-02 15:31:38

LittleBigFox
New Member
Registered: 2012-05-02
Posts: 3

Re: Problem CD detection when installing from USB stick

Hi,

For me, this message is just the consequence of another error.

Check the /var/log files, there may be something in there.

Also, it may be related to a bad media (have you done a md5sum on the iso file to see if there aren't any failure ?).

Stupid question : you're installing the correct flavor (32 or 64 depending on your computer architecture) ?

What is your partitioning ?

EDIT :
- For the md5sum --> http://crunchbanglinux.org/forums/post/213745/#p213745
- If md5sum is ok, try using another usb stick (as i said, it's often a problem of media - iso file or usb stick -)

Last edited by LittleBigFox (2012-05-02 15:34:24)

Offline

#4 2012-05-02 15:47:51

fakeasd
Member
Registered: 2011-05-04
Posts: 12

Re: Problem CD detection when installing from USB stick

LittleBigFox wrote:

Hi,

For me, this message is just the consequence of another error.

Check the /var/log files, there may be something in there.

Also, it may be related to a bad media (have you done a md5sum on the iso file to see if there aren't any failure ?).

Stupid question : you're installing the correct flavor (32 or 64 depending on your computer architecture) ?

Thanks for the reply, the image version is correct and I already checked the md5 sum.

LittleBigFox wrote:

What is your partitioning ?

swap 1,5 gb
ext4 / with noatime parameter 30 gb

I also tried using the automatic partition option...

I'm now trying running the installer from a different usb stick, will report later.

EDIT: Different usb stick and always stuck with the same error. sad

Last edited by fakeasd (2012-05-02 16:05:24)

Offline

#5 2012-05-02 16:27:41

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,634
Website

Re: Problem CD detection when installing from USB stick

People, you could try the old

cdrom-detect/try-usb=true

kernel boot parameter, maybe?

Offline

#6 2012-05-03 02:56:38

Jabroneous
#! CrunchBanger
Registered: 2011-11-26
Posts: 123

Re: Problem CD detection when installing from USB stick

Sorry, but I don't understand the instructions you gave :\

Offline

#7 2012-05-03 07:25:34

thief
New Member
Registered: 2012-05-03
Posts: 1

Re: Problem CD detection when installing from USB stick

On USB stick (during the installation - /cdrom ):

cd dists
rm wheezy
mv sid wheezy

Offline

#8 2012-05-04 00:03:00

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,726

Re: Problem CD detection when installing from USB stick

thief wrote:
cd dists
rm wheezy
mv sid wheezy

Good workaround!!
It also works by opening a terminal from your usb directory
And then proceed with above commands.

Offline

#9 2012-05-04 21:33:13

gompa
New Member
Registered: 2012-05-04
Posts: 4

Re: Problem CD detection when installing from USB stick

best way to do this from windows is with https://launchpad.net/win32-image-writer/

and from unix :

dd if=~/Download/crunchbang-11-20120430-i386.iso of=/dev/sdc

change sdc to your usb drive

both ways erase all data on your flash drive

Last edited by gompa (2012-05-05 14:59:07)

Offline

#10 2012-05-05 22:48:56

zacharias
#! Member
From: Tokyo 3
Registered: 2009-10-19
Posts: 82
Website

Re: Problem CD detection when installing from USB stick

damn it! can u guys post a step by step on this?
im dumb to cope with all the light u shed here.
ive done everything like i used with statler and any other distro. idk why this is happening now... sad
kudos

Last edited by zacharias (2012-05-05 22:49:45)

Offline

#11 2012-05-05 22:50:39

zacharias
#! Member
From: Tokyo 3
Registered: 2009-10-19
Posts: 82
Website

Re: Problem CD detection when installing from USB stick

thief wrote:

On USB stick (during the installation - /cdrom ):

cd dists
rm wheezy
mv sid wheezy

cant do thid. "read only" it says.
kudos

Offline

#12 2012-05-05 23:08:23

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,726

Re: Problem CD detection when installing from USB stick

zacharias wrote:

cant do thid. "read only" it says.
kudos

Open terminal as root.. or

sudo cd dists
rm wheezy
mv sid wheezy

Offline

#13 2012-05-05 23:35:45

zacharias
#! Member
From: Tokyo 3
Registered: 2009-10-19
Posts: 82
Website

Re: Problem CD detection when installing from USB stick

falldown wrote:

Open terminal as root.. or

sudo cd dists
rm wheezy
mv sid wheezy

ok. do i do this on the live cd or during instalation screen?
kudos

Offline

#14 2012-05-05 23:54:31

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,726

Re: Problem CD detection when installing from USB stick

zacharias wrote:

ok. do i do this on the live cd or during instalation screen?
kudos

Are you using a usb flash or cd?
You want to do this to the device that you installed the ISO on.

Offline

#15 2012-05-06 11:54:11

zacharias
#! Member
From: Tokyo 3
Registered: 2009-10-19
Posts: 82
Website

Re: Problem CD detection when installing from USB stick

usb stick. i've used unetbootin as always, to burn the iso into the usb stick. the last answer u gave me wasnt that clear mate at least to me. sad
so let me recap:
1) i open the usb stick via terminal
2) proceed as the above
let me try then.
tks in advance.
kudos

Last edited by zacharias (2012-05-06 11:56:09)

Offline

#16 2012-05-06 12:18:23

zacharias
#! Member
From: Tokyo 3
Registered: 2009-10-19
Posts: 82
Website

Re: Problem CD detection when installing from USB stick

here's the aswer i got when proceeding as above:

root@MOTHERFUCKER:/media/disk# cd dists
root@MOTHERFUCKER:/media/disk/dists# rm wheezy
rm: cannot remove `wheezy': Is a directory

kudos

Offline

#17 2012-05-06 12:27:17

zacharias
#! Member
From: Tokyo 3
Registered: 2009-10-19
Posts: 82
Website

Re: Problem CD detection when installing from USB stick

gompa wrote:

best way to do this from windows is with https://launchpad.net/win32-image-writer/

this, sir, is a life saver!!!
thank you! and many thanks as well @falldown for all the help and patiente.
kudos

Offline

#18 2012-05-06 15:15:20

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,726

Re: Problem CD detection when installing from USB stick

^ Glad you got it sorted out and you are welcome.
Thank you for the link.

Offline

#19 2012-05-07 20:08:56

fakeasd
Member
Registered: 2011-05-04
Posts: 12

Re: Problem CD detection when installing from USB stick

fakeasd wrote:

Thanks, now I can go past but it hangs later, after the partitioning stage...

Failure trying to run: chroot /target mount -t proc proc /proc

Any idea?

EDIT: My logfile...

May  2 17:08:26 apt-install: Queueing package e2fsprogs for later installation
May  2 17:08:26 main-menu[459]: (process:6443): WARNING: could not open /lib/modules/3.2.0-2-486/modules.order: No such file or directory
May  2 17:08:26 main-menu[459]: (process:6443): WARNING: could not open /lib/modules/3.2.0-2-486/modules.builtin: No such file or directory
May  2 17:08:27 main-menu[459]: DEBUG: resolver (libgcc1): package doesn't exist (ignored)
May  2 17:08:27 main-menu[459]: INFO: Falling back to the package description for espeakup-udeb
May  2 17:08:27 main-menu[459]: INFO: Falling back to the package description for espeakup-udeb
May  2 17:08:27 main-menu[459]: INFO: Menu item 'bootstrap-base' selected
May  2 17:08:28 debootstrap: usage: /usr/lib/debootstrap/pkgdetails PKGS mirror packagesfile pkgs..
May  2 17:08:28 debootstrap:    or: /usr/lib/debootstrap/pkgdetails FIELD field mirror packagesfile pkgs..
May  2 17:08:28 debootstrap:    or: /usr/lib/debootstrap/pkgdetails GETDEPS packagesfile pkgs..
May  2 17:08:28 debootstrap:    or: /usr/lib/debootstrap/pkgdetails STANZAS packagesfile pkgs..
May  2 17:08:28 debootstrap:    or: /usr/lib/debootstrap/pkgdetails WGET% low high end reason
May  2 17:08:28 debootstrap: ar: short read
May  2 17:08:28 debootstrap: zcat: short read
May  2 17:08:28 debootstrap: chroot: can't execute 'mount': No such file or directory
May  2 17:14:15 base-installer: error: exiting on error base-installer/debootstrap-failed
May  2 17:14:17 main-menu[459]: WARNING **: Configuring 'bootstrap-base' failed with error code 1
May  2 17:14:17 main-menu[459]: WARNING **: Menu item 'bootstrap-base' failed.
May  2 17:14:19 main-menu[459]: INFO: Modifying debconf priority limit from 'high' to 'medium'
May  2 17:14:19 debconf: Setting debconf/priority to medium
May  2 17:14:20 main-menu[459]: DEBUG: resolver (libgcc1): package doesn't exist (ignored)
May  2 17:14:20 main-menu[459]: INFO: Falling back to the package description for espeakup-udeb
May  2 17:14:23 init: starting pid 411, tty '/dev/tty2': '-/bin/sh'
May  2 17:14:30 init: process '-/bin/sh' (pid 411) exited. Scheduling for restart.

Ok, I found it hangs with this error only when using other languages than english, am I the only??

Offline

#20 2012-05-17 20:07:03

mizi
New Member
Registered: 2012-05-17
Posts: 1

Re: Problem CD detection when installing from USB stick

I tried to install the Italian language and it is stuck with the same error.
Failure trying to run: chroot /target mount -t proc proc /proc

Offline

#21 2012-05-19 12:27:16

shaiss
Member
From: Phoenixville, PA
Registered: 2010-07-08
Posts: 25
Website

Re: Problem CD detection when installing from USB stick

thief wrote:

On USB stick (during the installation - /cdrom ):

cd dists
rm wheezy
mv sid wheezy

Worked perfect, thanks!

Offline

#22 2012-07-15 09:49:23

HLFH
New Member
Registered: 2012-07-12
Posts: 5

Re: Problem CD detection when installing from USB stick

When I do this :  "cp -R /cdrom/dists/sid /cdrom/dists/wheezy"

I have then : "cp: can't create directory '/cdrom/dists/wheezy' : Read-only file system"

What can I do ?

Thx

Offline

#23 2012-08-14 16:58:03

Milozzy
#! Die Hard
Registered: 2011-02-22
Posts: 622
Website

Re: Problem CD detection when installing from USB stick

mizi wrote:

I tried to install the Italian language and it is stuck with the same error.
Failure trying to run: chroot /target mount -t proc proc /proc


Same problem for me!! I'm installing my system with English language right now.

Offline

#24 2012-12-30 13:57:35

dentex
Member
From: Italy
Registered: 2012-12-27
Posts: 23
Website

Re: Problem CD detection when installing from USB stick

GREAT!!!
Maintaining English during install worked for me also!!!
Installing #! 11 right now...

Offline

Help fund CrunchBang, donate to the project!

#25 2013-01-13 22:15:30

Jeff_Argentina
New Member
From: Buenos Aires - Argentina
Registered: 2013-01-13
Posts: 4
Website

Re: Problem CD detection when installing from USB stick

Hi,

During installation I also had the same problem: the installation failed during CD-Rom detection.
I fixed it by reformating the USB stick to FAT16 (originally it was ext4) and transfering the iso using unetbootin.
After that everything worked properly.

Jeff


Usando Linux desde 1996.  /  Using Linux since 1996. / J'utilise Linux depuis 1996.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo