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 03-07-2011, 09:12 AM   #1
rva1945
LQ Newbie
 
Registered: Feb 2011
Posts: 22

Rep: Reputation: 0
Trying to instal U 10.10 in my netbook


I will install Ubvuntu 10.10 in my netoobk, which came with a 320 GB HD already partitioned, 100GB with W7 and 220 just formatted.

I wish to install Ubuntu in the 220 GB partition, the question is, where will be the boot loader (with the options Windows 7 or Linux Ubuntu 10.10) be should be installed?

I'm running the U10.10 Live CD for installation, in Allocated drive space, options are:

1. Install alongside other operating systems
2. Erase and use the entire disk
3. Specify partitions manually (advanced)

I pick the last one (3), then this is shown:

/dev/sda, no type, no size
/dev/sda1, type NTFS, size 104 MB
/dev/sda2, type NTFS, size 104172 MB
/dev/sda3, type NTFS, 215213 MB

Boot loader, here I have the options:

/dev/sda ATA.... (320.1GB)
/dev/sda1 Windows7 (loader)
/dev/sda2
/dev/sda3 HERE I WANT UBUNTU 10.10

I think the boot loader should be installed in /dev/sda, right?

as for the Ubuntu partition:

I chose Ext4, then mount point as "/", right?

Then it says
"you have not selected any partitions for use as swap space..."

Only if I select /dev/sda, the New partition table buttons is enabled, when clicked,

"You have selected an entire device to partition, if you proceed...then all current partitions will be removed"

And now I'm scared to death.

Pls help
 
Old 03-07-2011, 11:35 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
First of all, the boot loader gets installed into the MBR of the hard disk, that's what will be used to select the operating systems on the hard drive. Grub will be installed.

"Install alongside other operating systems" is what you want to select in your case, being brand new to dual booting. Just use the space not being used.

Josh
 
Old 03-07-2011, 11:48 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Don't panic.

From your ubuntu live disk you need to unmount all the partitions (sda1-3)
Code:
sudo umount /dev/sda1 /dev/sda2 /dev/sda3
Then run fdisk on /dev/sda
Code:
sudo fdisk /dev/sda
p to list the partitions. You need to delete partition 3 and then re-create it (n) as 210GB. That will leave some space for a swap partition.

So create a new partition with the remaining 5GB (approx) space, this will be /dev/sda4 and you can select that as swap.

w to write the changes to disk then q to quit fdisk

/ can go on the (now very slightly smaller) /dev/sda3

So select "Install Ubuntu" and "Manual partitioning", and carry on. You have the general idea right.

It is always a good idea to have backups before you go messing with important files.

Or, do as corp769 suggests, and let ubuntu use the spare space as it sees fit.

I prefer the manual way. Either way, please let us know how you get on.
 
Old 03-07-2011, 11:59 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Originally Posted by tredegar View Post
Don't panic.

From your ubuntu live disk you need to unmount all the partitions (sda1-3)
Code:
sudo umount /dev/sda1 /dev/sda2 /dev/sda3
Then run fdisk on /dev/sda
Code:
sudo fdisk /dev/sda
p to list the partitions. You need to delete partition 3 and then re-create it (n) as 210GB. That will leave some space for a swap partition.

So create a new partition with the remaining 5GB (approx) space, this will be /dev/sda4 and you can select that as swap.

w to write the changes to disk then q to quit fdisk

/ can go on the (now very slightly smaller) /dev/sda3

So select "Install Ubuntu" and "Manual partitioning", and carry on. You have the general idea right.

It is always a good idea to have backups before you go messing with important files.

Or, do as corp769 suggests, and let ubuntu use the spare space as it sees fit.

I prefer the manual way. Either way, please let us know how you get on.
I prefer the manual way too, but for a beginner, it might be better to let ubuntu do it for him for the time being.
 
Old 03-07-2011, 04:17 PM   #5
rva1945
LQ Newbie
 
Registered: Feb 2011
Posts: 22

Original Poster
Rep: Reputation: 0
This was the "disks layout" as seen by Ubuntu prior to install:}

/dev/sda,
/dev/sda1, type NTFS, size 104 MB
/dev/sda2, type NTFS, size 104172 MB
/dev/sda3, type NTFS, 215213 MB

so sda was the whole disk. sda1 or sda2 the W7 partition, I don't know now. I wanted Ubuntu to install in sda3, the 215GB partition (when I bought the netbook, it came with a 105GB with W7 and 215GB just formatted, wanted ubuntu in this last one).

I know the Linux team have been doing great efforts to provide friendly versions of Linux, this way gaining more and more users, but the options during the install process were really confusing.

I didn't want to loose the W7 partition just in case it would be a pain trying to configure Linux for wireless connection, fortunately I had to do nothing at all about that, it detected and configured the wireless connection right.

If I consider it necessary to have W7 running I'll install a VM. No data loss as it was just bought some days ago.

I selected the option to allocate drive space, and the partition showed in the install process was the 215GB. But Ubuntu was installed on the whole disk.

the only thing I'll like to alter is that the partition should be 320 not 307 GB, in Disk Uility I see:

/dev/sda is the drive, 320GB

/dev/sda1 is the 307GB ext4, with 13GB as swap space.

Isn't it 13GB too much for swap space?
 
Old 03-07-2011, 05:06 PM   #6
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , Slackel 14.1, ChromeOS
Posts: 4,701
Blog Entries: 19

Rep: Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952
Quote:
Isn't it 13GB too much for swap space
Yep. Here is mine on a older 2gig ram dual core Desktop. No Windows though.

Code:
$ free
             total       used       free     shared    buffers     cached
Mem:       2031140     879280    1151860          0      21600     441580
-/+ buffers/cache:     416100    1615040
Swap:      3196892          0    3196892
which translates into 3 gig /swap which you see isn't even being used. Just browsing and listening to pianobar and a couple of terminals open..
 
Old 03-07-2011, 05:31 PM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
I know the Linux team have been doing great efforts to provide friendly versions of Linux, this way gaining more and more users, but the options during the install process were really confusing.
If you are confused, perhaps the safest thing is to do nothing, and seek advice (here or elsewhere), maybe wait 24Hrs (some people will be asleep) for some replies.
Quote:
I selected the option to allocate drive space, and the partition showed in the install process was the 215GB. But Ubuntu was installed on the whole disk.
I think it looks like you have lost your win installation.

Perhaps you do not care about this?

I no longer need to use windows, but perhaps you do.
Quote:
If I consider it necessary to have W7 running I'll install a VM. No data loss as it was just bought some days ago.
OK.
Quote:
Isn't it 13GB too much for swap space?
Strictly speaking the answer is "Yes", but it really doesn't matter. So long as your swap space is >= your installed RAM, things are likely to work just fine.
swap is used:
1] If you run out of real RAM
2] If you suspend / hibernate your PC. If you want to do this (I never do) swap must be >= your installed RAM. Otherwise there is nowhere to save your RAM image to.

So 13GB for swap is fine (it's too much, but who cares when it is little space and you are not short of disk space?)
 
Old 03-07-2011, 05:35 PM   #8
rva1945
LQ Newbie
 
Registered: Feb 2011
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tredegar View Post
If you are confused, perhaps the safest thing is to do nothing, and seek advice (here or elsewhere), maybe wait 24Hrs (some people will be asleep) for some replies.

I think it looks like you have lost your win installation.

Perhaps you do not care about this?

I no longer need to use windows, but perhaps you do.

OK.

Strictly speaking the answer is "Yes", but it really doesn't matter. So long as your swap space is >= your installed RAM, things are likely to work just fine.
swap is used:
1] If you run out of real RAM
2] If you suspend / hibernate your PC. If you want to do this (I never do) swap must be >= your installed RAM. Otherwise there is nowhere to save your RAM image to.

So 13GB for swap is fine (it's too much, but who cares when it is little space and you are not short of disk space?)
Thanks. In case I need W7 I'll create a WM.
 
  


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
MSI netbook Wind L1350 SD card reader with Ubuntu Netbook Edition 10.04 Cody Morgan Linux - Laptop and Netbook 0 06-15-2010 07:21 PM
LXer: HP breaks the netbook mold with the Mini 1000 and MIE Linux netbook LXer Syndicated Linux News 0 10-31-2008 02:50 AM
video card unrecognised, x components failed during instal. thus instal failed streams &dragonflies Linux - Newbie 2 09-28-2007 03:32 AM


All times are GMT -5. The time now is 04:50 PM.

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