used up too much memory space

Asked by Omar. P

I just finish installing 9.04 and I thought I had enough memory space to install it, but it turn out I didn't. And now I used all the memory space, I tried "sudo apt-get clean" and it doesn't work. Is there another way I could fix this.

This is what came up when I ran the commands.

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd0f4738c

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 9260 74380918+ 83 Linux
/dev/sda2 9261 9726 3743145 5 Extended
/dev/sda5 9587 9726 1124518+ 82 Linux swap / Solaris
/dev/sda6 9261 9564 2441817 83 Linux
/dev/sda7 9565 9586 176683+ 82 Linux swap / Solaris

Partition table entries are not in disk order
Note: sector size is 2048 (not 512)

Disk /dev/sdb: 2030 MB, 2030043136 bytes
255 heads, 63 sectors/track, 61 cylinders
Units = cylinders of 16065 * 2048 = 32901120 bytes
Disk identifier: 0x20202020

 Device Boot Start End Blocks Id System
/dev/sdb1 1 3 96264 0 Empty
/dev/sdb2 4 61 1863540 b W95 FAT32

total used free shared buffers cached
Mem: 369 364 5 0 12 136
-/+ buffers/cache: 215 153
Swap: 172 0 172

Do you mean open up disk usage analyzer?

I manage to copy this one, but I had too retype it. I don't how to copy the information from partition editor, but if this alright i could do it again.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tom (tom6) said :
#1

Please try

sudo fdisk -l

free -m

Note the "-l" is a lower-case "-L". If you could let us see the output from thos two then we might be able to help from there
Good luck and regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#2

This what came up when I ran the commands

--- On Sat, 8/1/09, Tom <email address hidden> wrote:

From: Tom <email address hidden>
Subject: Re: [Question #78766]: used up too much memory space
To: <email address hidden>
Date: Saturday, August 1, 2009, 5:35 AM

Your question #78766 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/78766

    Status: Open => Answered

Tom proposed the following answer:
Please try

sudo fdisk -l

free -m

Note the "-l" is a lower-case "-L".  If you could let us see the output from thos two then we might be able to help from there
Good luck and regards from
Tom :)

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/78766/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/78766

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Tom (tom6) said :
#3

Hi :)

Sorry we don't get attachments or anything useful like that in the Answers Section. Please follow the links and post into the thread at the Launchpad site rathe than just replying to the emails otherwise Launchpad gets a bit messy.

Sorry about this
Good luck and regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#4

Hi :)

Nicely done :) Not quite what i was expecting but it does the job. If you scroll down to the end of the comments then you'll see a neat new empty space to write in ;) heheheh, I think i did exactly the same thing when i was new here :)

Anyway, it looks like you have installed 2 linux's on your machine? Which is quite a different problem from the one i was expecting, yours is a lot more sensible and hopefully easier to put right :) Please could you go up to the top taskbar and click on

System - Administration - Partition Editor

just to have a look at how much space is being used up. Please could you copy the information from the bottom half of gparted into here, we have some of that info already but the sizes and space used would help us know which partitions to delete and which to keep out of sda1 and sda6.

Thanks, good luck and regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#5

Hi :)

What i was hoping for was that sda6 turned out to be say 2Gb and sda1 was 20Gb with 12Gb used. That would clearly show that you have some of your own stuff on sda1 and would also show that sda6 just has system files. then you could delete not only sda6 but also sda7, sda5 and sda2 and resize sda1 putting a new swap at the end of the drive and all would be good. But if you have crucial data on sda6 then we would want that moved to sda1 but if there isn't enough room then we would have a struggle but could sort it out.

Sorry i'm not being very clear
Good luck and regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#6

Sorry Omar i'm having a bad day. The Partition editor is in that menu when you're using a LiveCd session but it's not there on a hard-drive install, i forgot, sorry.

You can boot up from the Ubuntu Cd and choose the option "Try Ubuntu without making changes to this machine" to get to a working desktop which we cll a "LiveCd session", if it works. It should pick-up on your internet connection so you can surf quite easily with firefox.

Apols and regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#7

Sorry Omar i'm having a bad day. The Partition editor is in that menu when you're using a LiveCd session but it's not there on a hard-drive install, i forgot, sorry.

You can boot up from the Ubuntu Cd and choose the option "Try Ubuntu without making changes to this machine" to get to a working desktop which we call a "LiveCd session", if it works. It should pick-up on your internet connection so you can surf quite easily with firefox.

Apols and regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#8

What if I install it again?

Revision history for this message
Tom (tom6) said :
#9

Hi

Maybe but please could you try booting up from the Ubuntu Cd, choose the menu option "Try Ubuntu without changes to this machine" and use firefox from the top menu to pop back into Launchpad?

Revision history for this message
Omar. P (omar.p) said :
#10

ok

Revision history for this message
Tom (tom6) said :
#11

If you can boot into the cd and get to it's desktop then go up to the top taskbar Firefox should work. Also if you click on

System - Administration - Partition Editor

that should allow you to delete all the partitions except the first one. I think sda1 is the one with your data on it so just don't delete that one and then we should be ok

Good luck and regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#12

the only one I can delete is /dev/sda6

Revision history for this message
Omar. P (omar.p) said :
#13

so should I delete that partition?

Revision history for this message
Tom (tom6) said :
#14

yeh, i think so

Revision history for this message
Tom (tom6) said :
#15

On the "Places" menu can you see a smallish "Media"? if you look inside there should be a /home folder?

Revision history for this message
Tom (tom6) said :
#16

In gparted if you right click on sda7 and sda5 then you should be able to "Swap Off" and after that you can delete them. It takes a while because each time you do "Swap Off" it has to re-scan the drives.

Revision history for this message
Omar. P (omar.p) said :
#17

Ok I deleted them expect for /dev/sda1 and /dev/sda2

Revision history for this message
Tom (tom6) said :
#18

Ok, so now you should be able to delete sda2

Revision history for this message
Omar. P (omar.p) said :
#19

ok I deleted sda2, so should I Just close partition editor or save the changes

Revision history for this message
Tom (tom6) said :
#20

When you click "Apply" that should leave quite a lot of empty space on your drive? How much space do you have? Could you move sda1 to the end of the drive? Then make a new partition at the beginning of the drive but just make it 1048 Mb Primary Partition and set it's 'file-system' = linux-swap

Revision history for this message
Omar. P (omar.p) said :
#21

unused 56.22 GiB

Revision history for this message
Tom (tom6) said :
#22

Oh no. Wasn't sda6 really small?

Revision history for this message
Omar. P (omar.p) said :
#23

I don't remember, why?

Revision history for this message
Tom (tom6) said :
#24

Ok, can you go up to the "Places" menu? and see the "Media" in there? That should open a folder with a /home folder in it?

Revision history for this message
Tom (tom6) said :
#25

I really wanted to be careful about protecting your data but i seem to have gone badly wrong. If there is a /home folder in there can you check in the users folder to see what's in the Documents and other folders?

Revision history for this message
Omar. P (omar.p) said :
#26

I can't open the 76.2 GB Media.

Revision history for this message
Tom (tom6) said :
#27

If we have lost your data then please can you install "GPart" and use it to try to re-create your partition table? Luckily we already have what should be listed in it so it should be possible

Revision history for this message
Tom (tom6) said :
#28

Is there another Media in there?

Revision history for this message
Omar. P (omar.p) said :
#29

Well in file system theirs a media folder which in there is I think a Document.

Revision history for this message
Tom (tom6) said :
#30

I am really sorry Omar. With Gpart (not gparted) we could try to get this all back. Have you lost a lot of data?

Revision history for this message
Omar. P (omar.p) said :
#31

I how do I create then?

Revision history for this message
Tom (tom6) said :
#32

Ok you see all the folders

bin boot dev etc home ...

Please can you look in the "home" folder

Revision history for this message
Omar. P (omar.p) said :
#33

what I'm looking for?

Revision history for this message
Tom (tom6) said :
#34

Inside the Home folder should be one folder, your username, and inside that should be a lot of folders such as Documents, Music?

Revision history for this message
Tom (tom6) said :
#35

Ok, please go up to the top taskbar and click on

System - Administration - Synaptic Package Manager

use the "Search" button to look for "gpart" (not gparted) and install it

Revision history for this message
Omar. P (omar.p) said :
#36

their are folders like that, but nothing in their. I still have the cd in the computer I'm with the option "Try Ubuntu without making changes to this machine". should i have taken it out and login with the other user.

Revision history for this message
Tom (tom6) said :
#37

No we need to do this off the LiveCd

Revision history for this message
Tom (tom6) said :
#38

I can't believe i've lost all your data like that! I am so sorry!
Is there a local computer place that can do data-recovery?

Revision history for this message
Tom (tom6) said :
#39
Revision history for this message
Omar. P (omar.p) said :
#40

do you want off the livecd

Revision history for this message
Omar. P (omar.p) said :
#41

ok, Im sorry I still was doing with the liveCD.

Revision history for this message
Tom (tom6) said :
#42

Stay in the LiveCd session

Revision history for this message
Tom (tom6) said :
#43

Sorry that was a very english expression meaning we have to work in the LiveCd. Have you had a chance to have a quick look at the link i just gave you?
https://help.ubuntu.com/community/DataRecovery

Revision history for this message
Tom (tom6) said :
#44

Ok, so in the LiveCd session go up to the top taskbar and click on

Applications - Accessories - Terminal

and into the terminal console type in

sudo parted /dev/sda

Revision history for this message
Omar. P (omar.p) said :
#45

I'll check the link right now, what did I lose, my whole user.

Revision history for this message
Omar. P (omar.p) said :
#46

is their way were I could receive your messages with having to closed the window and starting it up again. cause Thats what I'm doing.

Revision history for this message
Tom (tom6) said :
#47

Yes :(

Revision history for this message
Tom (tom6) said :
#48

You dont need to close the window do you? You can right click on the link and choose "Open Link in New Tab"

Revision history for this message
Omar. P (omar.p) said :
#49

no that isn't what i mean, because I have this window open and waiting for your information, but it show up unless I close or go another site.

Revision history for this message
Omar. P (omar.p) said :
#50

and for the link provided, I'm sorry but I don't really understand it except for i can recover my data. so can you step by step for which command to run and recover my data.

Revision history for this message
Omar. P (omar.p) said :
#51

yo tom still there?

Revision history for this message
Tom (tom6) said :
#52

At the bottom of the screen are buttons of all the windows open? Right click on the Firefox one and select "Unmaximise". Does that help? I don't want to lose contact with you until we have sorted this problem out.

I have been reading up on this and trying it out on my machine. Can you open a terminal console and type in

sudo parted /dev/sda

it will take a while to scan your hard-drive. Then when you get a command-line with "parted" at the start then please type in

unit
cy
print
rescue 9261 9564

Hopefully that should find your sda6 that has your data on it so agree when it ask to add that to the partition table, just type in "y". Now have another look at your partitions by typing in

print

now hopefully you'll see 2 partitions in there this time?

Revision history for this message
Omar. P (omar.p) said :
#53

yeah

Revision history for this message
Omar. P (omar.p) said :
#54

wats next?

Revision history for this message
Tom (tom6) said :
#55

Is it showing 2 partitions?

Revision history for this message
Tom (tom6) said :
#56

Can you copy the info that typing "print" showed, can you copy that into here?

Revision history for this message
Omar. P (omar.p) said :
#57

the last command is showing this.

Number Start End Size Type File system Flags
 1 0cyl 9259cyl 9259cyl primary ext3 boot
 2 9260cyl 9563cyl 303cyl primary ext3

Revision history for this message
Omar. P (omar.p) said :
#58

this are first commands I ran.

Model: ATA SAMSUNG SP0802N/ (scsi)
Disk /dev/sda: 9726cyl
Sector size (logical/physical): 512B/512B
BIOS cylinder,head,sector geometry: 9726,255,63. Each cylinder is 8225kB.
Partition Table: msdos

Number Start End Size Type File system Flags
 1 0cyl 9259cyl 9259cyl primary ext3 boot

(parted) rescue 9261 9564
Information: A ext3 primary partition was found at 9260cyl -> 9563cyl. Do you
want to add it to the partition table?
Yes/No/Cancel? y
(parted) print
Model: ATA SAMSUNG SP0802N/ (scsi)
Disk /dev/sda: 9726cyl
Sector size (logical/physical): 512B/512B
BIOS cylinder,head,sector geometry: 9726,255,63. Each cylinder is 8225kB.
Partition Table: msdos

Revision history for this message
Tom (tom6) said :
#59

Great :)))) I think that might have got it back again!! Please type in

unit
GB
print

and copy&paste the lines that gives into here.

Revision history for this message
Omar. P (omar.p) said :
#60

(parted) unit
Unit? [cyl]? GB
(parted) prin
Model: ATA SAMSUNG SP0802N/ (scsi)
Disk /dev/sda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 0.00GB 76.2GB 76.2GB primary ext3 boot
 2 76.2GB 78.7GB 2.50GB primary ext3

Revision history for this message
Tom (tom6) said :
#61

Ok, so now type in

quit

sudo grub

find /boot/grub

and paste the results of that into here so that we can get back to what we were doing before all that went horribly wrong. I am really glad we got the partition back. It looks as though all the data should be safe :))

Revision history for this message
Omar. P (omar.p) said :
#62

[ Minimal BASH-like line editing is supported. For
         the first word, TAB lists possible command
         completions. Anywhere else TAB lists the possible
         completions of a device/filename. ]

grub>

grub> find /boot/grub

Revision history for this message
Tom (tom6) said :
#63

oops, ok try

find /boot/grub/stage1

Revision history for this message
Tom (tom6) said :
#64

Hopefully it will say (hd0,0) ?

Revision history for this message
Omar. P (omar.p) said :
#65

(hd0,0)
(hd0,1)

Revision history for this message
Tom (tom6) said :
#66

Right, so there are two installs there then. That clears one mystery up a lot. Ok so type in

root (hd0,0)

setup (hd0)

quit

Revision history for this message
Omar. P (omar.p) said :
#67

grub> root (hd0,0)

grub>

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.

Revision history for this message
Tom (tom6) said :
#68

Err that is going to re-instate your older version of Ubuntu but we want to sort out a newer one . Ubuntu is really going to need 5Gb and the linux-swap needs 1.5Gb so in gparted please right-click on the 76Gb partition and resize it down to leave 6.5 to 7 Gb free at the end of the drive. Ok? Did gparted cope or did it get all confused for a moment?

Revision history for this message
Omar. P (omar.p) said :
#69

right now, I want just to install the data and user I lost. cause I need to use the other version quick.

Revision history for this message
Omar. P (omar.p) said :
#70

there is no 76Gb partition. only 70.94GiB

Revision history for this message
Tom (tom6) said :
#71

Ok, if you reboot the machine now you should find all your data in the normal places
Thanks, good luck and regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#72

thanks for the help, I just need to to look into something right now.

Revision history for this message
Tom (tom6) said :
#73

Can we continue or do you need to get back into your old Ubuntu? Either way is fine. If you are continuing then please resize the 70.94GiB so that there's about 7GiB between the end of this partition and the end of the drive. Gparted probably hasn't noticed the tiny other partition just yet but it should notice it after resizing, at which point delete it. Hopefully now you just have one large partition as the only partition on your drive :)

Good luck with this, regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#74

Ok, that's fine. Perhaps we can try again sometime soon. Just let me know.
Thanks and regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#75

hey I just letting you I'm ready to continue, oh and I wanted to know did we delete 9.04 version, its fine with me.

Revision history for this message
Tom (tom6) said :
#76

Hi, yes we had to delete 9.04 because it was too cramped but hopefully we can set install it much better tailored this time :)

So in a LiveCd session please delete sda2 and resize sda1 down so that your drive has 7 GiB unallocated at the end of the drive. Then move sda1 to the end of the drive so that we can create some partitions for the OS at the beginning where read/writes are very much faster. The resizing might not take long but the moving takes desperately long, maybe a couple of hours! I would either leave it doing this overnight or at least while you have other things to do away from the machine!

The performance of your machine is mostly about how fast it can access your OS and the swap because read/writes to those can be unpredictable whereas read/writes to data gets cached and queued up in advance. So moving what will be the data partition to the end of the drive wont have a noticeable affect on real access times to the data but as we can then get the swap at the very front of the drive there will be a significant increase in perceived access times as the caching and queuing uses ram&swap. Also having the OS as the 2nd partition on the drive means that when you click around and open or close applications/tabs/processes the OS will be able to respond very much faster.

Good luck with this!
Regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#77

question, will my data still available when we install 9.04?

Revision history for this message
Tom (tom6) said :
#78

Yes, that's the plan :)

Revision history for this message
Omar. P (omar.p) said :
#79

 In my old version in ubuntu I'm not the main user, will installing 9.04 make me the main user.

Revision history for this message
Omar. P (omar.p) said :
#80

cause I want to be the main user.

Revision history for this message
Tom (tom6) said :
#81

You'll be the main user in 9.04 but the data will stay with the user it is currently with until you copy it over. It's not a good idea to use the same username in both installs but it is possible. Of course the SuperUser account is always a separate user for security.
https://help.ubuntu.com/community/RootSudo

Revision history for this message
Omar. P (omar.p) said :
#82

ok, I just wanted to know.

Revision history for this message
Omar. P (omar.p) said :
#83

In my old version I messed up the main user's home directory and I can't access.

Revision history for this message
Tom (tom6) said :
#84

Ok, so definitely a new username then ;) In your old version have you setup a new user? Also, please let me know when you have moved sda1 to the end of the hard-drive. While you are moving it you could be surfing the internet using the LiveCd session but you wont be able to access data on the hard-drive.

Revision history for this message
Omar. P (omar.p) said :
#85

yeah, but i don't that much access. And I'll get to sda1 right now.

Revision history for this message
Omar. P (omar.p) said :
#86

you want me to delete sda2,resize sda1 down to have 7 GiB.

Revision history for this message
Omar. P (omar.p) said :
#87

how do I moved sda1 to the end of the hard-drive?

Revision history for this message
Tom (tom6) said :
#88

Hi.

Did you manage to resize sda1? Moving it also needs to be done from a LiveCd session & you'll need to have sda1 umounted to allow it to be moved. Then right-click on it and choose "Resize/Move" and then just click and drag the graphical picture of the partition. Note there is an undo button to help make sure the move is done as one action rather than in 2 or 3 "hops".

Sorry i was late in here
Good luck with this! and regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#89

its alright, I manage to resize sda1.

Revision history for this message
Omar. P (omar.p) said :
#90

How do I unmounted so it be allow to move, cause when I right its their but I can't select it. should apply the changes before moving it.

Revision history for this message
Tom (tom6) said :
#91

If you managed to resize it then it should be easy to just click and drag it?

Revision history for this message
Omar. P (omar.p) said :
#92

resize it in which one?

free space preceding(MiB): 0

new size(MiB): 72638

free space following(MiB): 3648

Revision history for this message
Tom (tom6) said :
#93

Ahhh, not in the text/numbers part. Go up to the pretty picture above them, the mous arrow should change to a hand then just left-click and drag!

Revision history for this message
Omar. P (omar.p) said :
#94

how much drag?

Revision history for this message
Tom (tom6) said :
#95

It's cool isn't it :)) Very powerful stuff. Err, just drag it all the way to the end so that there's no unallocated after the partition and all the unallocated 7Gb is at the front of the drive :)

Revision history for this message
Omar. P (omar.p) said :
#96

exactly 7GB?

Revision history for this message
Tom (tom6) said :
#97

Nope, precision is not required - approximately 7Gb is fine :)

Revision history for this message
Omar. P (omar.p) said :
#98

cause when I drag it to end, it only is 3.57 GiB.

Revision history for this message
Tom (tom6) said :
#99

If there's an option to "round to cylinders" then tick it. I seem to remember working out that 6Gb was about the absolute lower limit and built in a nice safety margin :)

Revision history for this message
Tom (tom6) said :
#100

Have you not deleted sda2?
When you drag it to the end is there any unallocated space left at the end of the drive?

Revision history for this message
Omar. P (omar.p) said :
#101

ooh I forgot to apply the changes.

Revision history for this message
Tom (tom6) said :
#102

Ok, click on undo so that sda1 is back at the start of the drive. Then resize it down by another 3Gb. Lets make sure this time. That should mean approx 10Gb between the end of sda1 and the end of the hard-drive? So now when you drag sda1 as farright as it will go there's easily enough space at the front of the drive?

Revision history for this message
Tom (tom6) said :
#103

Ok, click on undo so that sda1 is back at the start of the drive. Then resize it down by another 3Gb. Lets make sure this time. That should mean approx 10Gb between the end of sda1 and the end of the hard-drive? So now when you drag sda1 as far right as it will go there's easily enough space at the front of the drive?

Revision history for this message
Tom (tom6) said :
#104

Ahhh, phew, that's ok then :) The main thing to avoid is moving the part of the partition that is coloured in yellow until we are ready to do that in one move. Each time the yellow part moves it takes ages and ages so we only want to do that one time ;) If it has already started doing a move then don't interrupt it - just let it complete the task once you've clicked "Apply"

Revision history for this message
Omar. P (omar.p) said :
#105

should apply it.

Revision history for this message
Omar. P (omar.p) said :
#106

how many should their be.

Revision history for this message
Omar. P (omar.p) said :
#107

how many partitions should their be.

Revision history for this message
Tom (tom6) said :
#108

There should just be the 1 partition, sda1

Revision history for this message
Omar. P (omar.p) said :
#109

theirs a third partition, unallocated 3.57 GiB. it appears once I resize sda1.

Revision history for this message
Tom (tom6) said :
#110

Weird.
Does it have a blue or green outline and a hollow grey space inside?
What does the bottom half of gparted say about it?

Revision history for this message
Omar. P (omar.p) said :
#111

grey space inside, no bottom half.

Revision history for this message
Tom (tom6) said :
#112

Ok, if it doesn't have a border then just drag sda1 to the right. How much unallocated space would that give at the front of the drive?

Revision history for this message
Omar. P (omar.p) said :
#113

you mean the size 10.13 GiB.

Revision history for this message
Tom (tom6) said :
#114

Great :))) WoooHooo

Ok, "Apply"and just leave it to get on with doing that for a long while. I guess it's very late where you are? It's quite late here too. The machine should be ok. It will go into power saving mode after it finishes the move :) So it should be fine to leave it until morning?

Revision history for this message
Omar. P (omar.p) said :
#115

my bad, I drag sda1 to the right its 13.71 GiB, the third partition disappeared. Or should I change it back to 10.13

Revision history for this message
Omar. P (omar.p) said :
#116

its 2:30pm.

Revision history for this message
Tom (tom6) said :
#117

It's more than 6Gb and that's all that really matters. It's a little larger than needed but that's not bad :) We definitely wanted a good safety margin so that's all good :)

Revision history for this message
Tom (tom6) said :
#118

It's more than 6Gb and that's all that really matters. It's a little larger than needed but that's not bad :) We definitely wanted a good safety margin so that's all good :)

13.71Gb is fine lets just "Apply" that now :)

Revision history for this message
Omar. P (omar.p) said :
#119

how long would it take.

Revision history for this message
Tom (tom6) said :
#120

Maybe 2hours. If you click "Undo" then you could just power the machine down now and do this another time? All that needs doing is the move isn't it?

Revision history for this message
Omar. P (omar.p) said :
#121

cause it took me a couple times to drag to 13.71 GB.

Revision history for this message
Omar. P (omar.p) said :
#122

cause it took me a couple times to drag to 13.71 GB. will that make it take longer.

Revision history for this message
Tom (tom6) said :
#123

Yes, a lot longer. Click "Undo" a few times and this time drag it so that it only moves once and then it will 'omly' take a couple of hours. If you can't leave it overnight then lets do this "move" another day?

Good luck and regards either way from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#124

theirs only cancel,i tried it it said might cause damage, but its in 0 of 7 complete.

Revision history for this message
Omar. P (omar.p) said :
#125

theirs only cancel,i tried it it said might cause damage, but its in 0 of 7 complete. should i cancel it

Revision history for this message
Tom (tom6) said :
#126

Ok, you've already done "Apply" and so you've got to let it complete all this now

Revision history for this message
Tom (tom6) said :
#127

Err, that's NO don't cancel. Just let it complete

Revision history for this message
Omar. P (omar.p) said :
#128

how much more will it take, with these extra operations?

Revision history for this message
Tom (tom6) said :
#129

Maybe an hour extra but it's kinda got to run now

Revision history for this message
Omar. P (omar.p) said :
#130

was my data in sda2.

Revision history for this message
Tom (tom6) said :
#131

No. Your data is in sda1

Revision history for this message
Omar. P (omar.p) said :
#132

we are shrinking sda1?

Revision history for this message
Tom (tom6) said :
#133

Yes, that was one of the steps. sda1 has plenty of empty space inside it. Shrinking it gives enough space for us to set up a new partition tomorrow to install Ubuntu 9.04 onto.

Revision history for this message
Omar. P (omar.p) said :
#134

question, while this finishes. can I download pluging so I can use youtube and yahoo.

Revision history for this message
Tom (tom6) said :
#135

I think that would be too tricky.

You could download it but then there's no where to save it unless you have a Usb stick handy.

Revision history for this message
Omar. P (omar.p) said :
#136

I don't want permanently. I do have usb

Revision history for this message
Tom (tom6) said :
#137

Ok, that should work fine . I thought you wanted it permanently but it should be fine in this LiveCd session :)

Revision history for this message
Tom (tom6) said :
#138

You're using synaptic to get the non-free-adobe plugin? That should be fine. If you go to the "Places" menu and open "Documents" then the statusbar at the bottom should show how much free space there is in the LiveCd session :) Anything you save in there will only be temporary unless saved to your Usb. I have to sleep but you'll be fine :)
Regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#139

hey guess what, my computer froze while it was shrinking sda1. I'm going to try again.

Revision history for this message
Tom (tom6) said :
#140

Oh no. Using a LiveCd session you might need to use gparted to check the sda1 partition first. Try right-click on sda1 and "Check" should be down near the end of the menu

Good luck with this!
Regards from
Tom

Revision history for this message
Omar. P (omar.p) said :
#141

its okay, its actually starting to begining the process, it should done about hour and half.

Revision history for this message
Tom (tom6) said :
#142

Phew, that's good :)

Revision history for this message
Omar. P (omar.p) said :
#143

hey it finish.

Revision history for this message
Omar. P (omar.p) said :
#144

could I take out the CD and use my other user?

Revision history for this message
Tom (tom6) said :
#145

yes, you should be able to boot into sda1 again now

Revision history for this message
Omar. P (omar.p) said :
#146

whats next, can we continue tomorrow.

Revision history for this message
Tom (tom6) said :
#147

Hi :)

Of course we can and now we can work from inside the hard-drive boot up rather than having to keep going into the LiveCd sessions :))

Can you get to GPartEd from your normal boot? If not then please install it from

System - Administration - Synaptic

Then just add a new partition at the very front of your drive. Just a tiny Primary Partition of 1.5Gb and set it's "file-system" to "linux-swap". Please let us know what GPartEd shows in it's bottom half where all the addresses and values are written.

Thanks, good luck and regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#148

I can't access it from synaptic. It ask for a password, and then I type in my password. This is what comes up.

"Starting without administrative privileges
You will not be able to apply any any changes. But you can still export the marked changes or create a download script for them."

Revision history for this message
Omar. P (omar.p) said :
#149

I don't have that much access from my user.

Revision history for this message
Omar. P (omar.p) said :
#150

can we just continue liveCd session?

Revision history for this message
Tom (tom6) said :
#151

Your normal user password (not your SuperUser/Root one) should be enough to give you permission to install things. It is possible to change the password and then to give your normal user more rights but it might be easier just to boot up a LiveCd session after all

Good luck and regards again from
Tom :)

Revision history for this message
Tom (tom6) said :
#152

Yes, LiveCd it to add a new partition at the very front of your drive. Just a tiny Primary Partition of 1.5Gb and set it's "file-system" to "linux-swap". Please let us know what GPartEd shows in it's bottom half where all the addresses and values are written.

So we get

sda2 1.5Gb Primary Partition for 'file-system' = linux-swap
unallocated
sda1 large Primary Partition with all your data on it so no changes to this one

Thanks, good luck and regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#153

ok, let me try it.

Revision history for this message
Omar. P (omar.p) said :
#154

should I highlight sda1 or unallocated and click new?

Revision history for this message
Omar. P (omar.p) said :
#155

okay, new partition I got it, but how do I label so it says sda2? Or "new partition #1 label" is fine.

Revision history for this message
Tom (tom6) said :
#156

You should not touch you sda1 partiton for any of this. Right-click into the unallocated space and choose to create a new partition, it will automatically be named sda2. I never bother with labelling partitions and don't really see what the benefit would be

Revision history for this message
Omar. P (omar.p) said :
#157

okay I'm not touching sda1 partition, Once I make the new partition should I click apply. oh and is this also going to take a while to create.

Revision history for this message
Tom (tom6) said :
#158

Yes "Apply" & it should complete these steps very fast. Please let us know what all the info in the bottom half of gparted says.
Good luck and regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#159

bottom half:

create primary partition #1(Linux-swap 1.04 GiB on /dev/sda)

Revision history for this message
Omar. P (omar.p) said :
#160

sorry for responding to late. what's next?

Revision history for this message
Tom (tom6) said :
#161

Err, have you "Apply"d the action? Please "Apply" and then tell us what Gparted main window says about sda2, sda1 & unallocated in terms of size and amount used and so on.

Thanks and regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#162

/dev/sda2 Linux swap 1.04GiB

unallocated 12.67GiB

/dev/sda1 ext3 60.79GiB

Revision history for this message
Tom (tom6) said :
#163

Ok, that's all looking good :)
Sorry i got delayed there too now. Now in gparted can you make all the unallocated space there, just after sda2, into a Primary Partition of ext3. This is going to be where to put 9.04. So this should make the drive look like this

/dev/sda2 Linux swap 1.04GiB

/dev/sda3 ext3 12.67GiB

/dev/sda1 ext3 60.79GiB

Revision history for this message
Tom (tom6) said :
#164

If you can right-click on sda2 and do "Swap On" then you should be able to notice a bit of an improvement in speed :)) Booting into the hard-drive after that should automatically do "Swap On" so don't worry about that.

Then hopefully tomorrow we can work through installing to sda3 because we have to use "Manual Partitioning" and set the Mount Point of sda3 to / and the mount point of sda1 to /home. I think it's probably better to do the install tomorrow.

Good luck with setting the Swap On tho
Regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#165

okay, let me make all unallocated space into primary partition of ext3. should I just right click partition unallocated?

Revision history for this message
Tom (tom6) said :
#166

Yes, right-click unallocated space and make a new partition there
Primary ext3

Revision history for this message
Omar. P (omar.p) said :
#167

okay what's next?

Revision history for this message
Omar. P (omar.p) said :
#168

should I right-click on sda2 and do "Swap On"?

Revision history for this message
Omar. P (omar.p) said :
#169

cause when I right click sda2 theirs "swap off"?

Revision history for this message
Tom (tom6) said :
#170

Ahh, if Swap is already On then that's great :) Just switch it on if it isn't already on :) Does gparted show your partitions are set-up like this?

/dev/sda2 Linux swap 1.04GiB
/dev/sda3 ext3 12.67GiB
/dev/sda1 ext3 60.79GiB

Revision history for this message
Omar. P (omar.p) said :
#171

yes

Revision history for this message
Tom (tom6) said :
#172

I'm sorry chap. I'm too tired rightnow.

Basically all that's left is to use the LiveCd session to install 9.04 but to choose "Manual Partitioning" and edit sda3 to set it's "Mount Point" to "/" and edit sda1 to set it's "Mount Point" to "/home" . I should be able to guide you through that another day. Sorry but we do seem to be in quite different time-zones.

Good luck and regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#173

hey lets get started :)

Revision history for this message
Tom (tom6) said :
#174

Hi :) Ok :)
So, are you booted into a LiveCd of 9.04?

Revision history for this message
Omar. P (omar.p) said :
#175

yup

Revision history for this message
Tom (tom6) said :
#176

Ok. The installer icon in the top left of the desktop should be obvious until Section 6(?) "Partitioning Section". When you get to the "Partitioning Section" choose the 3rd option "Manual Partitioning". It will rescan the drive but will then display the way the partitions are laid out on your machine. Please let me know when you get there :)
Regards from
Tom :)

Revision history for this message
Omar. P (omar.p) said :
#177

I selected third option "specify partitions manually"

Revision history for this message
Tom (tom6) said :
#178

Great, thanks - so now "Edit" sda1 to set it's "Mount Point" = "/home" that should be the 60Gb drive with all your data on it ?

Revision history for this message
Omar. P (omar.p) said :
#179

how do I edit "Mount Point" I can't select?

Revision history for this message
Tom (tom6) said :
#180

You can select sda1 and "Edit" that. Then a pop-up box appears and you have a couple of buttons that give drop down lists. Use the one beside "Mount Point", the "/home" option should be a fair way down the list.

Revision history for this message
Omar. P (omar.p) said :
#181

theirs a button "use as", and in the button theirs a couple selections to let me use "Mount Point", which one should I select?

Revision history for this message
Tom (tom6) said :
#182

Hmmm, things are a little different from the way i remember them but try the "Mount Point" option and let me know what it says

Revision history for this message
Omar. P (omar.p) said :
#183

I can't select the "Mount Point" unless I selected one of these:

Ext3 journaling file system
Ext4 journaling file system
Ext2 File sytem
ReiserFS journaling file system
JFS journaling file system
XFS journaling file system
FAT16 file system
FAT32 file system

Revision history for this message
Tom (tom6) said :
#184

Ok what size is sda1 in this installer? Is sda1 the 3rd partition on the drive or the 1st partition?

Revision history for this message
Omar. P (omar.p) said :
#185

65275MB. 3rd partition

Revision history for this message
Tom (tom6) said :
#186

Hmm, ok keep it as ext3, set the "Mount Point" as "/home" but when you get back to the Manual Partitioner page make sure the "Format?" column doesn't have any ticks in it.

Revision history for this message
Omar. P (omar.p) said :
#187

looks good, oh but what do you mean by ticks?

Revision history for this message
Tom (tom6) said :
#188

In the "Format?" column should be a column of empty little boxes, one for each row. There shouldn't be anything in any of the boxes. Try clicking on the box on the sda2 row. The sda2 is the linux-swap partition isn't it?

Revision history for this message
Omar. P (omar.p) said :
#189

yes, no ticks.

Revision history for this message
Tom (tom6) said :
#190

Ok, now "Edit" sda2 and set it's "Mount Point" to "/"

Revision history for this message
Tom (tom6) said :
#191

Sorry not sda2 lol, you can't set the linux-swap to any mount point

Revision history for this message
Tom (tom6) said :
#192

I meant "Edit" sda3 and set it's "Mount Point" to "/". The sda3 is the small ext3 partition isn't it?

Revision history for this message
Omar. P (omar.p) said :
#193

if you mean the size, then no.

Revision history for this message
Tom (tom6) said :
#194

The sda3 is the 12Gb ext3 partition? It's the 12Gb ext3 partition that needs to have Mount Point = /

Revision history for this message
Omar. P (omar.p) said :
#195

correct. and sda2 is 1.0GB (Linux swap).

Revision history for this message
Tom (tom6) said :
#196

OK so you have set mount points for sda1 and sda3 but sda2 is still set as linux-swap hopefully? No ticks in the "Format?" column? Ok, ready to move on? Keep going until yuo get to the Summary and when you get to that scroll down to the bottom of the info there - please copy&paste the info about what's going on with the partitions into here. It should say something like

The following partitions are going to be formatted
sda2 as linux-swap

Hopefully that's all? Please let me know before proceeding.
Good luck with this!

Revision history for this message
Omar. P (omar.p) said :
#197

wait, this pop uped when I clicked next.

The file system on /dev/sda3 assigned to / has not been marked for formatting. Directories containing system files (/etc, /lib, /usr, /var, ...) that already exist under any defined mountpoint will be deleted during the install.

Please ensure that you have backed up any critical data before installing.

Revision history for this message
Tom (tom6) said :
#198

Ok, that's fine :) Thanks for letting me know because i needed to know that for another question :) In this case we haven't got anything on sda3 at all yet so it doesn't make a difference. All your critical data is safely on sda1 :)

Revision history for this message
Omar. P (omar.p) said :
#199

should I import anything from "Migrate documents and settings"?

Select any accounts you would like to import. The documents and settings for these accounts will be available after the install completes.

If you do not wish to import any accounts, select nothing and go to the next page.

ubuntu 6.10 (sda1)
ubuntu 6.10 (sda1)

Revision history for this message
Tom (tom6) said :
#200

No, there's no need to :) because we're using the same /home as you were using before so all that will be in there already anyway :)

Revision history for this message
Omar. P (omar.p) said :
#201

"Ready to Install"

Language: English
 Keyboard layout: USA
 Name: omar
 Login name: omar
 Location: America/Los_Angeles
 Migration Assistant:

If you continue, the changes listed below will be written to the disks.
Otherwise, you will be able to make further changes manually.

WARNING: This will destroy all data on any partitions you have removed as
well as on the partitions that are going to be formatted.

The following partitions are going to be formatted:
 partition #2 of SCSI1 (0,0,0) (sda) as swap

Revision history for this message
Tom (tom6) said :
#202

Yes, that should do the trick. Continue from there and it should all work quite nicely :)

Revision history for this message
Omar. P (omar.p) said :
#203

hey it finish installing, I'm using 9.04. Is that all.

Revision history for this message
Tom (tom6) said :
#204

Hopefully now when you reboot from the hard-drive it should give a choice of your old Ubuntu & your new one ))

Revision history for this message
Omar. P (omar.p) said :
#205

it does, but I though it was going to be deleted and my data would transfer to 9.04. It doesn't matter to me though.

Revision history for this message
Omar. P (omar.p) said :
#206

it does, but I though it was going to be deleted 6.10 and my data would transfer to 9.04. It doesn't matter to me though.

Revision history for this message
Tom (tom6) said :
#207

Have you tried booting into the 9.04 yet? Let me know if there's anything in your Documents folder or if it's empty

Revision history for this message
Omar. P (omar.p) said :
#208

question I want to install adobe flash player. which version should I chose from?

.YUM for Linux
.tar.gz for Linux
.rpm for Linux
.deb for Ubuntu 8.04+

Revision history for this message
Omar. P (omar.p) said :
#209

Yes my data is their :)

Revision history for this message
Tom (tom6) said :
#210

You should be able to login to the 9.04 with the same username you use in the older Ubuntu and everything should be setup the same in both? If the 9.04 does work then we can edit the older one out of the boot menu if you really want but it should be down at the bottom of the list anyway?

Revision history for this message
Tom (tom6) said :
#211

Oh i would get the flash-player from Synaptic Package Manager rather than from the Adobe website. Also it might be good to run through all the steps in
https://help.ubuntu.com/community/Medibuntu
to fully set-up your multimedia in 9.04. I usually go for non-free components which don't seem to cost anything yet but hopefully i will be able to go completely OpenSource and really free myself sometime :)

Revision history for this message
Tom (tom6) said :
#212

If you really must get the one from the Adobe website then the ".deb" is the best one :) Ubuntu is in the Debian family & the other choices are all aimed at different families. It says 8.04 because that's the latest LTS release, it will work just as nicely in 9.04 :)

Revision history for this message
Omar. P (omar.p) said :
#213

Thank you for helping me installing 9.04, I though I would been stuck with 6.10 forever.

Revision history for this message
Omar. P (omar.p) said :
#214

I guess its late were you live, its okay. I hope you continue helping me if I'd need help :)

Revision history for this message
Tom (tom6) said :
#215

You are welcome. Yes it's late here but there's always tomorrow & it's easier to ask separate questions about any other issues that might crop up now
https://answers.launchpad.net/ubuntu/+addquestion
Now you are back to more normal operations you will find it much easier and the next install will be much easier too. Hopefully you wont need to do another one for a long while :)
Thanks Omar
Good luck and have fun
Regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#216

Hi :)

Have you been able to test the new Ubuntu 10.04 before it gets officially released?
http://www.ubuntulinux.org/testing/lucid/beta1
Trying it as a LiveCd or as an extra dual/multi-boot would be ideal. Developers and everyone are keen to try to iron out any problems before 10.04 gets officially released so you might find faster & more effective answers to your bug reports which would make 10.04 work better on your system for you

Thanks and regards from
Tom :)

Can you help with this problem?

Provide an answer of your own, or ask Omar. P for more information if necessary.

To post a message you must log in.