LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Computer thinks flash drive is CD-ROM (https://www.linuxquestions.org/questions/linux-newbie-8/computer-thinks-flash-drive-is-cd-rom-4175509923/)

Gremlin022 07-02-2014 09:12 PM

Computer thinks flash drive is CD-ROM
 
I currently have Lubuntu installed on my old Dell, but I found Sonar Linux that has everything I need for large text! :) It's an Ubuntu derivative.

The trouble is, I installed the iso onto a USB flash drive, and the computer thinks it's a CD-ROM when loading and errors about not being able to mount /dev/sdr? (whichever is the CD-ROM device name). How can I get the computer to treat the flash drive properly?

frankbell 07-02-2014 09:42 PM

Did you just copy the *.iso to the flash drive or did you use something like Unetbootin to make the flash drive bootable?

Unetbootin works very well. I've used it to install Mint on two computers (my netbook, which had Mint 14 on it, and my girlfriend's old XP netbook) in the past three days. (I'm trying to convert her to Linux, but she works at a Microsoft shop.)

Gremlin022 07-03-2014 12:49 AM

Quote:

Originally Posted by frankbell (Post 5197743)
Did you just copy the *.iso to the flash drive or did you use something like Unetbootin to make the flash drive bootable?

Unetbootin works very well. I've used it to install Mint on two computers (my netbook, which had Mint 14 on it, and my girlfriend's old XP netbook) in the past three days. (I'm trying to convert her to Linux, but she works at a Microsoft shop.)

Trying it now, but I'm not sure it's working. I used Universal USB Installer to create the disk.

Just tried Unetbootin and the flash drive is still detected as an unmountable cd-rom.

I found a script on a site that describes this problem as one to do with short filenames, but it still won't work (probably because it's for Ubuntu and not the Sonar distro):

http://cirrus.ucsd.edu/~pierce/fix_ubuntu_usb/

jefro 07-03-2014 03:42 PM

If you used either dd or some of the live installers it will or can make the install seem like it it running from an optical media. There normally isn't a problem not being able to mount the usb as a user. You just want to run the installer from this usb.

EDDY1 07-03-2014 03:51 PM

Some of the drives like SanDisk do have a portion of the drive that is read as a cdrom but the partition will be very small. Post output of
Quote:

fdisk -l

yancek 07-03-2014 04:36 PM

UUI and unetbootin are both types of software which simply put a Live CD on a flash drive and make them bootable. It will behave in the same manner as a Live CD. Are you rebooting your computer with the flash plugged into a port and set to first boot priority in the BIOS?

Gremlin022 07-03-2014 05:38 PM

Output of fdisk -l was nothing. I don't know why.

I'm creating the "LiveCD" in Windows 7 and then booting the USB on my Linux machine as first boot priority (over BIOS). I've used three programs now and nothing has worked. Maybe I should try creating one under Linux, but I'm so new I don't know how.

EDDY1 07-03-2014 08:08 PM

You do realize that some usb drives are recognized as hdd's. Check in bios under hdd's if it is bootable you'll see a + sign.

maples 07-03-2014 08:22 PM

Quote:

Originally Posted by Gremlin022 (Post 5198240)
Output of fdisk -l was nothing. I don't know why.

You need to be root. So you should really type:
Code:

sudo fdisk -l
Type your password (don't panic if nothing appears on the screen as you type the password- it's not suppossed to) then hit Enter. Then post the results.

Hope this helps!

Gremlin022 07-04-2014 06:52 PM

Output from fdisk -l:

Code:

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders, total 156250000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000aa8e2

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *        2048  155205631    77601792  83  Linux
/dev/sda2      155207678  156248063      520193    5  Extended
/dev/sda5      155207680  156248063      520192  82  Linux swap / Solaris

Disk /dev/sdb: 31.4 GB, 31379685376 bytes
8 heads, 32 sectors/track, 239408 cylinders, total 61288448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd1cd3d33

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1  *        2760    61288447    30642844    c  W95 FAT32 (LBA)


jefro 07-04-2014 08:19 PM

I think we've gotten lost here.

You created a usb. (not sure what the iso part in windows 7 is)

You booted to this usb.

Why do you care about how it see's this drive? What stops you from installing the OS?

Gremlin022 07-05-2014 06:55 AM

Quote:

Originally Posted by jefro (Post 5198842)
I think we've gotten lost here.

You created a usb. (not sure what the iso part in windows 7 is)

You booted to this usb.

Why do you care about how it see's this drive? What stops you from installing the OS?

When I try to load the kernel it gives an error message about cannot mount /dev/sdr and cycles through various drives that I can't remember, that it says it cannot mount. Then it goes into a fallback mode and ends up at a boot prompt but I don't know what it needs to run properly.

I don't think it can mount and that's why I can't load the kernel.

Gremlin022 07-05-2014 11:38 AM

Thanks everyone for all the help offered. I switched to 12.04 and the install worked. I still have no idea why it wasn't working before, but I have a working OS now.

frieza 07-05-2014 12:46 PM

Quote:

Originally Posted by EDDY1 (Post 5198199)
Some of the drives like SanDisk do have a portion of the drive that is read as a cdrom but the partition will be very small. Post output of

that is known as U3

http://en.wikipedia.org/wiki/U3

jefro 07-05-2014 03:15 PM

Since the distro is odd/not main stream it could have any number of errors.

Not all distro's optical media works correctly by placing it on a usb.

Thanks for the update and sorry we didn't get you going.

Maybe you can borrow a usb CD/DVD drive and make a disc to install this special distro.


All times are GMT -5. The time now is 05:05 PM.