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!
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 have a relatively stable RH 7.3. Attempting to install a new Western Digital hard drive. I believe I have the hardware set up correctly. I believe the disk is unformatted and unpartitioned. I would like to set it up so that linux swap is on this disk, and another partition that just holds data.
When I boot linux, it does not see the new hardware. When I run kudzu (no arguments) from the prompt, it also sees no new hardware. Should I assume there is a problem with the hardware? Do I need to partition the drive first in order for kudzu to see it? If so, how would I do that? I can't seem to find disk druid from the prompt (and I'm too much of a newbie to want to use fdisk, even if I could see the disk).
Any help or pointers would be GREATLY appreciated.
As a followup, I see a listing in /etc/sysconfig/hwconf that looks like this;
desc: "WDC WD400BB-00CAA1"
This is clearly the drive in question, I don't know how this entry got here and kudzu apparently never gave the the option to configure this device with Disk Druid. Is there now some way to force disk druid to repartition this device?
And as a sidebar question, how do I interpret the numbers in /etc/sysconfig/hwconf? I see physical: 77545/16/63
logical: 77545/16/63 for this drive, but for the two other
(much larger) HDs on the system, I see physical: 232581/16/63
logical: 14593/255/63. Should that worry me?
Have u tried using the cmd fdisk to partition the drive once that has been done you must run mkfs to install a file system type. then use mkswap cmd to creat your swap. Once this has been done mount you r hard disk.
Right... looks like it's plugged into secondary slave.
Try fdisk /dev/hdd
apparently cfdisk is easier to use, but seriously fdisk is a peice of cake
p will print the partition table
you need to add two primary partitions, hit enter when asked for starting block and +xM when asked for the second block, where is your size in Megabytes. For the second primary partition you can just hit enter twice - it will then fill the disk. I suggest you make the first partition your swap and your second partition your general space.
Once you have the sizes correct, you need to set the types. swap is type 82, and I suggest reiserfs for the other partition, unless you don;t have that installed or have no idea what I'm talking about, in which case I suggest ext2, which is type 83.
No need ofr any active partitions as you will not be using this drive to boot from (I presume)
You then need to write the partition (you can print it first to check it) and reboot.
You can then create filesystems with mkfs.
Once you've done that, it's down to editing fstab to get them set up. mount -a will then mount them.