Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Other Distributions > [SOLVED] Help in xubuntu

Forgot Password?
 Other Distributions   Post questions about distributions that do not have their own forums in here

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 09-07-2009   #1 (permalink)
Just Joined!
 
Join Date: Jan 2008
Location: Staffordshire, England
Posts: 5
Unhappy [SOLVED] Help in xubuntu

Hi

I wanted to upgrade to the new 9.04. I was told I hadnt got enough space so I started to delete programs. I deleted python and I can start it in safemode. What I would like to do is install the new disk from the command line.

Can anyone help please.

Thanks

Joe
Joe_Richardson is offline  



Old 09-07-2009   #2 (permalink)
Super Moderator
 
Join Date: May 2004
Location: Arch Linux
Posts: 13,092
Not sure, but it sounds like some of your partitions might not be of adequate size to begin with if you are unable to upgrade.

Post the output of fdisk -l so we can see how your partitions are currently setup.
__________________
oz

New Members: * README *
ozar is offline  
Old 09-08-2009   #3 (permalink)
Just Joined!
 
Join Date: Jan 2008
Location: Staffordshire, England
Posts: 5
Thanks Ozar for taking the time to help me it is really appreciated.

I cant copy and paste as there is limited operation so I have to write it out.

First thing to note is
[1733.836721] Buffer I/O error on device sda, logical block 19541088

The listing is

Device Boot Start End Blocks ID System
/dev/sda1 1 368 2955928+ 82 Linux swap/solaris
/dev/sda2 1025 1216 1542240 82 Linux swap/solaris
/dev/sda3 369 628 2088450 83 Linux
/dev/sda4 629 1024 3180870 5 Extended
/dev/sda5 990 1024 281106 82 Linux swap/solaris
/dev/sda6 * 629 966 2714922 83 Linux
/dev/sda7 967 989 184716 82 Linux swap/solaris

Thanks

Joe
Joe_Richardson is offline  
Old 09-08-2009   #4 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 4,348
Hi, That doesn't look right. I hope you just copied it down wrong.

The Start and End numbers should be in ascending order. I reformatted it to make it look like it should.
Code:
Device	 Boot 	Start	End Blocks 	ID System
/dev/sda1	1 	368 2955928+ 	82 Linux swap/solaris
/dev/sda2	369 	628 2088450 	83 Linux
/dev/sda3	629 	1024 3180870 	5  Extended
/dev/sda4 * 	629 	966 2714922 	83 Linux
/dev/sda5   	967 	989 184716 	82 Linux swap/solaris
/dev/sda6   	990 	1024 281106 	82 Linux swap/solaris
/dev/sda7   	1025	1216 1542240 	82 Linux swap/solaris
I don't know if this is actually how yours is set up, but there are two things that I noticed.

First, you have more swap partitions than actual operating system partitions. Even if you have several versions of Linux installed, you still only need one swap partition. The same swap partition can be used by all distros, as long as they are not running at the same time (impossible?).

The other is the boot partition, marked with a *. It is either the forth or sixth partition, depending on which version of the partition table you look at. The boot partition is usually on the first partition, and the swap the last partition.

This is so screwy, that I recommend reformatting the entire drive and starting with a fresh install. If you have a Solid State Drive (SSD) you shouldn't even have a swap partition. The constant writing to a swap partition will wear out a SSD prematurely.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline  
Old 09-09-2009   #5 (permalink)
Just Joined!
 
Join Date: Jan 2008
Location: Staffordshire, England
Posts: 5
Thanks Waterhead

I didnt know what I was doing when I set this up.
Yes the order is as it appeared on the screen with no errors.

I think you are saying scrap it and reinstal and set up the partitions.

How should the partitions be set up?

Joe
Joe_Richardson is offline  
Old 09-09-2009   #6 (permalink)
Super Moderator
 
Join Date: May 2004
Location: Arch Linux
Posts: 13,092
For my own system, I usually set the partitions up something close to the following:

/ = about 10 to 15 GB, ext3
swap = about 1 GB, swap
/home = about 10 to 15 GB, ext3

It's generally better to have a partition thats bigger than needed rather than smaller than needed.
__________________
oz

New Members: * README *
ozar is offline  
Old 09-09-2009   #7 (permalink)
Just Joined!
 
Join Date: Aug 2009
Posts: 76
That's a good setup he has. I'd recommend allocating at 20GB to your root partition, 1GB to swap, and the remainder to your /home partition where your personal files are stored.

If you want to dual boot (either windows or linux) then you will want to use a different partitioning setup (like 30GB linux, 100GB windows, 1GB swap, remainder media partition). But this one will work fine for a single OS system.
Zeroangel is offline  
Old 09-09-2009   #8 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 4,348
I usually set it up similar to what ozar said. Of course, the partition sizes depend on the size of the drive.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline  
Old 09-09-2009   #9 (permalink)
Just Joined!
 
Join Date: Jan 2008
Location: Staffordshire, England
Posts: 5
Smile solved

Thanks guys

Because of what you said I decided the system is so screwed up that i would reinstall Xubuntu 7.04 (found out the 9.04 disk was in Nero.iso format so thats why that wouldnt boot)

I will have other questions but it will be better on another thread.

Thanks

Joe
Joe_Richardson is offline  
Old 09-09-2009   #10 (permalink)
Super Moderator
 
Join Date: May 2004
Location: Arch Linux
Posts: 13,092
Glad you are up and running!
__________________
oz

New Members: * README *
ozar is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 11:52 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1