LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-18-2003, 09:51 AM   #1
DiabloDan
LQ Newbie
 
Registered: Jun 2003
Location: Papillion, Nebraska
Distribution: Mandriva 2006
Posts: 27

Rep: Reputation: 15
Re partitioning a drive


OK, I just put a second OS on my computer, Mandrake Linux, because I got board and wanted to try something new. SO then I used Partition Magic and set aside 42 gigs for Windows and about 7 gigs for Linux and then i went and installed Linux then after about 2 weeks I found out that it had taken that partition (7gigs) and divided it into one that was 3.1 gigs (called / ) one that was .4 gigs (swap) and one that was 2.4 (called /home) and none of then were big enough to install the thing i was wanting to install (Unreal Tournament 2003) so... I was wandering how you would resize a partition. I probably should have asked before trying to do it my self, because I think I really screwed my self because now I cant get Linux so start when I try to boot up on Linux i get some error and then my computer freezes. Ill post the error l8er but now I want know how to re partition Linux in the future.
 
Old 06-18-2003, 10:53 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Re-partition you can use anything you'd like, I prefer sfdisk or fdisk.

Resize on the other hand is a bit more tricky. Part Magic supposedly works, but so far I've heard a lot of horror stories, so Use at YOUR OWN RISK

Parted is the tool that is used in linux to resize linux partitions. You can grab it from www.freshmeat.net Beware though, it appears to be a bit complicated for newcomers, so read up on it as best as you can before diving in.

Cool
 
Old 06-18-2003, 11:05 AM   #3
DiabloDan
LQ Newbie
 
Registered: Jun 2003
Location: Papillion, Nebraska
Distribution: Mandriva 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Ok... Umm... i still have a question though does n e one know how to get linux to work again
 
Old 06-18-2003, 11:16 AM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
Quote:
Originally posted by DiabloDan
Ok... Umm... i still have a question though does n e one know how to get linux to work again
NMI = Need More Information i.e., what is the error you said you're getting when you try to start.
 
Old 06-18-2003, 11:29 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Re: Re partitioning a drive

Quote:
Originally posted by DiabloDan
... I probably should have asked before trying to do it my self, because I think I really screwed my self because now I cant get Linux so start when I try to boot up on Linux i get some error and then my computer freezes. Ill post the error l8er ..
Just like was said above, NMI. We could guess though, so here's a shot:
You moved your partition containing the kernel/boot info and now your boot loader doesn't know where to boot things from (since they've moved).

Anyway, so yeah, tell us what you did/tried and post up error messages, those are essential.

Cool
 
Old 06-18-2003, 11:31 AM   #6
DiabloDan
LQ Newbie
 
Registered: Jun 2003
Location: Papillion, Nebraska
Distribution: Mandriva 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Ok this is the error

UF3: Can't find ext3 filesystem on fev idc0(3,5)
mount,: error 22 mounting ext3 flags Kernel panic: No init found, Try passing in it option to kernel
 
Old 06-18-2003, 11:33 AM   #7
DiabloDan
LQ Newbie
 
Registered: Jun 2003
Location: Papillion, Nebraska
Distribution: Mandriva 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Screwed....

I was trying to resize the partition with some program that came with Mandrake Linux 9.1 and i couldent do that so i made a new partition called /Games and then everything went nutz.
 
Old 06-18-2003, 11:54 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Yeah, your boot loader needs to know the location of your kernel to boot. That error pretty much is saying this. Since you probably didn't have much to begin with anyway, I'd just stop-drop-and roll. Blast the partitions away, create new ones, sized to your desires, re-install Mandy, this will again setup the boot loader correctly and everything will be just peachy.

If you want to fix it however, plug in your Mandrake disc, boot into rescue mode (press F1 for help, then type rescue) and hand edit your boot loader. Find the info on your partition setup with:
/sbin/fdisk -l
And then plugin the values accordingly.

That's not a very "n00b" way of describing it, so if that doesn't help you at all, or if you wish to do attempt the fix, post back and I'll break it down a bit more/better.

Cool
 
Old 06-18-2003, 11:58 AM   #9
DiabloDan
LQ Newbie
 
Registered: Jun 2003
Location: Papillion, Nebraska
Distribution: Mandriva 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Ahhhh I feel stupid!!!

Usually im really good with computers and fix other peoples computer problems (but thats with Windows) and rihgt now i feel really stuid but n e way i guess im just gana re install Mandrake and everything.
 
Old 06-18-2003, 11:59 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Probably the easiest thing to do. And, don't feel st00pid. I constantly make things break on my system, that's half the way of learning. The other half is of course fxing it

Cool
 
Old 06-18-2003, 05:06 PM   #11
DiabloDan
LQ Newbie
 
Registered: Jun 2003
Location: Papillion, Nebraska
Distribution: Mandriva 2006
Posts: 27

Original Poster
Rep: Reputation: 15
HAha

Lol...ok
 
Old 06-18-2003, 05:41 PM   #12
DiabloDan
LQ Newbie
 
Registered: Jun 2003
Location: Papillion, Nebraska
Distribution: Mandriva 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Ok almost done

Ok i have 1 last question... if i re install linux will i loose all the suff from my last installation like the files i downloaded and some of the programs i installed?
 
Old 06-18-2003, 08:42 PM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Most likely.

Cool
 
  


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
partitioning my hard drive bluemandrin Linux - Newbie 2 12-09-2005 04:18 PM
drive partitioning barleykorn Linux - Hardware 3 11-16-2005 07:34 PM
Drive Partitioning BiPolar Linux - General 8 04-01-2005 12:44 AM
Partitioning a hard drive phoenix_wolf Linux - Newbie 5 12-04-2004 01:50 AM
Partitioning new drive ander45 Linux - Software 1 02-09-2002 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:59 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
Open Source Consulting | Domain Registration