Author Topic: Installing Ubuntu (again) [Solved]  (Read 2158 times)

0 Members and 2 Guests are viewing this topic.

Offline mikep

  • Full Member
  • ***
  • Posts: 205
  • Karma: 1
  • Gender: Male
  • Me again!
    • View Profile
    • Awards
Installing Ubuntu (again) [Solved]
« on: May 01, 2016, 08:21:22 pm »
Hello folks,
 
I'm trying to install Ubuntu 14.04 from a CD onto a laptop. The laptop has a single HDD, partitioned as Vista and Data. The Vista partition is half used, with approx 40gb free, so I want to shrink it and install Ubuntu onto the free half as a dual boot.

Problem is, when I select the install option from a live CD session, I can't be sure whether I'll get the option to resize partitions, or whether WUBI will just be installed with Ubuntu inside Vista. I suspect the latter, so I keep abandoning the install.

Should I use Vista to shrink it's own partition and create some free space before starting the Ubuntu install? Would Ubuntu then default to the free space as a true dual-boot?

Thanks for any thoughts..

M
« Last Edit: May 07, 2016, 08:33:31 pm by mikep »

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1794
  • Karma: 136
  • Gender: Male
    • View Profile
    • Awards
Re: Installing Ubuntu (again)
« Reply #1 on: May 02, 2016, 12:41:46 pm »
It might not be that simple.
Although Windows will report two partitions, there might be more hidden partitions using up the maximum of four primary partitions allowed.
I would go about it carefully. First of get the list of current partitions (boot to the LiveCD):
Code: [Select]
sudo fdisk -l
(That is a lowercase L by the way)
If this shows less than 4 primary partitions then good to go (otherwise stop and post the results here).
Boot into Windows, disable virtual memory, reboot then delete pagefile.sys if it is still there.
Run defrag to consolidate the file system (parts might be scattered all over the partition)
Once defrag completed, reboot to the LiveCD.
Fire up Gparted and shrink the Windows partition, leaving unpartitioned space.
Reboot to Windows, let it run through its checks, then re-enable the virtual memory.
Once happy that it is all OK with Windows, then re-boot to the LiveCD and install Ubuntu into the unpartitioned space.
We can walk you through this or you could have a go on your own.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16889
  • Karma: 424
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Installing Ubuntu (again)
« Reply #2 on: May 03, 2016, 04:36:23 am »
If you're BOOTING from the LiveCD (as opposed to just inserting it whilst running Windows) WUBI will NOT start.

Don't forget to post the output SeZo asked for .. we'll be much better placed to advise once we have that ;)
« Last Edit: May 03, 2016, 04:38:21 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline mikep

  • Full Member
  • ***
  • Posts: 205
  • Karma: 1
  • Gender: Male
  • Me again!
    • View Profile
    • Awards
Re: Installing Ubuntu (again)
« Reply #3 on: May 04, 2016, 01:03:24 am »
Thanks both,

Looks like I'm ready to go. There seem to be the two expected partitions, plus a Vista recovery partition. Output below.

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimoum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xef3fe0d4

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     3074047     1536000   27  Hidden NTFS WinRE
/dev/sda2   *     3074048   159141879    78033916    7  HPFS/NTFS/exFAT
/dev/sda3       159155955   312576704    76710375    7  HPFS/NTFS/exFAT
ubuntu@ubuntu:~$

So, can I now boot from the LiveCD and take it from there? Do I still need to run Gparted, or shrink the Vista partition from Windows? How will Ubuntu know where to install?

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16889
  • Karma: 424
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Installing Ubuntu (again)
« Reply #4 on: May 04, 2016, 11:56:54 am »
Personally I'd use Gparted to shrink your partitions first (leaving unpartitioned space for the Ubuntu installation).

Then I'd check Windows still boots, and run a file system check in Windows

then I'd boot to the Ubuntu disk and start the installation .. the installer should then offer to use the "free space".



You could simply allow the Ubuntu installer (ubiquity) to do this for you .. it'll offer to install "alongside windows", then give you a slider which you can use to set the amount its going to shrink the windows partition by.

I do it manually (then check Windows still works) simply because if a problem occurs, I know *when* it occurred.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline mikep

  • Full Member
  • ***
  • Posts: 205
  • Karma: 1
  • Gender: Male
  • Me again!
    • View Profile
    • Awards
Re: Installing Ubuntu (again)
« Reply #5 on: May 06, 2016, 09:16:49 pm »
Thanks guys,

I followed Mark's last suggestions and Ubuntu is now installed, and a lot faster than the Live CD!

However, the wireless connection keeps dropping out with a message that the router is out of range. Doesn't happen in Vista.. I'll start another thread...

Thanks both of you for your help.

EDIT. The wireless connection drop-outs seem to have gone away, so I haven't started a new thread on the subject.
« Last Edit: May 22, 2016, 10:00:07 pm by mikep »

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal