LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-08-2010, 04:58 PM   #1
resuni
Member
 
Registered: Oct 2009
Location: Colorado, USA
Distribution: I use Arch btw
Posts: 142

Rep: Reputation: 12
Partitioning Troubles - Resize Operation Has Been Aborted


I just upgraded to Ubuntu 10.04 and hate it. I'm having many problems with networking and a few other things. Instead of figuring out all the problems I'm having with Karmic, I decided to go back to Jaunty which actually worked for me. But I have no way of backing up all my data before reinstall. I realised I was only using ~30% of my hard drive so I decided to partition my hard drive in half and install Jaunty on the second partition. Then I could transfer all my data from the first partition to the second then erase the first and repartition again to get the Jaunty installation to fill up the entire drive. Here's where I'm having the problems:

I wrote an Ubuntu Jaunty image file to my flash drive and booted from it. So far so good. I select Install Ubuntu from that first menu that comes up. I go through the time zone and keyboard layout settings. All that works. Then I get to the screen entitled Prepare Disk Space. It tells me I have Ubuntu 10.04 installed and it asks me where I want to put Ubuntu 9.04. I select Install them side by side, choosing between them each startup and click Forward. I then get an error:
Quote:
Error informing the kernel about modifications to partition /dev/sda5 -- Device or resource busy. This means Linux won't know about any changes you made to /dev/sda5 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
I click Ignore and a window comes up entitled Please wait... and it stays there for a while. Then I get another error that says:
Quote:
An error occurred while writing the changes to the storage devices.

The resize operation has been aborted.
I click OK and it brings me to a screen where I can edit partition tables. I select the /dev/sda1 partition and click the Edit Partition button. A window comes up. When I change the New partition size field, will it keep the old Ubuntu 10.04 data in that partition and only resize it or will it format the partition as well? Also - why isn't the easier side-by-side technique working? Any help as to how I can do this is greatly appreciated.
 
Old 06-08-2010, 05:48 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
The partitioning aspect of Ubuntu installers has been problematic for as long as I can remember. I always pre-configure my partitions - but then again that applies to all distros.
As my sig might indicate, I'm fairly old-school re backups - don't screw around with partitions if you can't afford to lose data.

The installer will be using libparted to do the resizing (gparted does as well) - your data should be safe, but things can go wrong.
Can't help with the query re "side by side" - never looked at it.

For the future I'd suggest you move /home to a separate partition. That way you can install a new Ubuntu version into a separate partition, and use the /home partition with either. Fallback is a simple reboot, and the products I've tested with all seem to work seamlessly.
I'm not suggesting this is a substitute for backups.
 
Old 06-08-2010, 08:59 PM   #3
resuni
Member
 
Registered: Oct 2009
Location: Colorado, USA
Distribution: I use Arch btw
Posts: 142

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by syg00 View Post
The partitioning aspect of Ubuntu installers has been problematic for as long as I can remember. I always pre-configure my partitions - but then again that applies to all distros.
As my sig might indicate, I'm fairly old-school re backups - don't screw around with partitions if you can't afford to lose data.

The installer will be using libparted to do the resizing (gparted does as well) - your data should be safe, but things can go wrong.
Can't help with the query re "side by side" - never looked at it.

For the future I'd suggest you move /home to a separate partition. That way you can install a new Ubuntu version into a separate partition, and use the /home partition with either. Fallback is a simple reboot, and the products I've tested with all seem to work seamlessly.
I'm not suggesting this is a substitute for backups.
Thanks. Many people have been telling me I should back up but I have no money and therefore can't afford to backup about 50 GB of data. If you know of any free backup services online that will take that much, please tell me. Free web and file hosting would also work.

I had never considered mounting /home on another partition as you suggest. That's a really good idea. I'll do that next time. Thanks.

Here's some more info on my problem:
I also tried booting up into the "Try Ubuntu without any changes to your computer" mode and opened up gparted. I got a similar error when I tried partitioning from there. Then I booted into my 10.04 installation and found Disk Utility and couldn't figure out how to partition with that.
 
Old 06-08-2010, 09:08 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Gparted usually has an error that shows up. At that time you can usually go back. Isn't there that option?
 
Old 06-08-2010, 09:21 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Let's see your partition table - from a terminal
Code:
sudo fdisk
mount
 
Old 06-08-2010, 09:32 PM   #6
resuni
Member
 
Registered: Oct 2009
Location: Colorado, USA
Distribution: I use Arch btw
Posts: 142

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by jefro View Post
Gparted usually has an error that shows up. At that time you can usually go back. Isn't there that option?
Nope. Never got a back button or anything.

Quote:
Originally Posted by syg00 View Post
Let's see your partition table - from a terminal
Code:
sudo fdisk
mount
Code:
$ sudo fdisk mount

Unable to open mount
Isn't there some du or df option that shows partition tables?
 
Old 06-08-2010, 09:35 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Two commands - one of which I got wrong
Code:
sudo fdisk -l
mount
 
Old 06-08-2010, 09:44 PM   #8
resuni
Member
 
Registered: Oct 2009
Location: Colorado, USA
Distribution: I use Arch btw
Posts: 142

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by syg00 View Post
Two commands - one of which I got wrong
Code:
sudo fdisk -l
mount
Code:
$ sudo fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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: 0x000924f1

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       30031   241220608   83  Linux
/dev/sda2           30031       30402     2975744+   5  Extended
/dev/sda5           30031       30402     2975744   82  Linux swap / Solaris
$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/home/resuni/.Private on /home/resuni type ecryptfs (ecryptfs_sig=23ea51646a43f1c9,ecryptfs_fnek_sig=e431eb99e1880c8d,ecryptfs_cipher=aes,ecryptfs_key_bytes=16)
gvfs-fuse-daemon on /home/resuni/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=resuni)
$
Not sure why it called one of the partitions Linux Swap / Solaris. I never put Solaris on that computer.

Last edited by resuni; 06-08-2010 at 09:46 PM.
 
Old 06-08-2010, 09:57 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
ext4 might be the problem - you need particular level of e2fsprogs. Try this
Code:
/sbin/mke2fs -V
(capital V).

Ignore the "Solaris" thing - swap partitions always show up like that.

Last edited by syg00; 06-08-2010 at 09:58 PM. Reason: Solaris comment
 
Old 06-09-2010, 10:56 AM   #10
resuni
Member
 
Registered: Oct 2009
Location: Colorado, USA
Distribution: I use Arch btw
Posts: 142

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by syg00 View Post
ext4 might be the problem - you need particular level of e2fsprogs. Try this
Code:
/sbin/mke2fs -V
(capital V).

Ignore the "Solaris" thing - swap partitions always show up like that.
What's that command do? I kinda like knowing what things do before running them.
 
Old 06-09-2010, 04:52 PM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Excellent !!! - but you also get a small demerit for not checking the manpage.
That merely tells us what version of the e2fsprogs you have installed. These are the tools that manipulate the ext2/3/4 filesystems - ext4 has been (relatively) recently added.
 
Old 06-10-2010, 08:20 AM   #12
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Bradj47 View Post
Not sure why it called one of the partitions Linux Swap / Solaris. I never put Solaris on that computer.
Because the same partition id (0x82) was unfortunately picked by both Linux and Solaris developers in the early nineties.
 
Old 06-10-2010, 10:06 AM   #13
resuni
Member
 
Registered: Oct 2009
Location: Colorado, USA
Distribution: I use Arch btw
Posts: 142

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by jlliagre View Post
unfortunately
Why do you say that?
 
Old 06-10-2010, 10:26 AM   #14
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Because partition IDs were supposed to uniquely identify their contents. This clash triggered a lot of confusion and some data loss (Many years ago when such cohabitation was rare, I had a Gnu/Linux distribution that wiped out my Solaris partition).
 
  


Reply

Tags
error, partition, partitioning, resize



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
By cancelling a GParted partitioning operation, I've lost my OS Mark_in_Hollywood Linux - Newbie 4 04-16-2008 06:08 PM
LVM Resize - After logical resize, FS size does not match physical size. spectra Linux - Software 6 11-01-2006 11:28 AM
Big troubles after re-partitioning. infidel Linux - General 2 07-18-2004 06:58 PM
resize mounted Linux fs for partitioning offworld Linux - General 2 03-23-2004 01:58 PM
troubles with fstab after partitioning hobylinux Linux - Hardware 6 09-05-2003 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration