LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-24-2011, 08:47 PM   #1
hugs
LQ Newbie
 
Registered: Feb 2011
Location: Vancouver BC Canada (The Great White North)
Distribution: Ubuntu, Puppy, Knoppix, Fedora
Posts: 4

Rep: Reputation: 0
Question Moving and Expanding GNU/Linux Ubuntu Maverick Folder


I installed Ubuntu Maverick as a file within Windows XP. A folder was created called Ubuntu and two files called wubildr and wubildr.mbr appeared on my C-Drive. The Windows boot.ini file looks like this:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
C:\wubildr.mbr = "Ubuntu"

The initial 8 GB I gave to Ubuntu is too small and I would like to move the file to my D-Drive and expand it to 40 GB.

I would hate to have to begin again from scratch. Is this possible? If so, how? Thank, Hugs.
 
Old 02-24-2011, 09:44 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,346
Blog Entries: 12

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
I'm guessing that, when you say "installed as a file within Windows XP, this means Wubi.

See the Wubi Guide.

https://wiki.ubuntu.com/WubiGuide

They have instructions on resizing.

https://wiki.ubuntu.com/WubiGuide#Ho...rtual%20disks?

I didn't see anything on moving.
 
1 members found this post helpful.
Old 03-01-2011, 09:13 PM   #3
hugs
LQ Newbie
 
Registered: Feb 2011
Location: Vancouver BC Canada (The Great White North)
Distribution: Ubuntu, Puppy, Knoppix, Fedora
Posts: 4

Original Poster
Rep: Reputation: 0
@frankbell Moving and Expanding Ubuntu Installation

Thank you, Frank.
I had been to https://wiki.ubuntu.com/WubiGuide before but clearly I did not read carefully enough the first time, mea culpa.

I found:

How do I migrate to a real partition, and/or get rid of Windows entirely? (I originally thought this meant losing my XP installation. However, this turned out not to be the case. The title is misleading)

Existing Wubi installs (9.10 and later) can be migrated using the following guide: http://ubuntuforums.org/showthread.php?t=1519354

The link took me here: HOWTO: migrate wubi install to partition
I downloaded the file wubi-move.sh (12.9 KB) and from my Ubuntu terminal, as root, ran the following command:
sudo bash wubi-move.sh /dev/sda7 /dev/sda5
/dev/sda7 is my new 40 GB partition for Ubuntu and /dev/sda5 is the swap file partition I had previously created for Fedora. Tell me if I'm wrong but I figure all GNU/Linux installations should be able to use the same swap file, since only one is running at a time.

Initially I had a drive partitioned into C: for XP and D: for Windows files. I migrated the files and repartitioned D: into 2 GB for Swap, 20 GB for Fedora, 40 GB for Ubuntu and the rest for my Windows files.

Before I could run wubi-move.sh, I had to format then unmount sda7. The program wouldn't work while it thought there was some installation already present. After that it worked like a charm. I had to answer Y once to tell it to set up grub, which I did with trepidation given all the partitions on the drive. My fears, however, were unfounded. I also had to answer Y to let it format the partition.

It did its thing and now I have my old Ubuntu installation, which was previously running as a file within Windows on my C-Drive, running happily on a new 20 GB partition with no losses. The boot loader recognized all my other installations and lists them as boot options and they all work. Thanks again, Frank.

Last edited by hugs; 03-01-2011 at 09:24 PM.
 
Old 03-01-2011, 10:02 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,346
Blog Entries: 12

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
Cool. You've done stuff I've never even tried.

Quote:
Originally Posted by hugs View Post
Thank you, Frank.
I had been to https://wiki.ubuntu.com/WubiGuide before but clearly I did not read carefully enough the first time, mea culpa.
Nobody RTFMs. That's what makes this fun.

The docs are there to help us fix the mess we made by not reading them!

(Well, maybe I'm overstating a little bit, but not by much.)

Once again, congrats.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
new to linux - using ubuntu maverick gerryyy LinuxQuestions.org Member Intro 1 02-12-2011 03:14 PM
Ubuntu: Maverick guide (Ubuntu 10.10 Maverick Meerkat) Documentation allu john sudhakar Linux - Newbie 1 11-15-2010 04:53 AM
Ubuntu: Maverick guide (Ubuntu 10.10 Maverick Meerkat) Documentation allu john sudhakar Linux - Newbie 1 11-14-2010 04:38 AM
Moving a complete folder to another linux server zardari7 Linux - Newbie 8 07-06-2009 03:24 AM


All times are GMT -5. The time now is 10:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration