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 .....
i want to install windows 7 and ubuntu studio on the same hard drive(dual boot) but that is not a problem for me.since ill be using both i want a third partition to store all music images etc from both the OS's.i think the 3rd partition should be fat32 so that both windows and ubuntu can access it.but windows needs a system reserved partition nowadays and ubuntu a swap.so that makes a total of four partitions.So how can i make my fat32 partition?
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.
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.
I am running Debian testing (amd64, xfce) on my box where I have two sata hard disks.
I do not have any raid or fancy stuff; all the OS is on one hard disk and the second is mounted on boot and accessible as simple extra storage that I use for some backups.
Today, for the first time, I started to get some messages during the boot about some process (EMASK and DRDY) on my second hard disk.
The system boots, but I cannot access any more the 3 TB volume which is my second hard hard disk.
I do not know if it is a software of hardware problem (the hard disk are not old at all), so...where should I start from?
I'm running SUSE 11.3 on hard disk (a). I have a second hard disk (b) which has FreeBSD loaded and would like to copy all that info onto (a), then reformat (b).
How do I mount hard disk (b) to achieve my objective?
I've used YAST to include a USB hard disk in the export list and mount it to remote machine with NFS. That worked first time the disk was mounted. On the next reboot I saw that the USB disk was mounted again in "/media" but in new folder and its previous folder existed but empty and was mounted with nfs. It seems that first nfs comes mounted in booting time and then USB gets mounted after logging as a user. USB hard disk finds its folder occupied and automatically creates new folder in "/media". What should be done in order to USB hard disk and nfs to be mounted in the same point automatically on the boot ? The second question : When I mount an external disk to be accessible remotely with nfs I get refused to unmount the disk as a USB device. Is it possible to be unmounted as a USB disk done without unmounting it as a nfs as well?
I've had this external drive for ages, it contains all my music and pictures that I generally share on my network to my family etc... It has been working for years on Ubuntu until the other month I updated to 9.10 and now it will not mount. It still works on my EEE PC, I plug the USB in and up it pops as usual, however, I can't get it to work on Ubuntu 9.10
I am running a Debian/Linux "Lenny" dual boot system and when I try to open my WD passport storage device I get: Cannot mount volume. Invalid mount option when attempting to mount the volume "My Passport".
I have just updated to karmic, and I found that my external hard disk partitions, previously mounted under /media/disk and /media/fat are now referenced by something looking like a UUID, namely /media/7b096ea4-60ee-46b1-95cd-1851b051c40d and /media/4951-95D9.
Is there a way to revert to the old settings? Any application relying on the files on the external hard disk has now stopped working. While I certainly could just change reference (assuming the UUID does not change every session), I'd rather use the old names if possible.
Is it possible to mount a 2nd hard disk without erasing the data that is already on it? If so, what command must I enter. The system recognizes that the disk is there, I just can't access the data because it hasn't been mounted.
System: ubuntu server edition 10.10 Hardisk: a 160g usb external hard disk, formatted in win7 with NTFS format. %fdisk -l returns: Device Boot .... System /dev/sdg1 NPFS/NTFS %sudo mount -t ntfs-3g /dev/sdg1 /media/external
I have a directory /var/log/data its about 80 GB,It filling up quit rapidly.I don't have much space left in the system them So i will attaching another External HDD.My question is that i need to mount /var/log/data to new HDD.So i have old data and pulse new coming up.I don't want to copy data from /var/log/data then mount new HDD to /var/log/data you know what i am taking about is there a simple way like linking or any other.
I am running SUSE 11.1 on a 80Gig IDE HDD, I have added a 160 SATA HDD which I wish to use as storage. fdisk reports it as /dev/sda1 - W95 fat 32 LBA. What would the fstab entry be to make the disk mount automatically on boot, so that it shows on the desktop ready for use.
I have a server with two hard disks SATA (500 GB), I installed centos in one of them, desire to know how I can mount the other hard disk empty and without format, so that this hard disk always appears mounted when "reboot" the system.
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
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.
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.
I would like to mount a partition on a second disk as /home. I have two hdds. one is 250gigs that I wish to use for the / of two or more os'. The other is 1TB that I would like to use as /home/charlie and /home/prisca as well as some other partitions. Here is my current /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sda6 during installation
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?
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.
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.
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'.
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."