Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
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.
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:
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.
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".
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
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?
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.