LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices

Reply
 
Search this Thread
Old 11-09-2009, 07:21 PM   #1
Daaba99
LQ Newbie
 
Registered: Nov 2009
Distribution: Mint
Posts: 9

Rep: Reputation: 1
Please help with partitioning.


I am new to Linux and I want to Enlarge my Linux partition and decrease my windows partition. I cant boot from windows because of a series of unfortunate events although I can access my files through Linux if this makes any difference please tell me. I am confused of how to do the partitioning.
 
Old 11-09-2009, 10:08 PM   #2
AndyDP
LQ Newbie
 
Registered: Mar 2007
Location: New York, NY
Distribution: Debian basis, Suse, StartOS
Posts: 19

Rep: Reputation: 0
I believe you have named two separate areas of concern:
1)The damage to your boot menu. In other words "not being able to start the microsoft windows system."

2)If all you wish to do is to increase your Linux partition file area:
You should obtain a boot CD based on this tool: Gparted,(http://gparted.sourceforge.net/livecd.php) and boot from this.
--
Later, if 1)eventually you wish to correct a GRUB based boot menu Try http://supergrubdisk.org/ . I found this utility quite helpful.
 
Old 11-10-2009, 06:55 PM   #3
Daaba99
LQ Newbie
 
Registered: Nov 2009
Distribution: Mint
Posts: 9

Original Poster
Rep: Reputation: 1
Okay so I burnt the ISO to the disk. I then booted from the disk but instead of seeing two separate partitions I see one partition that was named Unallocated and it was 149.4 GB what should I do?
 
Old 11-10-2009, 06:58 PM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,220

Rep: Reputation: 164Reputation: 164
that is not good, it seems to be misreading your disk or your volume/parition label is damaged.
 
Old 11-10-2009, 07:06 PM   #5
Daaba99
LQ Newbie
 
Registered: Nov 2009
Distribution: Mint
Posts: 9

Original Poster
Rep: Reputation: 1
Anyone know what I should do?
 
Old 11-10-2009, 07:47 PM   #6
Daaba99
LQ Newbie
 
Registered: Nov 2009
Distribution: Mint
Posts: 9

Original Poster
Rep: Reputation: 1
Anybody?
 
Old 11-10-2009, 08:17 PM   #7
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,721

Rep: Reputation: 192Reputation: 192
Somebody...

Download and burn a copy of PartedMagic or GPartedLiveCD, both live partitioning CDs. Boot one of these, open GParted and look at your partitions without changing anything.

Then open a terminal(ROXTerminal in PartedMagic) and type the command "fdisk -l". This will read your partition table.

Post back with the results of "fdisk -l"

http://partedmagic.com/download.html

On this forum you cannot expect replies that are as rapid as you would hope they might.

http://www.linuxquestions.org/linux/...Ask_a_Question

Last edited by thorkelljarl; 11-11-2009 at 05:26 PM.
 
Old 11-10-2009, 08:26 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by Daaba99 View Post
Anybody?
Don't keep bumping your own thread!! There are at least 2 magic words here: "Please" and "Patience".

If I read you correctly, you viewed the disk with GParted and saw nothing but "unallocated". If that's true, then the partition table is corrupted or missing.

If you have anything on the disk you need to recover, then the first thing to do is get it mounted into another system. One way to do this is simply boot up from a "Live CD" version of Linux. As already mentioned, "fdisk -l" give you a dump all drives and partitions visible to the OS. If you confirm that the partitions are not visible, then do some searches on "partition recovery".

If you don't have anything you need to recover, then just proceed with partitioning using GParted.

Good Luck!!
 
Old 11-10-2009, 10:15 PM   #9
Daaba99
LQ Newbie
 
Registered: Nov 2009
Distribution: Mint
Posts: 9

Original Poster
Rep: Reputation: 1
Here are the results for the fdisk -l. Seems to sense my other partitions. Although gparted doesn't
rather odd.

Sorry doesn't come out in right format. Hope its readable.

-----------------------------------------------------------------------------------------------------------------------------
Disk /dev/sda: 160.0 GB, 160041885696 bytes

255 heads, 63 sectors/track, 19457 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0x00000080

Device Boot Start End Blocks Id System
/dev/sda1 * 19131 19458 2619392 c W95 FAT32 (LBA)

/dev/sda2 6 1280 10240000 7 HPFS/NTFS

/dev/sda3 * 1280 18317 136842918+ 7 HPFS/NTFS

/dev/sda4 18318 19458 9157691 f W95 Ext'd (LBA)

/dev/sda5 19131 19458 2619392 dd Unknown

/dev/sda6 18318 19089 6201058+ 83 Linux

/dev/sda7 19090 19130 329301 82 Linux swap / Solaris



Partition table entries are not in disk order

Last edited by Daaba99; 11-10-2009 at 10:18 PM.
 
Old 11-11-2009, 06:48 AM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
This is a mess...
2.6 G FAT32 (Active)
10.2 G NTFS
137 G NTFS (Active)
9.2 G extended, containing:
2.6 G unknown
6.2 G Linux
0.3 G Linux swap

Problems:
2 active partitions. Linux doesn't care, but Windows might
Space for Linux is marginal
Linux swap is marginal

I'm wondering how things got this way, but in the end it does not matter. I would simply start over and use this disk very differently**.

In GParted, are you sure you have the right disk selected? I can't run it at the moment, but I seem to recall a dialog to select which disk is being viewed. Regardless, what do you want to do next?

** I like to have partitions for the OSes, and then 1 or 2 big partitions for shared data. Ideally, the data is all on a separate physical drive. With one 160G drive, I would set up roughly as follows:

NTFS (Windows): ~15-20 G, first partition, marked active

Linux: 10-15 G

Linux swap: 2 G, at the end of the drive

Extended: Fill the rest of the drive
Logical partition: ~80-100 G, FAT32 or ext3* for shared data
The balance of the extended partition left emtpy (unallocated) for future additions

*FAT32 is easily accessed by both Linux and Windows, but I prefer to have all data on ext3. From Windows, this can be accessed using the ext2fsd driver.
 
Old 11-11-2009, 07:26 AM   #11
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 333
Blog Entries: 7

Rep: Reputation: 72
Quote:
This is a mess...
2.6 G FAT32 (Active)
10.2 G NTFS
137 G NTFS (Active)
M$ will care about the two active(s).

delete all the other partitions, including the extended one.
shrink back the 137Gb by at least 37Gb & create a extended partition in the newly vacant area.
create a /swap of 1Gb & /home in the rest of the space.
hide the 2.6 Gb as thats supposed to be the hidden backup partition, for drive C: - the 10.2Gb.
the <now> 100Gb is the D: drive.

be sure that the c: drive is the active partition
install your new linux O/S into the new /home & it should also detect the M$ O/S.

post back your results.
 
Old 11-11-2009, 12:36 PM   #12
Daaba99
LQ Newbie
 
Registered: Nov 2009
Distribution: Mint
Posts: 9

Original Poster
Rep: Reputation: 1
Thanks for the feedback, but I'm confused how to do anything with the partitions since GParted only shows the one unallocated partition. There is a dialog but when clicked on all it shows is one option which is already selected which is /dev/sda.
 
Old 11-11-2009, 12:53 PM   #13
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I'm not sure what you mean by "unallocated partition". I think it is just saying that there are no partitions---i.e unallocated space. If you are sure that GParted is looking at the right thing, then it is evidence of something being amiss in the partition table.

As I said, I would recommend starting over. Since GParted says there are no partitions, then you can probably simply create new ones from there.

If you feel like digging deeper, run this:

Code:
dd if=/dev/sda bs=1 skip=446 count=64 | hexdump -C
post the results here.
 
Old 11-11-2009, 12:59 PM   #14
Daaba99
LQ Newbie
 
Registered: Nov 2009
Distribution: Mint
Posts: 9

Original Poster
Rep: Reputation: 1
By unallocated partition what I mean is that when I open Gparted all it shows is one partition named Unallocated but anyway here are the results for dd if=/dev/sda bs=1 skip=446 count=64 | hexdump -C.

-------------------------------------------------------------------------------------------------------------------------------
00000000 80 00 c1 ff 0c fe ff ff 00 a0 51 12 00 f0 4f 00 |..........Q...O.|
00000010 00 19 15 05 07 fe ff ff 00 40 01 00 00 80 38 01 |.........@....8.|
00000020 80 fe ff ff 07 fe ff ff 00 c0 39 01 4d 1d 50 10 |..........9.M.P.|
00000030 00 fe ff ff 0f fe ff ff 8a 17 8a 11 76 78 17 01 |............vx..|
00000040
64+0 records in
64+0 records out
64 bytes (64 B) copied, 0.00206849 s, 30.9 kB/s
 
Old 11-11-2009, 02:25 PM   #15
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Nothing is jumping out at me.

You can find stuff on the web about how to decode this table (eg search on CHS and LBA addresses).

I would still just start over......

Quote:
when I open Gparted all it shows is one partition named Unallocated
I'm pretty sure it is showing unallocated space---not a partition. If it were a partition, it would have a number, size, etc.

Another option---there are partition recovery tools around--I've never used them, but---as a minimum--they might give you some confirmation of what you have.
 
  


Reply

Tags
booting, dual, grub, help, linux, mint, modification, partition, partitioning, table


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 jonnyblinux Linux - Software 3 12-18-2005 08:33 AM
partitioning jonnyblinux Slackware 2 12-17-2005 05:02 PM
HD Partitioning NomadABC Linux - Software 9 01-27-2005 02:01 AM
Re-Partitioning under_r_run Linux - Newbie 4 10-15-2004 03:45 PM
Partitioning alexidoia Linux - Newbie 2 10-11-2004 03:41 PM


All times are GMT -5. The time now is 03:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration