Ubuntu :: Moving A Partition - Unmounting Root ?

May 11, 2011

I want to move my / partition to the end of my drive (sda). To do this with gparted, I have to unmount it, but I'm not comfortable with the idea of unmounting root partition... Should I do it from a live cd? More important : is the operation safe?

View 5 Replies


ADVERTISEMENT

General :: Fix Grub After Moving Root Partition?

May 15, 2010

Because I am using one of the new WD disks I am trying to aling my root partition with the real sectors, as described here:[URL]31So I copied all files to a temp location, deleted my partition (/dev/sda3), recreated it a few cylinders later (same name) and copied the files to the newly created partition. But now when I try to boot, I get my old grub menu but after selecting my kernel version it hangs

View 15 Replies View Related

Debian Configuration :: Copying / Moving Root Filesystem To Another Partition?

Mar 4, 2010

My root filesystems flooded so I'm trying to move it to another (bigger) partition but I'm not sure of the best method. I just tried to use "dd if=/dev/sda1 of=/dev/sda6" to copy it but all that did was give me a brand new partition with no freespace available presumably because the filesystem is smaller than the partition. Is it possible to make the filesystem bigger?

View 8 Replies View Related

General :: Gnome/nautilus Mounting And Unmounting Without Root?

Feb 28, 2010

Gnome version 2.28.1 with kernel 2.6.31-14 on an Ubuntu 9.10 Karmic box.I'm wondering how usb drives, etc get automounted in gnome now days. Thought it might be fusermount, but no.Gnome-mount is not installed. Perhaps it is via AL or udev, but what commands control it? I've found posts that talk about using gnome-mount, but these are outdated as this package isn't even installed by default anymore.I would like to unmount certain volumes via the command line, but without having root privileges as gnome is doing by clicking in nautilus. I would like to do the equivalent from the command line.

Are there any command lines commands that will allow me to do this (not talking about pmount which is not installed)?Also, is there a way to prevent automounting of just certain devices, but not all? I have a USB with 7 different things on it (a "built-in" CD for some reason for windoz users, the original NTFS, and 5 linux partitions). I really only want one of the linux partitions (an XFS for DVD isos) to automount but not all the others. I would like not to have to disable ALL automounting as in:
Code:

$ gconftool-2 -s /apps/nautilus/preferences/media_automount --type=bool false
$ gconftool-2 -s /apps/nautilus/preferences/media_automount_open --type=bool false

View 5 Replies View Related

Ubuntu :: Moving Files In Terminal \ Moving Files That Have Root Permissions?

Mar 4, 2010

I have limited experience in terminal, but let me first explain what I am trying to do to see if there is some easier way to do it. Basically I want to change the skin in aMSN. I downloaded the new skin but am unable to unzip or move it without /root permissions. I don't know how to acquire this without being in terminal. So I figured there had to be some way to go into the terminal and use it to move the unzipped folder from the desktop to the aMSN skins folder.

View 3 Replies View Related

Ubuntu Installation :: Moving Over Root And Home Into New 9.10

Jan 17, 2010

I have a IBM T42 (using it now to write this) and a newer Lenovo T500 (with a fresh install of Ubuntu 9.10 on it). I want to take all of my programs and config of those programs, plus all my /home directory information/files/hidden files all over onto the new machine. There may be other stuff I need to take over to, and don't know enough about to comment here.

But basically I want my new system to look and work like my old system, with all the same programs and user data, all configured in the same way. Is there a way to do this over the network or another way? I can't even get the two systems to see each other over the network, even though Folder Sharing is enabled and (I think) all the right components are installed. I even checked to see if my user had permission to share files on both machines, and I do.

View 7 Replies View Related

Software :: Moving Root Filesystem To Another Disk

May 19, 2009

I've setup a filesystem on a RAID 0+1 and am looking at moving root filesystem from a single disk to the new one. I could not install CentOS on mirrored filesystem as the RAID card did not have a pre-built driver for CentOS 5.3, so I had to compile the driver after installing the system.What I'm going to do now is:

1. Mount the new mirrored filesystem under /root1
2. use find | cpio to copy everything from the existing / to /root1
3. use grub to create a boot record on /root1
4. edit /root1/etc/fstab to point / to the new disk
5. reboot the system and keep my fingers crossed

Is this the way to go? Am I missing anything?

View 3 Replies View Related

CentOS 5 :: Moving Root Filesystem To Another Disk?

May 19, 2009

Ive setup a filesystem on a RAID 0+1 and am looking at moving root filesystem from a single disk to the new one. I could not install CentOS on mirrored filesystem as the RAID card did not have a pre-built driver for CentOS 5.3, so I had to compile the driver after installing the system.

What Im going to do now is:

1.Mount the new mirrored filesystem under /root1
2.use find | cpio to copy everything from the existing / to /root1
3.use grub to create a boot record on /root1
4.edit /root1/etc/fstab to point / to the new disk
5. reboot the system and keep my fingers crossed

Is this the way to go? Am I missing anything?

View 6 Replies View Related

Ubuntu :: Moving /home To Another Partition?

Apr 23, 2010

I know there is a lot of tutorials about this but I`m kind a new in Ubuntu and Linux. I know that it is good to set different partition for /home. But when I installed my ubuntu 9.10 I made 4 partitions

swap
/boot
/ - 40GB
/usr - 200GB

[Code]...

View 2 Replies View Related

Ubuntu :: Moving To Dedicated Partition?

Jun 17, 2010

right now i m using ubuntu 10.04 installed on virtual hard disk (wubi), but now i want to move it to dedicated hard drive partition. i found is to use LVPM however that software is NOT compatible with ubuntu 10.04. . .

View 3 Replies View Related

Ubuntu Installation :: Moving From One Partition To Another

Dec 9, 2010

I work with ubuntu 10.10 64 bit on a hp pavilion 2713ca laptop. Everything is fine presently, except for the fact that I will be soon out of space on the actual sda6 partition (only 2 gig left).

I would like to move the ubuntu partition with all its content to a second one where there is a lot of space, that is sda2. So my question would be twofold.

1) What software can I use to do that (gparted, clonezilla, ... ) and is someone is familiar with the procedure?

2) Will there be an easy way to change the grub.cfg file? (for example, will the command grub update be enough to boot to new setup)

View 1 Replies View Related

Ubuntu :: Stuck On Moving To New Partition

Apr 4, 2011

I have a laptop with a large harddrive. Originally I had the sda1 which was a dell recovery partition, sda2 which is my Win7 partition. I created a new primary partition to try out ubuntu. Falling in love with the OS, I wished to grow the partition but I already had 4 primary partitions.

I deleted my swap partition and converted that to an extended partition, I then grew it to a 100gb extended partition. I created 2 new primary partitions, one for swap and one for the OS..

So my drives are as follows:

This is what I have done thus far:
1. Booted to live CD
2. Mounted /dev/sda4 and /dev/sda6
3. cp -afvR /oldOSPartition /newOSPartition
4. In the NEW OS partition, I updated /etc/fstab to reflect the UUID's of the new disks.
5. I updated /etc/mtools.conf and /etc/mtab as well.
6. I rebooted to old OS partition and ran update-grub && update-grub2
7. I can see the new entries in the grub boot menu
8. I select the kernel entry for /dev/sda6 (NEW OS), it boots, but when I hit the desktop, I open an terminal and do a "mount" and I am somehow still mounted/booted to sda4 (old OS).

From here, I re-mounted /dev/sda6 to a temporary mount point and did a "cd /; grep -r 'sda4' * > /matches.txt"
I also searched for the UUID and I found no matches so I don't know why it reverted to sda4.

Even if I boot to the recovery console entry for /dev/sda6 in the grub menu, same thing, it keeps mounting sda4.

View 9 Replies View Related

Ubuntu :: Moving /tmp And /var To Another Partition (after Install)

Jun 12, 2011

i am going to be upgrading to a ssd and would like to move /var and /tmp to a separate partition (it can be separate but preferably the same) how would i extract /var and /tmp to a different partition (need fstab lines and permission settings) when i get another stick of ram i will make /tmp into a ram disk here is my partition layout

View 3 Replies View Related

Ubuntu :: Moving Home Directory To New Partition?

Jul 16, 2010

I am trying to move my home directory from my install partition to a new partition. I cloned my installation from a previous ~78 gb HD using g4l to a new 250 GB drive. Now that I am using the new drive i created a new partition to used for files called "files". New partition is sda3 and the boot partition is sd1. I am trying to follow this guide [URL] but I am having no success.

The output of:
Code:
find . -depth -print0 | cpio --null --sparse -pvd /media/sda3
is

Code:
pio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1381.tmp: Cannot open: Not a directory
cpio: `/dev/sda3' exists but is not a directory
cpio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1336.tmp: Cannot open: Not a directory
cpio: `/dev/sda3' exists but is not a directory
cpio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1387.tmp: Cannot open: Not a directory
cpio: `/dev/sda3' exists but is not a directory .....

View 6 Replies View Related

Ubuntu Installation :: Moving Wubi To Partition ?

Jul 30, 2010

I've tried to install Ubuntu 9.04 last year but my modem was malfunctioning, so i gave up on Ubuntu, but i got a new modem and installed Ubuntu using wubi, i loved it and ill make it my main OS, but now i have 2 problems:

1.-I tried using lvpm, but i ended up with a 60 GB new.disk and my hard drive has just 30 Gb (30 gb wubi installation and the 60gb from the new.disk)

2.-i dont know how to shrink windows partition and i dont want to loose my config, tweaks and installed apps my hard drive has 230 gb capacity and i want to leave at least 100 gb to windows

I decided to uninstal wubi and im going to install ubuntu the right way.. it just seems easier..

View 2 Replies View Related

Ubuntu :: Gparted Crashed While Moving Partition?

Feb 28, 2011

So I was moving and resizing a ntfs partition and i just touched gparted window and it crashed!! it was about 66% of finishing the operation... Now i guess i have a big mess in my hard drive and i dont know how to start solving it! i am in a ubuntu live cd?

If i open gparted now it shows the same partition table than before resizing and moving.. so i guess now part of my data is in this unallocated space after the sda5 partition.

View 6 Replies View Related

Ubuntu :: How Safe Is Moving A Boot Partition

Mar 2, 2011

Using gparted as shown on the partitions in the image:

sda1 is Windows 7
sda2 is swap
sda3 is root
sda4 is home

I'd like to move sda4 to the end of the drive, thus shrinking it by 20GB, and shunt every other partition along to make an extra 20GB for sda1 at the start of the drive, and expand this partition into the 20GB of space I created.

When I start moving and shrinking sda4 (before I apply and execute the command) I get a warning saying that it is very dangerous to move a boot partition and it could render my system unbootable etc etc.

How safe is it to do this? If I bork it, can I recover easily?

I assume the error has something to do with start/end disk sectors in the grub2 list (however this works these days). In short, messages like this do what they should and scare me just enough to seek assistance from this wonderful online community!

View 6 Replies View Related

Ubuntu :: Moving Wubi To Normal Partition?

Mar 31, 2011

I have been using wubi for more than half an year. Now I want to move this wubi to local partition (normal ubuntu install). What is the best way to do it? It should be working parallel with windows 7 which i have already.

Is it possible to let windows control the booting, even after installing ubuntu?

View 4 Replies View Related

Ubuntu :: Moving Tmp Partition - GDM Special Files

Aug 14, 2011

I'm in the process of moving /tmp out of the root filesystem to it's own (larger) partition. From a LiveCD I've:

1. Created the new part (ext4 format and is /dev/sda4)
2. Mounted the installed OS root filesystem (/dev/sda1) as /slash
3. Mounted /dev/sda4 as /newtmp
4. Using gksudo nautilus I'm trying to copy the contents of /slash/tmp to /newtmp

I have 4 files that won't copy - returning the error "Can't copy special files". These are related to ORBit it seems:

[code]...

Questions are: a. Will GDM or ORBit fail if I start up without these? b. Or will they just be recreated on the fly if found to be missing? c. What's the best way to proceed?

View 1 Replies View Related

Fedora :: Moving /usr To A New Partition

Jul 31, 2011

I'm running Fedora 14 as a KVM guest on a CentOS host. I decided to give preupgrade-cli a shot to get Fedora 15.

After reboot, I got a not enough free space error, so I decided to add another virtual drive and move /usr to it.

The partition on the new drive is ext4 formatted (just like my / partition)

Code:

Then I mounted the new partition on /newusr, and copied the files using cp and rsync

Code:

Code:

I also tried rsync without the HAX options, same results.

I then changed my /etc/fstab to reflect the new /usr

Code:

Then I reboot and watch the booting process, it fails first at loading NetworkManager, then elsewhere, and system stops. Of course I could revert back using a live CD and try all the other options, but nothing works for me.

There is an error in /var/log/boot.log, but I don't think it is related, as it shows when booting normally as well.

Code:

View 4 Replies View Related

General :: Moving A File To The Root Of The Drive Via Command Line

Oct 17, 2010

How can I move a directory to the root of a drive via command line?

In MS-DOS it would be 'move C:/GAMES/QUAKE C:/'

What is the equivilent in Linux?

View 8 Replies View Related

Ubuntu Installation :: Moving Space From One Partition To Another Using GParted

Jul 27, 2010

I have on sda1 Windows 7 installed. On sda2 I have 3 sub partitions (extended partition) with Ubuntu 10.04 and a swap space and one partition for /usr/local. Now I tried to move space from sda2 to sda1 using gparted. It's not possible. I deallocated space from sda2 which works. But I cannot merge it with sda2. Is that, because sda2 is an extended partition? Is there a work around without killing all partitions and lose my complete data?

View 4 Replies View Related

Ubuntu Installation :: GParted - Moving Partition Out Of Extended One

Oct 31, 2010

I've installed Windows 7 + XP + Ubuntu 10.10 and Mac Os X on my PC. The problem is that XP wont boot. I've tried a lot of fixes for the last 2 days but still nothing. So I've come to conclusion that it might be probably due to its partition (dev/sda being inside of another Extended partition (dev/sda3) as you guys can see on the attachment. If so, how can I move it out of the extended partition.

View 9 Replies View Related

Debian :: Boot - After Moving /usr To Own Partition ?

May 18, 2011

I'm running Debian Wheezy on a Dell XPS M1530 laptop, 64-bit.

I'm having a boot problem after moving my /usr directory out of the root partition and into its own partition.

I followed the "easy way" here: [url]

Basically, I moved the contents of /usr to a new partition -- renamed /usr in root to /oldusr -- and edited fstab and tried to reboot... but the boot process wasn't able to find the new /usr.

After using /dev/sda7 in fstab (to no success) I ran blkid to find the UUID and used that (again, to no success).

My fstab is below:

For what it's worth, grub is also looking different -- none of the debian backgrounds that were there previously remain. While it lists the same kernels to boot into the boot (as described above) fails.

View 14 Replies View Related

OpenSUSE Install :: Moving Partition To A New HDD ?

Jan 1, 2010

I installed openSUSE 11.2 on an external HDD to test. I think it's brilliant, and want to move it to an internal HDD. What is the best way to do this? I don't want to lose all the programs / tweaks I've made to SUSE so far.

Coming from the Windows' world, it's as easy as taking an image of a partition and restoring it over a new HDD partition.

View 5 Replies View Related

General :: Moving A Partition With Dd To Another Drive

Dec 7, 2010

Lets say I have /dev/VolGroup00/LogVol00 which is a 5.8 GB ext3 partition that resides on a 10GB drive. This is just a logical volume partition, one of a few... this being the one that isn't swap, the main data.

I have a 20GB drive... I want to move the LogVol00 to it, and it is /dev/sdb. I partition /dev/sdb1 to be 8192 MiB in size in gParted.

I move as such:

dd if=/dev/VolGroup00/LogVol00 of=/dev/sdb1

The operation finishes with no problems.

Fsck reports clean... so... I run:

fsck -l /dev/sdb1

A few small errors pop up and they get fixed.

My free space remaining, as expected, is 5.8 GB.

I go into gParted and resize the partition to 15GB in size, still working on the 20GB drive.

It does so, the operation completes.

I have what I want: the partition was taken out of LVM, data was retained, I have no issues resizing it. Additionally I tried writing random junk to this new filesystem to test to see if it's broken, and also deleted 3gb of files already on it with no problems.

I just want someone to look this over and tell me if they see any problems with what I've done. I've tested this twice so far with success each time. Is there a better or easier way to do this? I do not want to keep LVM for various reasons. By the way, you might be wondering why I made the partition 8GB for an almost 6GB system. Because the first time I did it, I put down a number that was too exact and it didn't work. Overestimating to 2GB fixed the issue - I'm guessing this is probably due to block size.

View 5 Replies View Related

General :: Moving Users To Another Partition ?

Apr 26, 2010

I have 2 harddisks, and a very new SuSE 10 installation.

Suppose I have a user called test in the users group. At present its home directory is /home/test. This is on one of the harddisks, sda.

Now I have a partition on the other harddisk /other. I would like all my users to be on sdb, so that their home directories are /other/users/test for instance for the test user.

I have played around with YaST to create another user "toets" in /other/gebruikers, but I would like to have it as /other/users/toets.

I want all the user accounts on /other.

View 7 Replies View Related

CentOS 5 :: Moving Files To Second Partition?

Dec 8, 2009

Here is a dumb question (For some reason I can never remember Linux commands but can always remember DOS commands). I don't know what it is, but I think it's the "everything is a file or a directory" nature of Linux that I can't remember it.

Anyhow, I have an instance running on Amazon EC2. I have noticed recently that FreePBX (an Asterisk GUI) is warning me of shortage of disk space. So here is the output:

[root@ip-10-251-123-3 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 8.8G 621M 94% /
/dev/sda2 147G 188M 140G 1% /mnt

[Code].....

So, it seems that I have a lot of space in sda2 but I don't know how to access it. how to do a symbolic link (or I can search with google) to move some folders to sda2 and then link them.

View 12 Replies View Related

Ubuntu :: Won't Boot After Moving To New Hard Drive And Partition Structure

Dec 9, 2010

Old drive is dying, so I copied the system over to my new drive. I've moved /home and /tmp to separate partitions and updated fstab and grub with the appropriate UUIDs from blkid. Grub wasn't loading but that's been fixed now.

Problem:

The problem now is that when I boot I get the following screen:

Errors were found while checking the disk drive for /

Press F to attempt to fix the errors, I to ignore, S to skip mounting or M for manual recovery

F doesn't work, and in manual recovery the file system is read-only. How to proceed?

View 9 Replies View Related

OpenSUSE Install :: Moving XFS To New EXT3 Partition

Feb 5, 2009

I have an 80 GB XFS / partition which is dying. Got some errors like this:
ata9: SError: { UnrecovData Dispar BadCRC Handshk }

It's not a problem to create another partition, I've got 2 500GB and 2 1TB disks, all EXT3. I've also 2 80 GB disks, 1 for / and 1 for /home. I will remove the 2 80 GB disks but I have a lot of stuff compiled myself. I use openSUSE 11.1. Is it possible to create a 80 GB EXT3 partition on each of the 500 GB hdd, 1 for / and 1 for /home and move the data to it? must it be done with the DD command or can I easily copy everything within a live-cd. The /boot and swap are already on one of the 500GB disks, and there is no bootrecord on the 80 GB disks.

View 9 Replies View Related







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