Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Get help on partitioning here [Part 1]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 9, 10, 11  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
southpaw
Guru
Guru


Joined: 11 Mar 2005
Posts: 375
Location: "Americas Toilet"(So.FL.)

PostPosted: Thu Oct 20, 2005 9:22 pm    Post subject: Reply with quote

Nevermind, I figured it out. First of all I had to change the "0 1" in my /etc/fstab to an "0 2" for /dev/hda4 /home, then I had to su into root and:
Code:
# mkdir /home/southpaw
# mount /dev/hda4 /home/southpaw

Afterwards, I rebooted, logged in, and viola, no more missing directory :D
_________________
Legalize It
Back to top
View user's profile Send private message
aptovol
n00b
n00b


Joined: 09 May 2005
Posts: 16

PostPosted: Fri Oct 21, 2005 8:20 pm    Post subject: Reply with quote

Hi everybody. Here's a new problem.

I've got a Samsung X20 laptop. Samsung put hidden sub-partitions into the disk.

As I wanted to resize my only NTFS partition (/dev/hda2) to be able to install linux on it, I booted the gentoo live-cd and executes ntfs-resize. After having resized the partition I started fdisk on /dev/hda2 and saw that it was composed out of 3 sub-parts. What's going to happen to those subpartitions if I resize /dev/hda2 with fdisk (by deleting and recreating). How has ntfs resize handled those?
I'd like not to loose the windows install, as i have no possibility to backup the 40gigs on it.

Any idea?
more info needed?

thx a lot
Back to top
View user's profile Send private message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Fri Oct 21, 2005 8:35 pm    Post subject: Reply with quote

I asked before but never got a response -- If I leave 20 GB of my harddrive unpartitioned, then fill the rest with various Gentoo partitions, at a later time can I give the 20GB to whatever gentoo partition needs it? Is there a free tool for doing that? Or do I have to create a new partition with that 20GB and go from there?
Back to top
View user's profile Send private message
aptovol
n00b
n00b


Joined: 09 May 2005
Posts: 16

PostPosted: Fri Oct 21, 2005 8:55 pm    Post subject: Reply with quote

shrndegruv wrote:
I asked before but never got a response -- If I leave 20 GB of my harddrive unpartitioned, then fill the rest with various Gentoo partitions, at a later time can I give the 20GB to whatever gentoo partition needs it? Is there a free tool for doing that? Or do I have to create a new partition with that 20GB and go from there?


you'll be able to add those 20G to the partition physically connected to them, or you'll have to make a separate 20G partition (which is probably the bets idea)

fdisk should be enough for all of this, but maybe you'll need some resize utility (certainly built in) for the first option.
Back to top
View user's profile Send private message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Fri Oct 21, 2005 9:03 pm    Post subject: Reply with quote

thanx for the reply -- by "physically connected" you mean if i do

(what Im planning to actually do)
x for /
x for /boot
x for /home
x for swap
20 unpartitioned

i can only add the 20 to the swap? Or do you mean as long as its on the same disk. fdisk can certainly allocate the unused space to a new partition, but i dont think it can add it to an existing. Is there another tool that can do this? What if I wanted to add the 20 to /?
Back to top
View user's profile Send private message
aptovol
n00b
n00b


Joined: 09 May 2005
Posts: 16

PostPosted: Fri Oct 21, 2005 9:33 pm    Post subject: Reply with quote

shrndegruv wrote:
...
i can only add the 20 to the swap?



AFAIK yes. so you should let the 20 gigs in the cylinders following / if you want to add it to / later on. but in that case why not make it bigger in the first place?

As for the tools, qtparted, gparted,.. etc (emerge them and look into the doc before using). those have a gui :)
Back to top
View user's profile Send private message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Fri Oct 21, 2005 11:23 pm    Post subject: Reply with quote

aptovol

coolio thanx. can anyone else confirm or deny?
Back to top
View user's profile Send private message
Defiance
n00b
n00b


Joined: 14 Feb 2005
Posts: 28

PostPosted: Mon Oct 24, 2005 3:45 pm    Post subject: Partition table order messing with XP? Reply with quote

NOTE: Despite mentionings of Windows, this is a Partition Setup Question...

I'm having a bit of a dual boot problem on my system. Everything works properly using my setup, my existing XP and Gentoo both boot properly. The problem is I can't boot from the Windows XP install CD to reinstall Windows: it hangs before getting the setup screen. The CD itself is fine, it boots on another computer and my system is also fine: it can boot from any other LiveCD properly, as well as my Windows 2000 CD (though I haven't tried installing from that).

This has only been a problem since I installed Gentoo and I'm wondering if it's my partition table that's screwing it up and I'm looking for a way to fix the partition table somehow so I can keep my Gentoo and allow me to reinstall Windows.

I followed the NTLDR method of dual booting, so I kept the XP MBR intact.

I have:

/dev/hda1 - NTFS, primary boot partition.
/dev/hda2 - Win95 Ext'd
/dev/hda3 - Linux boot partition, primary partition.
/dev/hda5 - NTFS logical partition
/dev/hda6 - FAT32 logical partition
/dev/hda7 - Linux Swap logical partition
/dev/hda8 - Linux ReiserFS logical partition (root and home).

hda3 is actually before hda2 (i.e. it starts and ends physically before the Ext'd partition) and I'm wondering if that's what's causing my problem. I have another machine setup the same way, except the Linux boot partition is hda2 and the Ext'd partition is hda3 (so they're in disk order) and I can boot my XP CD on that system.

Is there any way I can re-order these partitions to at least see if that's the problem?

And how do I make sure I can get back into Gentoo afterwards? I'm using LILO installed in hda3 right now and the NTLDR method of dual boot requires that I install LILO into the Linux boot partition, then copy the first 512 bytes to a file, which is then loaded by NTLDR when I boot the system.

Lastly, is there anyway to remove the partition table completely (without resorting to zero filling the whole drive)?
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Wed Oct 26, 2005 3:57 pm    Post subject: Reply with quote

Split off a crosspost
_________________
KDE
Back to top
View user's profile Send private message
syg00
l33t
l33t


Joined: 23 Aug 2004
Posts: 907
Location: Brisbane, AUS

PostPosted: Fri Oct 28, 2005 3:58 am    Post subject: Reply with quote

shrndegruv wrote:

i can only add the 20 to the swap? Or do you mean as long as its on the same disk. fdisk can certainly allocate the unused space to a new partition, but i dont think it can add it to an existing. Is there another tool that can do this? What if I wanted to add the 20 to /?
Each partition is a *single* contiguous allocation - just have a look at the partition table structure.
You could add the space to swap, but probably pointless. I usually create new partition(s) for mount points that are causing grief (that means portage and especially distlib to this audience). Move the offending directories over, and free up the space they were using. Usually gives enough to resolve any space issues.

LVM is the better answer, but needs to be thought about in advance.
Back to top
View user's profile Send private message
syg00
l33t
l33t


Joined: 23 Aug 2004
Posts: 907
Location: Brisbane, AUS

PostPosted: Fri Oct 28, 2005 4:27 am    Post subject: Reply with quote

aptovol wrote:

After having resized the partition I started fdisk on /dev/hda2 and saw that it was composed out of 3 sub-parts. What's going to happen to those subpartitions if I resize /dev/hda2 with fdisk (by deleting and recreating). How has ntfs resize handled those?
I don't understand - what "sub parts"; what do you mean ???.
You need to delete the partition you resized, and re-create it no smaller than the resized value - I usually allow a bit more to make sure I don't lose anything. Any other partitions on the disk are unaffected by this.
The fdisk delete/create merely changes the size of the partition - no data is affected. You do have to be sure to have the re-created partition start on the same cylinder. You will then have unallocated space at the end.
There is a Q&A linked off the ntfsresize homepage that goes through all this - with examples IIRC.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Fri Jan 06, 2006 11:09 pm    Post subject: Reply with quote

This part of this thread has been locked.
Please, follow up to Part 2: Get help on partitioning here [Part 2]
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3 ... 9, 10, 11
Page 11 of 11

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum