D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Partition Problem

 

Hi Neil
Thanks for your reply.  I think linux is great but if I'm honest I use it like 
windoze, so I just wanted to get a few things clear.

> 1. Boot with a rescue or live CD....I can do that

> 2. Mount your root and usr partitions under /mnt/root and /mnt/usr.... In a 
> terminal log in as root and type /mnt/root and /mnt/usr and that mounts them both?

> 3. Copy the data from /mnt/usr to /mnt/root/usr (cp -va 
> /mnt/usr/*/mnt/root/usr)........cp -va /mnt/usr/*/mnt/root/usr this command copies 
> everything in the usr partition to the usr directory in /, yes and the * is part 
> of the command?

> 4. Edit /mnt/etc/fstab and comment the line pointing to /usr....can you explain 
> how to comment the line pointing to /usr

> 5. Unmount, reboot....is there a command for this?....I know how to reboot.

Thanks again

Aaron





> ----- Original Message -----
> From: "Neil Stone" <neil@xxxxxxxxxxxxxxx>
> To: list@xxxxxxxxxxxxx
> Subject: Re: [LUG] Partition Problem
> Date: Sun, 04 Nov 2007 07:30:38 +0000
> 
> 
> aaronmoore@xxxxxxxxxxxxx wrote:
> >
> > Posted by "Aaron Moore" <aaronmoore@xxxxxxxxxxxxx>
> >
> >
> > Hi
> > Just spent ages installing and tweaking suse 10.3. However I 
> > created a small partition that was supposed to be for another OS. 
> >  Stupidly I gave it a mount point of usr, and it is filling up 
> > fast.  Is there an easy way to transfer the usr directory to the 
> > root partition and then remount the small partition for an extra 
> > OS?
> > Thanx for any help
> > Aaron
> 
> Should be possible, the theory follows;
> 
> 1. Boot with a rescue or live CD
> 2. Mount your root and usr partitions under /mnt/root and /mnt/usr
> 3. Copy the data from /mnt/usr to /mnt/root/usr (cp -va /mnt/usr/*
> /mnt/root/usr)
> 4. Edit /mnt/etc/fstab and comment the line pointing to /usr
> 5. Unmount, reboot
> 
> Note, I have used copy rather than move, and comment rather than remove
> it's the "just in case" factor here...
> 
> That should cover it, let us know how it goes.
> 
> HTH
> 
> Neil Stone
> 
> --
> The Mailing List for the Devon & Cornwall LUG
> http://mailman.dclug.org.uk/listinfo/list
> FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html

>


-- 
Powered by Outblaze

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html