LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2007, 03:05 PM   #1
JasonC10203
Member
 
Registered: Sep 2007
Distribution: GRML 1.1
Posts: 59

Rep: Reputation: 15
Difficulty Mounting USB Floppy Drive


I am having some serious issues mounting my USB floppy drive. If I try to mount it on /dev/fd0 /mnt/floppy then I get a message saying that /dev/fd0 is not a proper block or something like that.

Depending on how I type the mount command I sometimes also get an error message saying that the file system is wrong 'ntfs'. This happens when I try to mount on /dev/sdax where x is any number. I have formatted the floppy disk on my Windows OS as FAT, so I don't know what is going wrong there.

Any help would be appreciated. If you need more information, just tell me what you need and I'll get it for you.

Thanks in advance,

Jason
 
Old 09-11-2007, 04:15 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Try something like;

tail /var/log/messages

mkdir /mnt/usbfloppy

mount -t auto /dev/sdX /mnt/usbfloppy -o rw

Where the usb floppy device is taken from the output of the first command, if this is the first SCSI/usb device then it will be sda, if not then it will be the first available SCSI device.

FYI: floppy drives and media have no partitions.
 
Old 09-11-2007, 06:02 PM   #3
JasonC10203
Member
 
Registered: Sep 2007
Distribution: GRML 1.1
Posts: 59

Original Poster
Rep: Reputation: 15
Alright, so when I type the command: tail /var/log/messages nothing happens. If I type /var/log/messages | tail then I am told that access is denied.

I am running Windows XP on my computer. I have an external USB hard drive on which I have installed Red Hat Fedora FC6 i386. I am obviously trying to set up a dual boot system. Last year was the first time I had ever done ANYTHING with a Linux distribution. So when I installed it I installed the GRUB boot loader on my MBR. The result of this was that the only way I could boot into anything at all (Linux or Windows) was to have the external hard drive on. This was not what I wanted because I did not plan on taking my external hard drive everywhere I went all the time.

So, I figured out how to restore my MBR back to its original state. I installed the GRUB boot loader on the first sector of the partition on which I wished to install Linux. I also figured out that if I use the Linux installation CD to boot into rescue mode I can do the following:

chroot /mnt/sysimage
dd if=/dev/hda3 of=boot.lnx bs=512 count=1
mcopy boot.lnx a:

Then I would boot back into Windows and copy boot.lnx to my root directory.
After this all I had to do was edit my boot.ini file.

Now...last year when I did all of this I was able to bypass the whole floppy drive. I created the boot.lnx file while GRUB was still installed on my MBR and then booted into Linux and emailed myself the file. However, this time I do not want to have to "fix" my MBR. I simply want to mount my USB floppy and use it to copy boot.lnx to my root directory.
 
Old 09-11-2007, 07:22 PM   #4
JasonC10203
Member
 
Registered: Sep 2007
Distribution: GRML 1.1
Posts: 59

Original Poster
Rep: Reputation: 15
Sorry, I forgot to include a question in my previous reply. Basically the tail /var/log/messages did not do anything. Is there something else I need to know about that command? Is there another way I can try to mount it? When I boot to Windows the USB floppy drive shows up as "TEAC FD-05PUW".

Any help would be appreciated
 
Old 09-11-2007, 08:45 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,929

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Your floppy drive should be recognized as a /dev/sdx device. USB, SATA, Firewire and SATA all use SCSI subsystem and have a /dev/sdx device ID. If you have more then one such device it could be /dev/sdb or /dev/sdc. Look at the output of the dmesg command.
dmesg | grep TEAC
or
dmesg | grep sdb

Remember, linux is case sensitive.
 
Old 09-12-2007, 08:12 AM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Also the 'tail /var/log/messages' command must be run as root or equivalent.
 
Old 09-12-2007, 08:04 PM   #7
JasonC10203
Member
 
Registered: Sep 2007
Distribution: GRML 1.1
Posts: 59

Original Poster
Rep: Reputation: 15
Okay. That makes sense. So, let's say I use the installation cd to boot into rescue mode. Am I automatically logged in as root or no? If not, how do I log in as root?
 
Old 09-12-2007, 10:42 PM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
You are in single user mode which pretty much means that you have unlimited unrestricted access (just like being root). In most cases using the installation media (rescue mode) is similar to single user mode or root access. If you are not sure how to log on as root, then use the user name root and the password you first entered as requested.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a USB Floppy drive? SlowCoder Linux - Hardware 9 03-13-2007 06:57 PM
mounting floppy drive foliva SUSE / openSUSE 2 09-21-2005 03:24 PM
Difficulty to mount USB Pen Drive fatra2 Linux - Hardware 5 09-10-2004 02:58 AM
Difficulty estimate for installing vector linux on a latop with a cd or floppy drive. ooagentbender Linux - Laptop and Netbook 1 01-02-2004 02:27 AM
Need help mounting floppy drive everythingand2 Slackware 16 10-11-2003 07:06 PM


All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration