Hard drive formating

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Hard drive formating
# 1  
Old 10-02-2012
Hard drive formating

Im trying to install a fresh version of Fedora 17. I keep getting formating errors when trying to reformat the hard drive. I recieve errors as well I I try to use the entire disk for the install instead of creat new partitions from scratch. I even tried fromatting the disk using PartedMagic and that fails as well. Ran the diagnostics using PMagic and tells me that the HD is heathly with no errors. I have a 120gb HD and tried formatting 10gb mounting it to root and creating a 2gb swap partition. Can someone please describe the process of formatting a hard drive for Unix style OS's. Recommended partition sizes, how to determine swap sizes,
what is the purpose of the swap. What is mounting? Obviously new to Unix and appreciate any help provided. Thank You.
# 2  
Old 10-02-2012
If you get errors writing to a disk, it's toast. Either that, or your disk controller or drivers for it are having trouble (generally unlikely). Reality trumps diagnostics.

Swap is overflow space when you're low on memory. Linux does not require as much swap space as RAM, but some kinds of UNIX demand that there be enough swap to save all RAM if need be.

Mounting is the process which converts a disk device into a folder you can use. The device and the folder are actually managed separately. Windows doesn't really give you access to the device and mounts everything itself unasked onto a generic drive letter, UNIX is both stricter and more flexible. There's no drive letters, partitions are mounted inside folders, whichever folders you want. /home will often be its own separate partition, for example.

Last edited by Corona688; 10-02-2012 at 03:13 PM..
# 3  
Old 10-02-2012
Ok so Swap is the equivalant to Cache for Windows? Very well explained about the mounting makes much better sense now. Ok as far as the hard drive. I finally was able to get rid of all the partition and now the whole disk is unallocated. Im ready to try another install. Just want to clarify a few things. Book says to create a partition for the / one for the swap and an optional one for /boot. Being the LiveMedia cd is 650mb would a 2gb partition be enough. I know with windows I would create a OS partition with plenty of extra room for upgrades and updates and then install all other non-OS programs on a seperate partition. The book recommends 500mb for the /boot partition. Does this partition contain the bootloader and default system settings and is 500mb large enough to handle any changes. Lastly / partition, is this partition automatically where the UNIX OS installs. I have looked alot of this up on the net and seem to get alot of mixed testimonies. Thanks again
# 4  
Old 10-02-2012
Quote:
Originally Posted by Fingerz
Ok so Swap is the equivalant to Cache for Windows?
Not really. Swap in UNIX is equivalent to the pagefile in Windows.
Quote:
Book says to create a partition for the / one for the swap and an optional one for /boot. Being the LiveMedia cd is 650mb would a 2gb partition be enough.
My own root partition is one gigabyte, and 34% used. But my /usr/ partition is 10 gigabytes, 50% used.

How much you need depends on how much you use. So it's hard to say.
Quote:
I know with windows I would create a OS partition with plenty of extra room for upgrades and updates and then install all other non-OS programs on a seperate partition.
That's why UNIX is organized as it is with /usr/, /lib/, and the like. You dont' have to throw everything into /. Just the most basic system stuff the system needs to start itself belongs in there, the rest can go in other partitions mounted on those base folders.

It also lets you expand things without having to replace and reformat, because you can put partitions wherever you please without worrying about changing drive letters.
Quote:
The book recommends 500mb for the /boot partition. Does this partition contain the bootloader and default system settings and is 500mb large enough to handle any changes.
500 megs should be lavish for a bootloader. You can get by with a tenth of that but there's no point making it tiny either if you've got room to spare.
Quote:
Lastly / partition, is this partition automatically where the UNIX OS installs. I have looked alot of this up on the net and seem to get alot of mixed testimonies. Thanks again
How much you need depends on how much you use and how you organize it. If you make /usr/, /lib/, etc partitions, you don't need a huge root. If you're just jamming everything into / however, you need a big root.
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 10-02-2012
I appreciate all the info great stuff. Gonna give this install a whirl now. Thanks so much for the time.

---------- Post updated at 04:09 PM ---------- Previous update was at 02:08 PM ----------

Ok final synopsis: Fedora 16 and 17 suck Smilie All day wasted on this, kinda sorta, learned a few things about Unix and the filesystem but turns out it a bug causing the filechecking error, which seemed to start with Fedora 16. Currently typing this on my newly installed Fedora12 system Smilie Set everything up the way I wanted /, /boot, swap and added a partition for /home all using ext4 type.
Now for tomorrows waste of time trying to upgrade from 12 to 17 Smilie Want to keep this ticket going cause I found many posts reguarding this issue but havent found one yet that resolved the issue to completion.
# 6  
Old 10-03-2012
Perhaps a problem with your hard drive controller drivers, like I mentioned way back in my first reply.

This does not mean they "suck". It means there's problems with their disk controller drivers, for your specific hardware.

What is your system? Laptops especially are liable to have problems, since their hardware is often bizarre and had corners cut in manufacture, which they fix by patching custom Windows drivers. The rest of the world just has to suffer until they reverse-engineer what problems got wired into it...

Try 'lspci' to see what your hardware actually is. That may help explain why you were having problems.

Last edited by Corona688; 10-03-2012 at 01:34 PM..
# 7  
Old 10-03-2012
Well I installed Fedora 12 on the same disk that was giving me errors when trying to install Fedora 17. I have never had to dig so deep to install an OS as to getting into actually drivers and such. This is what I have.
Code:
$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] SiS645DX Host & Memory & AGP Controller
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] (rev 04)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.3 FireWire (IEEE 1394): Silicon Integrated Systems [SiS] FireWire Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0b.0 SCSI storage controller: Artop Electronic Corp AEC6712U SCSI (rev 08)
00:0e.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
00:0e.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
00:0e.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4200] (rev a3)

$ lshw

*-disk
                description: ATA Disk
                product: WDC WD1200BB-00C
                vendor: Western Digital
                physical id: 0
                bus info: scsi@1:0.0.0
                logical name: /dev/sda
                version: 17.0
                serial: WD-WMA8C2759689
                size: 111GiB (120GB)
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5 signature=d38ed38e

Further I now have tried using the pregrade with no avail. Each time its goes throu the whole process of downloading ect sucessfuly to the point of rebooting. Reboot and still in Version 12. Checked the grub file and kernal does not get updated. First tried 12 - 17, then 12 -16, and finally tried 12 -13, none have worked yet. After the fresh 12 install I have done

yum update yum
yum update -- installed 1200 updates
yum install preupgrade
preupgrade

Last edited by Corona688; 10-03-2012 at 06:18 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

mount old hard drive

Hi guys, I have been looking around and searching for the past hour and did not see anything. but please forgive me if I missed something. I had a sparc 10 ultra cpu die on me, I got a replacement server from a very generous guy here, now I am getting around to remounting my old hard drive with... (0 Replies)
Discussion started by: DrDarkMatter
0 Replies

2. Solaris

formating and repartitioning an external hard drives

Version: solaris 10 x86 I just got a western digital external harddrive formated with fat 32. this drive came with some setup files which is meant for windows or mac. I want to reformat and partition this drive into two ( for solaris and windows) such that the setup files will still be there... (2 Replies)
Discussion started by: seyiisq
2 Replies

3. Solaris

Using the rest of my hard drive

Hi When I installed opensolaris, I installed it on a 20GB partition. How do I make use of the other 300GB I have spare? format shows:- -bash-3.2# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c3d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63> ... (12 Replies)
Discussion started by: hellotommy
12 Replies

4. Filesystems, Disks and Memory

Hard Drive Temperature?

Hi, I just set up a raid Z array in solaris xpress and I notice that the drives feel pretty damn hot. I use speedfan to monitor the temperatures of the hard drives in XP. Is there a similar program for solrais? I assume there would be since the drives all have temp sensors in them, but I... (2 Replies)
Discussion started by: ciscocbee
2 Replies

5. AIX

Hard Drive Question

Good day, I have an rs/6000 server, model 7044-270. I bought a 2nd hard drive for it but im not sure its the right one. (fru:H13060) As you surely know, the 7044-270 hard drives are put in some sort of tray/carrier. There is a cable that will interface the HDD with the tray/carrier so the... (0 Replies)
Discussion started by: Netghost
0 Replies

6. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies

7. UNIX for Dummies Questions & Answers

Trying to copy old hard drive to new hard drive.

:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows...... dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/???????? Where I have the question marks is the problem. How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies

8. SCO

Processor and Hard Drive

I trying to learn Unix and I am using SCO Unixware 7.1. Below are three question that I have: 1) Can someone tell me what command I can use to find out the system processor speed. 2) Can someone tell me what command I can use to find out what's the hard drive size of my unix box. 3) Can... (1 Reply)
Discussion started by: etaup02
1 Replies

9. UNIX for Dummies Questions & Answers

I Want To Automount My Hard Drive!!!

:confused: Im as newbie as they come....... I just loaded Red Hat 8.0 on my computer. I have a second hard drive that i reformatted with a Fat32 so I could share it with my XP and Linux partions....... I have like 4000 mp3's on it and i would like to get it to auto mount when Linux boots....? Or... (5 Replies)
Discussion started by: mynameiskyle
5 Replies
Login or Register to Ask a Question