Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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'm setting up a partition to swap files from my windows partion to my redhat 9 partition, and I put it on my USB harddrive. its Harddrive b, partition two. I have it all set up, so I try to mount it. Log in as root, password, go to console: I type:
mount -t vfat /dev/hdb2 /mnt/win
mount: wrong fs type, bad option, bad superblock on /dev/hdb2,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
I made /mnt/win... what did I do wrong? I only have one harddrive mounted, so I don't think it's too many filesystem types, and its Fat32, so vfat is right- right?
how bout this d00d just type as root:
and thats it.
in the system column you will see something like Win95 or whatever it is....and whatever it does end up being, i am sure it'll trigger you off and tell you what device is your win partition when you look in the corresponding first column.
ok look, thats up to you to know that
hda = primary master
hdb = primary slave
hdc = secondary master
hdd = secondary slave
now, 9 outta 10 times if you see someones computer their cdroms, burners, dvd's, whatever they use, are typically set up on hdc, hdd, i mean its still going to work even if its on hdb, but like i said most of the time its on secondary...
only you will know what it is on, and if worse comes to worse, and you have no idea, or even have no idea what i am saying, then go to the /var/lib folder and look at the file dmesg, just open it up with a text editor....
or even though you will get a bit of output you could type
cat /var/log/dmesg |grep hd*
it will be a smaller output than looking in the file itself
and for example mine says:
hda: WDC WD600BB-32CCB0, ATA DISK drive
hdb: Maxtor 2F020J0, ATA DISK drive
hdc: WDC WD800BB-00CAA0, ATA DISK drive
hdd: AOPEN CD-RW CRW2040, ATAPI CD/DVD-ROM drive
so as you see hda, hdb, and hdc are harddisks and hdd is my burner..
so you will be able to find it this way also.
Insanely sorry, I've had a lot of shit going on in my life, so I haven't had time to work on this.
Anyway, I tried cat /var/log/dmesg |grep hd*, and got a bunch of stuff. HDA is my main HD (the one that has my windows and linux partitions, swap partitions, etc.)
HDB is my CD drive
It doesn't say anything about HDC or HDD, but it does mention usb.c, and it says:
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 17:59:01 Mar 13 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xbce0, IRQ 10
usb-uhci.c: Detected 2 ports
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <firstname.lastname@example.org>
hid-core.c: USB HID support drivers
hub.c: new USB device 00:1f.2-1, assigned address 2
usb-uhci.c: interrupt, status 2, frame# 207
Vendor: ExcelSto Model: r Technology Rev: VA2O
EXT3-fs: mounted filesystem with ordered data mode.