General :: 1TB Hard Disk Partition - Device Not Created

Apr 30, 2010

I have installed 1tb hard drive and would like to partition as follows:

1) / - 20g
2) /swap - 6G
3) /photos /150g
4) /videos /500g
5) /audio /300g

After 2-3 partition an extended partition automatically created in which I am not able to create specified capacity i.e., say I want 150g of /photos partition, the /videos partition is automatically reduced and a free space at the end appears. Some free space is always there which i am not able to understand. Nevertheless i clicked to create, but I get an error viz. 'device not created'.

View 7 Replies


ADVERTISEMENT

Hardware :: Cannot Partition Hard Disk - No Valid Device Found

Mar 25, 2010

I have installed vmware in windows server 2003 enterprise edition. When I installed I changed the default installation folder from c: drive to i: drive, as I do not have space in c: drive. After I captured red hat linux cd in vmware and reached partitioning section and continued I got a message like "an error has occured no valid devices were find on which to create new file systems, please check the hardware for the cause of the problem". The machine is IBM server....

View 1 Replies View Related

Programming :: Looking For Last Five Files Created On Hard Disk

Aug 4, 2010

Kernel 2.6.21.5, GNU (Slackware 12.0).
Bash 3.1.17.

I want to search an entire subtree of /, in the file system, for all files, with extension html, created on the hard disk. In addition, these have to be the last five created. I think I could split the problem into two parts: (a) Forget about the last condition. Then this is a job for the find command. (b) Sort the output of find using the date as the key, then use 'head' to print the desired output. But even two such simple steps are enough to justify the writing of a shell script. And here lies my weakness.

My script writing knowledge is rudimentary. What's the final purpose? Well, I lately saved four or five LQ pages onto disk containing information I consider valuable to me. But I don't exactly remember where on the disk. Then: either the problem posed is really of a very simple nature or it is not, in the latter case a script being mandatory. One of the algorithm drawbacks (the one described above) is that find may be running a great deal of time. My machine resources (RAM and CPU speed are low) are scarce and there possible are a large number of HTML files on the disk.

View 8 Replies View Related

Red Hat / Fedora :: Delete The KVM Created Hard Disk Image File?

Feb 22, 2011

I want to delete the KVM created hard disk image file, so I would like to know where it is located .

View 6 Replies View Related

General :: Cannot Mount Hard Disk: Block Count Exceeds Size Of Device

May 11, 2011

I have one hard disk (call her HDA) that contains nothing but a single ext4 partition containing a backup of all my important data. Last night I did a clean install of Ubuntu 10.10 on my primary hard disk (call her HDB) and from there proceeded to upgrade directly to Ubuntu 11.04 upgrade. In 10.10, I was able to read HDA just fine. However after the upgrade, I can no longer mount this drive. When mounting from file browser:

Code:

Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sda,missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so The end of dmesg said the following:

Code:

dmesg | tail
[ 82.130904] EXT4-fs (sda): bad geometry: block count 122096646 exceeds size of device (122096381 blocks)

my hard disk has a block count greater than the size of my device. I've done my background searching on this and tried a command line utility I've never heard of before:

Code:

# sudo e2fsck /dev/sda
e2fsck 1.41.14 (22-Dec-2010)
The filesystem size (according to the superblock) is 122096646 blocks
The physical size of the device is 122096381 blocks

[code]....

this is as far as I've gotten. This drive holds over a decade's worth of work for me and is extremely valuable. I really didn't think that the Ubuntu upgrade process would mess with this drive, seeing as the Ubuntu install was contained on an entirely different drive. What is it that I need to do to restore my drive to working status?

View 9 Replies View Related

Ubuntu :: Get Time Of Disk Formated Or Partition Created Or Installed?

Jan 13, 2011

I need to know when I have bought a notebook. I know I have formatted disk myself and partition created and Ubuntu installed.Is there any way I can get info when I bought a notebook? Like time of disk formatting, partitions created, Ubuntu installed

View 2 Replies View Related

General :: CentOS 5 - Custom Hard Disk Partition?

Mar 3, 2011

I want to install Cent OS5 on my machine. The Hard Disk is SATA. I want to discuss about how to custom partition the hard disk. In the old version there is a drop down list for manual partition the hard disk. like /,boot,swap,var etc etc. In the new version of centos 5 I can not see things like that. During installation process and in partition page there are things like:

Code:
Remove all partitions on selected drives and create default layout.
Remove Linux partitions on selected drives and create default layout.
Use free space on selected drives and create default layout.
Create custom layout.

When I choose custom layout it show me an error message. "An error has occurred-no invalid devices were found on which to create new files system. Please check your hardware for the cause of this problem."

View 1 Replies View Related

General :: Partition And Installation On Wrong Hard Disk

Mar 10, 2011

Newbie to Linux Ubuntu 10.10. Got the installation done on the wrong disk, How can I move the partition or uninstall?

View 1 Replies View Related

General :: Windows - Match Hard Disk Partition Table?

Mar 15, 2010

What is the most efficient way to match the partition tables on two different hard disks?

I have saved the partition tables using dd command in linux.

The partition tables are from a Windows system.

View 1 Replies View Related

General :: Copy DVD ISO To Empty Hard Disk / Partition And Boot As If It Is A DVD?

Sep 10, 2011

I have a broken DVD drive and no others available right now to burn a DVD iso to so I'd like to use a empty hard disk instead.

I've tried Unetbootin but that only copies a few megabytes of files - the rest of the image data in the ISO is ignored.

I have verified the ISO is valid and working with VirtualBox. It's MD5 hash is also as expected. But I need to boot at the real bios not an emulated one.

I've also tried things like:

sudo cat /disk/image.iso > /dev/sdb1

and that got "Permission denied" -

View 3 Replies View Related

General :: Bootable Partition Start From Sector 1 On Hard Disk?

Dec 20, 2010

Should the first bootable partition start from sector 1 on a hard disk? or Can it be created anywhere on the disk? I am using fdisk to create the bootable partition.

View 2 Replies View Related

Software :: Resize A Partition On An IDE Hard Disk To Use The Entire Disk?

Jan 7, 2009

I'm trying to resize a partition on an IDE hard disk to use the entire disk but can not get more than a 309GB partition. I can get 295, 300, 301, 302GB, etc... fine but start getting problems with anything over 309GB. I get the following error with 310GB or more:

error: block relocator should have relocated 533 Warning: You should reinstall your boot loader before rebooting. Read section 4 of the Parted User documentation for more information. I am using Slackware 12.1, GNU parted 1.8.8, ext2 filesystem.

Some output that may be of use:

root@asus:~# parted /dev/hdb print
Model: ST3500630A (ide)
Disk /dev/hdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

[code].....

View 3 Replies View Related

Fedora Servers :: How To Use Fdisk To Partition Hard Disk Into Two Partition

Jul 2, 2011

i had installed fedora 14 into my new hardisk(1500gb) as new server the problem is how can i use the fdisk to partition the hardisk into two partition.

View 10 Replies View Related

General :: Changing GRUB From An External Hard Disk To The Internal Hard Disk?

May 14, 2010

I had a dual boot (windows 7 + debian), both of them installed in my internal hard disk, with the GRUB in it. I have recently installed a second linux distro (mint), but I put it in an external hard disk. Now the GRUB allows me to boot any of the three operating systems, but I need the external disk to do it. It seems that after the mint installation the GRUB is now working from the external disk (if the external disk is not connected, the machine does not boot.) �Is there a way to change the location of the GRUB, to the internal hard disk of my laptop?

View 2 Replies View Related

General :: Defined Root Partition Not Created A / Boot/efi Partition?

Aug 31, 2010

when I tried to install Fedora on my pc, I got this error message " Defined Root partition not created a / boot/efi partition. I am trying to install it on a seperate hd. My main one has windows xp pro, but I do not want to interfer with that at all?.

View 14 Replies View Related

Fedora :: Device Hasn't Booted From Hard Disk?

Jul 26, 2009

2 days ago i have tried to install fedora 11 ...but after i did achieved installation successfully ...and rebooted system ,the device hasn't booted from hard disk ,alternatively it has booted from the network (Broadcom)- the third booting choice in bios - . i have tried three different DVDs ....but no thing changes ...!

View 1 Replies View Related

Hardware :: SCSI Hard Disk Device Node Creation

Mar 26, 2010

I am developing for a Linux based device for which the HOT PLUG option is deactivated. As part of optimizing the code, we also don't want to create device files for unused devices. We understand that both USB attached and fixec SCSI hard disks would create device files like /dev/sda,/dev/sda1 /dev/sdb, /dev/sdb1 etc. Is this understanding correct?

In the case of USB attached SCSI devices, would driver create this device file entry? How is it created? Can somebody please tell me how it is being created automatically. In case I attach a fixed SCSI hard disk before boot up(and create device file /dev/sda1), would USB SCSI device driver create device files starting from /dev/sdb, automatically.

View 4 Replies View Related

Ubuntu :: Code To Access Hard Disk Sectors (LoopBack Device)

Jan 26, 2011

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 has the following configuration.

Code: $> sudo fdisk -l /dev/loop0
Disk /dev/loop0: 10 MB, 10977280 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/loop0 doesn't contain a valid partition table Now what I want to do is develop a c++ program to read & write files to this loop back device,which I'm using to simulate an actual hard disk,at the blocks & sectors level. So far I've come up with the following code. But I'm still unable to read files from the hard disk one block at a time.

Code: #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
char block[512]; int length=0;
cout<<"Implementation of the File Handler Read Method..."<<endl;
FILE *f = fopen("/dev/loop0", "r");
if(f == NULL) {
cout<<"Error In Opening the HardDisk File Retuning Error..."<<endl; return -1; }
//Read One Block of Data to Buffer length = fread(block, 1, sizeof(block), f);
/* Do something with the data */ cout<<"Length : "<<length<<endl;
return 0; }

When I run this Program All what I get is the message for NULL. "Error In Opening the HardDisk File Retuning Error...". So I could open the loopback device as a file an access it at the sectors & block level.

View 1 Replies View Related

General :: Use Hard Disk Image Like A Regular Hard Disk?

Apr 6, 2010

If you have a hard disk image (including partition table, multiple partitions,...), is it possible to let Linux treat it as a regular hard disk?

By "regular hard disk" I mean I would like to have the image show up as, for instance, /dev/hdx and its partitions as /dev/hdx1,...

(I know I can mount one of the partitions in the image using "mount -o loop,offset=x ..." but I don't really like this option.)

View 2 Replies View Related

Software :: Cann't Find The Device Created Through Device Mapper In /proc/partitions?

May 15, 2011

Recently, I created a device sc0 through device mapper. The divice could be found in /dev/mapper/sc0. My problem is that the device doesn't exist in /dev/partitions which will block my following test.BTW, I found dm-0 in /dev/partitions. Is it the same as /dev/mapper/sc0? But the device /dev/dm-0 doesn't exist!

View 2 Replies View Related

Hardware :: Hard Disk Partition Out Of Space?

Dec 14, 2010

have Debian "testing" installed. During the installation I selected to have a separate /home partition. / partition is ~10Gb, and my /home is ~300Gb. I didn't think I would need more than 10 for /.The other night, Debian informed me that I had 0 bytes remaining on /. I purged /temp an went about my day, only to be greeted with the message again the next morning.I've tried shrinking /home and increasing / via an Ubuntu live CD with GParted, but for some reason it did not want to work. However, I am beginning to suspect that my /home folder is occupying the / partition, and not the separate /home partition.Output of fdisk -l

Code:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1216 9764864 83 Linux
/dev/sda2 1216 38914 302803969 5 Extended
/dev/sda5 1216 1974 6082560 82 Linux swap / Solaris
/dev/sda6 1974 38914 296720384 83 Linux

View 8 Replies View Related

Red Hat :: Extra New Partition On Hard Disk To Mount VAR

Mar 5, 2010

On my embedded linux box, running on Linux Kernel 2.6.9 embedded with BusyBox utilities.

An Objective are follow:
1/ To figure out how many partitions are on the hard disk
2/ Create a extra partition about 10GB size on the hard disk
3/ Format the partition and mount var on that partition

Only utility to perform above operations I have "sfdisk" utility from BusyBox collection. Which get installed at the time of image flash in to ROM (8mb ROM size). The following is the root directory structure where hdd as a directory mounted /mnt/hdd1

Code:
~ > ls
bin etc lib proc sbin sys var
dev hdd mnt root share tmp var_init
Within /bin sfdisk utility can be used which I tried but no avail.

Code:
~ > sfdisk -l /dev/hda
/dev/hda: No such file or directory
sfdisk: cannot open /dev/hda for reading
~ > sfdisk -l /dev/sda0
/dev/sda0: No such file or directory .....

View 11 Replies View Related

Ubuntu :: Partition Hard Disk From Live CD

Sep 28, 2010

When I installed Lucid several months ago, I went ahead and let Ubuntu use the entire disk. Since then I have learned more about partitions and came to realize that I didn't have a separate /home partition, meaning that clean installs of new Ubuntu releases would wipe my data. I would like to carve my hard drive up from the LiveCD environment while preserving my current data and Lucid installation.

View 3 Replies View Related

CentOS 5 :: Selecting The Hard Disk Partition?

Apr 2, 2009

i have Cent OS 5.2 CD (6) with me. I need to install it in my hard disk. I have already installed Windows XP in C: partition. I need to install Cent OS in D: partition. During installation process its asking for hard disk partition. In this regard, how to select the partition. I have C,D,E and F partitions and C,E and F are in common use. So i have to install Cent OS in D partition.

View 3 Replies View Related

Fedora Installation :: Partition Hard Disk Using GParted

Dec 6, 2010

HP Netbook Mini 210
F14 xfce
I installed F14 xfce and using the entire disk.

Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 97G 4.0G 92G 5% /
tmpfs 494M 212K 494M 1% /dev/shm
/dev/sda1 485M 49M 211M 11% /boot
/dev/sda4 193G 8.5G 175G 5% /home

After I have installed all my programs, I need to install windows and I need visual studio. So I was thinking of taking 20 GB from the /home directory and using that for windows. I can use gparted. However, many posters on here think it is best to use gparted by booting from the disk. However, I cannot do this, as I don't have any DVD drivers. And I can't really afford to buy one just for this reason. What is the best way to do this?

View 2 Replies View Related

Ubuntu :: Increase Hard Disk Space For Partition?

Oct 1, 2010

My computer has Windows and Ubuntu operating system and each is located in separate partition (dual boot).Now the disk space of Ubuntu partition is about to run out. I wonder how I can increase the disk space of Ubuntu partition.

View 9 Replies View Related

Ubuntu Installation :: Partition When Hard Disk Is In Format?

May 20, 2011

This is my situation, I had installed Ubuntu in my whole drive in 640Gig. Now, I want to partition it, without affecting my Ubuntu operating system. I just want 320Gig for my Ubuntu and 320 for my Windows.

I know how partition using Windows but from Linux, that I don't know.

View 2 Replies View Related

Software :: Possible To Boot From Hard Disk Having RAID Partition?

Mar 28, 2010

I wanted to implement raid5 such that one partition is from my laptop's hard disk and others from other hard disks. After making one partition a raid partition, I rebooted the system. The computer stopped mid-way during booting, and brought me to the shell. On typing fsck -p, it told me an unexpected error occured in the partition which I had made for raid. Is there some condition that we cannot boot from a disk containing one of the raid partitions ?

View 1 Replies View Related

Red Hat :: Hard Disk Partition Size To Create Name Server

Jan 24, 2011

I want to configure Name Server i.e., DNS to my red hat linux box in a production enviromnt.The ram is 2 GB and Hard Disk size is 200 GB. How much space should I give /var, /usr, /boot, /root and home partition. May be I am wrong in partition point of view while installing fresh red hat but to install for home purpose and server end is different. So kindly guide me the hard disk partition size to ready it for name server.

View 3 Replies View Related

General :: Mount From The Old Hard Disk To The New Hard Disk

Jun 30, 2010

mount from the old hdd to the new hdd i mean (Hard disk)

View 2 Replies View Related







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