Ubuntu :: Format Alignment Of Hard Disks?

May 27, 2011

I thought that alignment of 4096-byte sector Advanced Format hard drives was automatically taken care of via Gparted or Disk Utility until I bought a Hitachi HTS547575A9E384 (Travelstar 5K750) and saw that Disk Utility showed my partitions to be out of alignment. I then realized that my WD, which I had bought a few months ago, probably had its jumper set to emulate a 512-byte sector legacy drive (512e) and is probably not set to the AF setting.

Straight to the problem.

I've searched many sites, some of which suggest using fdisk (others the proprietary software of the hard drive's manufacturer). It is essential that one change the arguments prior to changing the partition table as there is no way back (yet, as far as I know) without having to move data to another drive and starting all over:

[Code]...

View 9 Replies


ADVERTISEMENT

Hardware :: Aligning Partitions On "advanced Format" WD Hard Disks?

Jul 27, 2010

the recent versions of fdisk on Fedora 13 and Ubuntu 10.04 are supposed automatically to solve these things around 4k sector aligment thing if one starts fdisk with -u and -c flags. But I'm getting confused as the heads / sectors informations always differ every time I create a partition.I have WD Green 1.5TB disk. I want 2 partitions. sdb1 with 1.3TB and sdb2 with the remaining space. Here's how it looks like. When I create the first partition (1.3TB one), I get following listin with fdisk:

Code:

# fdisk -lu /dev/sdb
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
78 heads, 37 sectors/track, 1015342 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes

[code].....

View 3 Replies View Related

Ubuntu :: Keep Connect Both Hard-disks / At Start Select From Which Hard-disk To Boot?

Mar 9, 2011

I have two internal harddisk. Harddisk 1 has ubuntu, fedora installed and harddisk 2 has ubuntu installed. I normally connect either one, and use it. How can i always keep connect both harddisks, and at the start, select from which harddisk to boot? Or it's not possible?

View 7 Replies View Related

Ubuntu Installation :: Format Both Disks Before Reinstall?

Nov 19, 2010

Reformatting two drives before re-installation. I'm new to Linux generally. Can someone give me instructions on formatting the hard drives? I have installed ubuntu on a machine that had been running Windows for a while. Since Windows worked the boot drive for years, I decided to switch the positions of the two drives; putting the old data drive into the boot position.

Apparently, ubunta was too smart for me. I guess it discovered the Windows installation, and decided that's where it should be installed too. Now, what I would like to do - and I would really like to do it this way - is reformat both the disks, wiping out everything that's on both of them; before running another installation.

BTW: the old data drive is still NTFS, and I don't want installations own both disks - reformatting and starting fresh seems nice and clean, if not entirely necessary.

*-storage
description: SATA controller
product: 82801GBM/GHM (ICH7 Family) SATA AHCI Controller
vendor: Intel Corporation

[Code]...

View 1 Replies View Related

General :: Format A USB Hard Drive To Vfat Format But Can't?

Sep 15, 2010

I need some assistance in trying to format a USB hard drive to vfat format but can't seem to do so. I am currently using RHEL 5.3. I have tried the following commands and they all come back as "command not found"

mke2fs vfat /dev/sc1
fdisk vfat /dev/sdc1
mkfs.vfat /dev/sdc1

What am I doing incorrectly?? Can someone please point me in the right direction??

View 6 Replies View Related

Server :: How To Format RAID 5 Using 3 Disks

Aug 16, 2011

I have built a couple RAID's, but I'm uncertain of how I should format the partitions of the raid. Should I format partitions on each disk, and then add them to a raid, or should I create a raid on unformated disks and then format the raid as a partition? Does it matter, and are there performance/reliability issues? I'm creating a RAID-5 using 3 SATA disks on RHEL for user data area.

View 5 Replies View Related

Ubuntu :: Can't Access Two Different Hard Disks

Jan 30, 2011

I'm having two hard disks in my pc. I can easily access both of them from my windows. But in case of ubuntu i can access only that hard disk on which ubuntu is installed. The other hard disk can not be accessed from ubuntu.

View 2 Replies View Related

Ubuntu :: Cannot Install WinXP - No Hard Disks Found

Jul 29, 2010

I have a laptop HP Pavilion, on which I installed Ubuntu 10.04. I erased the whole disk and used the option manually define the partitions.

Here is my partition table given by gparted:
Partition File system Mount point
unallocated 1 MB
/dev/sda1 vfat /windows
/dev/sda2 ext4 /
/dev/sda3 extended extended
/dev/sda5 linux-swap
/dev/sda4 ext4 /home

I installed Ubuntu and everything went fine. But now I want to install WinXP from an original Microsoft CD-rom and I get the follow error:
Unable to install windows, no hard disks found, contact your dealer (or something like that, it is translated from Dutch).
I tried everything, formatting my hard disk with gparted NTFS, formatting mkfs.vfat, with no luck.

View 4 Replies View Related

Ubuntu :: Copy Profiles To Multiple Hard Disks?

Nov 29, 2010

First and foremost, I really appreciate this newer release of Ubuntu 10.10. My boss wanted to use SLAX, but I had great experience with 8.10 and I have installed 10.10 on laptops and netbooks. on with the challenge for the day: I have configured a user's profile on 10.10 to startup Firefox in kiosk to go to our secure portal. The problem is I don't particularly care to REDO configure a user's profile session over and over.

So, if any of you whiz kids out there can come up with a better way to copy a user's profile...particularly the files that are used for Mozilla Firefox so that I can just copy and paste the files onto another hard drive with a fresh 10.10 that would be great.

The ONLY issue I have working with Linux is that I can not rapidly deploy my settings I have set for 'user' as I can with Windows. I am sure if there was a way to do this, deployment of Ubuntu 10.10 would go MUCH faster. As it stands, if I am able to pull this off...there will be a potential of removing Windows desktops. Which is fine for me because I can manage desktops a little easier on this platform than Windows.

This is what I have installed in Ubuntu:
IcedTea (for Java plugin for Firefox)
Profile Editor
R-Kiosk

All those work great with Firefox, but getting those installed on a new system is a bit daunting.especially when some users suggest doing cloning when in reality...I plan to do the install via LiveCD and THEN hopefully create the user on the fly in Terminal and copy the user files needed off a flash drive into the home/user folder

View 1 Replies View Related

Ubuntu Installation :: Installing On Windows With Several Hard Disks?

Jan 15, 2011

I would like to install ubuntu on windows xp which has 6 partitioned hard disks. When I try to install ubuntu on hard disk F, it says i need to select a root. However, I could not succeed in selecting a `root`. I also tried wubi, but it was terminated with an abrupt error just before it was finished. Furthermore, what does boot directory mean?

View 5 Replies View Related

Ubuntu :: Software RAID And Mixed Hard Disks

Apr 8, 2011

I would like to mirror some of my partitions (i.e. /home) with a software RAID. My primary harddisk is a Western Digital WD20EARS with Advanced Factor (4kB Sectors). The secondary disk is a Samsung HD103UJ with old sector-style (512B). Is it possible to set up a RAID 1 containing a partition with advanced factor an a partition with old sector-style or do both partitions have do be in the same sctor-style?

View 1 Replies View Related

Hardware :: Using Old Hard Disks In New System

Nov 10, 2010

I'm going to buy a new system, and I have 2 SATA hard disks from my old system. One is installed with a Linux OS, the other with Windows Vista.For the Linux hard disk, will I be able to simply use these 2 hard disks on the new system and boot up, retaining all my data? If not, how do I transfer the data from my old hard disks to my new hard disks? My old system is faulty (no signal to monitor), so I can't just copy everything directly using, say, a portable hard disk.

View 3 Replies View Related

General :: External Hard Disks

Mar 22, 2010

I'm using SUSE11.1, and connected to my system, a DELL 7500, a 1.5 TB Buffalo external HD. I partitioned it in 4 sectors.After connection, nmediatly the mounted disk would appear on the screen,(each partition with its respective name), and could use it as any other folder.To unmount the external Hard disk, I just ejected each partition, and had no problem. I used the same HD with my Mc, and things were all right, I used to backup automatically the Mc. However after having been using the system in this way for more than half a year, suddenly the hard disk began to rattle...and the SUSE system on the DELL, nor the Mc can mount the external hard disk any more. Thus, the partitions can not be mounted any more. When I cd to /media/ in the SUSE, the names of the partitions appear, but they seem to be empty..On the Mc, going to /Volumes/, before the problem appeared, the names of the partitions were there... but now, they are no more and the automatic back up either.So my question is, how to mount the disk, if it needs mounting... or how I can recover the partitions and the data therein... I am clueless, after two weeks trying to solve the problem..

View 1 Replies View Related

General :: Regarding Local Hard Disks

Dec 28, 2010

In Fedora when we double click the Partitioned Local Hard Disks then we have to give the root password otherwise it will not open. Is there any way to read and execute the Partitioned Local Hard Disks without giving the Root Password.

View 5 Replies View Related

Software :: Lilo For Two ATA Hard Disks

Jan 23, 2011

I am booting Slackware 13.0 on an X86 from a (master) ATA hard drive. I have added a second (slave) hard drive that contains an installation of Slackware 13.1. This works in so far as I can boot 13.0 from the master drive, then mount the slave drive and read and write files to it. So the hardware is basically working.What I want to do is configure lilo so I can choose to boot either 13.0 or 13.1. So far I have not gotten this to work.

Under 13.0 the slave disk appears as /dev/hdb. The root-partion for 13.1 on the slave is the first primary partion on the slave, and appears as /dev/hdb1 when viewed under 13.0. What stanza should I add to lilo.conf to make the slave 13.1 bootable?

View 5 Replies View Related

Ubuntu Installation :: 3 Hard Disks When Removing One Stops Loading?

Mar 6, 2010

I have 3 hard disk drivesone regular and two sata: Ubuntu / is installed on sata /dev/sda6 Ubuntu /boot is installed on /dev/sda1econd sata hard disk /dev/sdb is emptyI have just reformatted it to ext3third hard disk is /dev/sdc with some fat and ext3 partitionsif I shutdown computer, then plug out one of sdb/sdc or both of themthen after BIOS I see grub menu (as usual)but if I hit any keyboard button the computer automatically rebootswithout any messagesI tried hitting c,e,enter - reboot I tried reinstalling grub like this:

$ grub
grub> find /grub/menu.lst
(hd0,0)

[code]....

View 4 Replies View Related

Ubuntu Installation :: How I Removed RAID Metadata From Hard Disks

Oct 18, 2010

I had a couple of IDE hard disks that had previously been set up as a RAID1 array.I wanted to re-format and use them as separate independent hard disks but Ubuntu reported that they were part of a RAID array.This is how I removed that RAID metadata from the drives.With both drives connected I booted up Ubuntu 10.10 Live CD.

I checked the device names via System, Administration, Disk Utility - they were listed as /dev/sda and /dev/sdbI also noted that there was an extra device with name of /dev/md-0 which was the RAID array.Then I rebooted the PC, and checked the device names via System, Administration, Disk Utility - no more /dev/md-0 and the two drives no longer showed as part of a RAID array.

View 2 Replies View Related

Ubuntu Installation :: Pxe Boot Doesnt Detect Hard Disks?

Feb 26, 2011

I have a fully operational PXE boot server, the client boots up and begins the setup process however, fails to detect the hard disk, I have tried with ubuntu 8.10, 9.10 and 10.10 and none of them will see my hard disk, I boot to the cd and it sees the hard disks with no problem, so apparently the pxe boot server isnt serving up the neccesary drivers or something to detect my hard disks properly. They are just IDE drives and like I said, regular cd install detects my drives just fine.So if anyone here has any information that may help shed some light on this issue I would be so grateful

View 1 Replies View Related

Ubuntu Installation :: Boot From Flash Drive Without Hard Disks?

Jun 13, 2011

I have no hard drives in my computer, so I have been trying to boot Ubuntu 11.04 from an 8GB usb flash drive. Is this possible? So far the best result i have gotten is it will sit on the loading screen for a while then dump. I was only able to get the last little bit which reads mount. mounting /dev on /root/dev failed: no such file or directory. mounting /sys on /root/sys filed: no such file or directory. mounting /proc on /root/proc failed: no such file or dirctory. target file system doesn't have requested /sbin/init

View 4 Replies View Related

SUSE :: No Hard Disks Were Found For Installation

Aug 5, 2009

the hard disc has two partitions, one is 156gb ntfs, currently with windows xp prof sp2, and I am trying to install linux to the second partition, also currently ntfs.I am not a total newbie (i used fedora 10 last semester and ubuntu the semester before that). I have tried installing ubuntu9.04, fedora 10, fedora 11, and opensuse11.1 to this computer, and every time the installation probes for hard disks it comes up with zip, unless I have my external disks connected. Otherwise "No hard disks were found for the installation. Please check your hardware!"with OK button.

I also tried with gparted to see if I could find the hard disk, and still had no luck. I googled my problem and found others with similar problem but no satisfactory solution.does anybody have any idea what could be wrong and how to fix it??

View 6 Replies View Related

General :: Using LILO Then Moving Hard Disks Around

Jun 15, 2010

A few years ago I built a small Slackware system and, for storage, I used using a 2Gb Compact Flash card plugged into the primary IDE interface. Initially, I made a bootable CD rom, booted the new system from that, copied the file system to the CF card and then ran LILO to install a boot sector on the CF 'disk' /dev/hda. That all worked well enough.

The only trouble is that the CF card, being an early one, is rather slow and so I've just bought an Innodisk 2Gb Disk-on-Module which ought to be much faster. I have plugged that into the secondary IDE interface, I've run cfdisk to make a partition, formatted it using mkreiserfs and copied all of the contents of the CF card on /dev/hda to the new device on /dev/hdc. So far, so good. But...Now I need to run LILO from the existing CF card in /dev/hda to put a boot sector on the new /dev/hdc. Then I want to move the new device from /dev/hdc and put it in /dev/hda once it's bootable.

I'm stuck to know how to configure LILO to install a new boot sector on /dev/hdc. I don't appear to be able to make LILO understand what I'm trying to do. If I change the line 'boot = /dev/hda' in lilo.conf to 'boot = /dev/hdc', LILO aborts with an error message.

View 5 Replies View Related

General :: Boot Two Hard Disks - XP And Kubuntu

Sep 10, 2010

I have installed xp at the main hdd. It has 3 partitions. Then I installed Kubuntu 10.04 on the slave hdd. When I boot, it doesn't recognize kubuntu. When I searched at My PC in XP, didn't recognized the slave hdd. I switched the hdd (slave to master and viceversa) and it didn't go well either.

View 8 Replies View Related

General :: Add Entry To GRUB2 With 2 Hard Disks?

Jun 8, 2010

I have two ide hard disks. One with windows and other with ubuntu 10.04. i want both windows and ubuntu in grub menu so what should i do ?

View 3 Replies View Related

Server :: Configuring Four Hard Disks Externally Into One LVM?

Dec 30, 2009

I am connecting a complete set of four hard disks externally to my linux server.I have certain queries on that

1. How to make it detected. Will the cd which had come with that will install the required drivers?
2. How the cd drive will work out in linux?
3. How to configure all the 4 HDD into one LVM?
4 How to remove an already installed software from a linux system?

View 3 Replies View Related

Ubuntu :: Disabling Desktop Icons For Disks And External Hard Drives?

Mar 19, 2011

i have docky and i set it up so when i put in a disk or plug in an external drive it registers on the dock. what i want to know is how to make it so when i plug something in or put a disk in it doesnt pop up on the desktop?

View 2 Replies View Related

Debian :: Auto-mounting Hard Disks On Start Up

Feb 18, 2016

I'm not sure how to do this. I checked the hard drive preferences and looked through the forums... I don't want to manually mount my hard drives(s) every time I boot up just to access my music and wallpapers.

View 5 Replies View Related

Debian Configuration :: Tool To Turn Off Hard Disks?

Dec 31, 2010

Is there a command line tool to shut off/spin down the hard disk either when not in use or when something is typed into the console? I'm trying to save power in a laptop I have..

View 2 Replies View Related

OpenSUSE Install :: Can't Boot Anymore From Any Of Hard Disks

Jul 18, 2011

i have got a very strange boot problem. But first: I have openSUSE 11.4 with kde installed. I have the amd64 dual core cpu and 2 hard disks. I was able to boot from both of those disks (on the second disk I have openSUSE 11.2 in case something goes wrong with the first disk). Then I decided to install openSUSE 11.4 from DVD to a usb key (just like I would to a hard disk). I succeeded. I did not involve any partition of the hard disks in this install. But now I can not boot anymore from any of my both hard disks although bios finds them it did before. After bios I get the following message: Loading stage 1.5 error 21.

Error 21 means: Selected disk does not exist. This error is returned if the device part of a device- or full file name refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system But I am still able to boot from usb key. I have even modified the menu.lst from the usb key to boot openSUSE 11.4 from the first hard disk. This works fine. I have also tried to install grub again on my first hard disk with grub.install.unsupported and with yast2. But installation stops with an error message like "hard disk not found by bios".

View 3 Replies View Related

Red Hat / Fedora :: Any Method To Get Info About Number Of Hard Disks

Apr 25, 2009

Any command to get number of hard disks in linux. I have used fdisk -l and df -h. but is there any other sure shot method of knowing this.

View 3 Replies View Related

Hardware :: Zero-length Partition - For 2 Hard Disks Within A Week?

Jul 15, 2011

Coming from Fedora, I had a Web/Mail/SQL server with 2 hdd's. One (sda1) was the one with Fedora on, and all backups were on sdb1.

Now, I started having issues with SDA1, so I started copying files to SDB1. 2 weeks later I noticed similar issues, and started copying new back files to SDB1. But once I started doing this I lost connection with the server.

Turns out that (in rescue mode) that I couldn't access SDA anymore, it couldn't even read stored data on it, etc. It didn't show up in fdisk anymore either.

So after a lot of trying I asked to replace the disk and started installing Ubuntu 10.04 LTS on it. After having installed everything, I tried to restore one of the MySQL backups that was on the SDB disk, but halfway I started getting errors. I stopped the restore and did some other stuff that I wanted to take care of first (apache2 config etc.).

I then tried to reboot to be sure that that was working as well, and then the problems started. I couldn't access the server anymore, and in rescue mode (which is a live cd my host provides, it's a dedicated server btw.) I didn't see SDB anymore.

I told them this and now after they told me that they managed to get it back, I went into the rescue mode and tried to recover bad blocks with the e2fsck command.

Code:

Trying to restore this bad superblock doesn't work. I've tried for almost all of them:

Code:

e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sdb1

Could this be a zero-length partition?

What are the chances of TWO hard disks failing? Surely there must be something else wrong? Did a bad driver (which would be weird, since I didn't do any updates like that) screw both of my hard disks up in Fedora?

Also, I must note that when I tried to copy the backups from SDB1 to SDA1 (the new one). I got a read only (??) error, and some other I/O errors.

Just for information, I'll show fstab and mtab as well: /etc/fstab

Code:

Code:

I haven't added the sdb here yet, but it was here in Fedora so that can't be the problem.

And this is /var/log/messages when the problems emerged

Code:

Then on the ubuntu forum they proposed me to do this:

I ran smartctl and it gave me this:

Code:

Code:

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved