03-23-2012
Hard Disk Prep From Shell
Hi there. I am a MS experienced admin who has recently been charged with crossing over into the Unix/Linux realms. Years of working with the GUI and DOS have left me somewhat hobbled as I make the transition and try to sift through the mountains of partial information available
... which leads me to my question at hand.
I am working with Fedora 16. My goal is to achieve the following (not necessarily in the order listed) from the shell. The stuff I have already figured out will have notes after that particular action.
- attach/mount <?> a disk - this seems to be automatic in Fedora... what if I am on an older machine that does not do this automatically?
- format said disk - easily done from the disk manager GUI but I need to know it from the shell in the event I am on an older machine.
- label said disk - easily done from the disk manager GUI but I need to know it from the shell in the event I am on an older machine.
- partition said disk - so far I can do what I need here with fdisk
- encrypt said disk - easily done from the disk manager GUI but I need to know it from the shell in the event I am on an older machine.
I am grateful for any assistance as I venture into this new world.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
What is the general rule for a divvy of a hard disk, I know that the boot is 20 megs swap is times 2 of ram. I am learning unix
for the first time and at work i cant get this divvy thing down pat yet.
boot 1 to 19999
swap 20000 to 122499 (512 megs of ram)
root 122500 to ?
u ?
u2 ?
... (1 Reply)
Discussion started by: DjWolfman
1 Replies
2. UNIX for Dummies Questions & Answers
What is the general rule for a divvy of a hard disk, I know that the boot is 20 megs swap is times 2 of ram. I am learning unix :)
for the first time and at work i cant get this divvy thing down pat yet.
boot 1 to 19999
swap 20000 to 122499 (512 megs of ram)
root ... (2 Replies)
Discussion started by: DjWolfman
2 Replies
3. Filesystems, Disks and Memory
I had an issue with a second hard disk in my machine. I have a sparc station running solaris 7. It was working fine but now it wont mount on boot up and when you try to mount it manually it gives an I/O error. I tried a different disk as a control which was fine. What I want to know is if my... (3 Replies)
Discussion started by: Henrik
3 Replies
4. Filesystems, Disks and Memory
Hi all,
I am using SCO Openserver V and I want to add one more harddisk (/dev/hd1) Hw can I do it? (1 Reply)
Discussion started by: skant
1 Replies
5. Filesystems, Disks and Memory
i have recently recieved a new hard drive which i needed for lack of space. i installed a newer version of my previous operating system, suse 8.2. i saved my old drive just in case. anyway this thing only boots sporadically. the person who gave it to me forgot to tell me there was problems with... (2 Replies)
Discussion started by: norsk hedensk
2 Replies
6. UNIX Desktop Questions & Answers
I have a cuestion. How Can I to add other hard disk to my computer? I need to configurate anyone? (4 Replies)
Discussion started by: hmaraver
4 Replies
7. UNIX for Dummies Questions & Answers
:eek: I use this Solaris to run CMS a call acounting software package for my job. No one could run reports today because it said the this when you logged on
"The following file systems are low, and could adversely affect server performance:
File system /: 99%full"
Can some one please explain... (9 Replies)
Discussion started by: mannyisme
9 Replies
8. SCO
hi
I've a fresh installation of SCO 5.0.7 on the IDE hard disk.
For SCSI hard disk I can declare, for example blc disk driver using:
# mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies
9. Linux
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
10. BSD
hi
Has anyone already tried to migrate a hard disk with FreeBSD using recoverdisk? (1 Reply)
Discussion started by: ccc
1 Replies