You are not logged in.

#1 2004-03-26 05:58:36

Xenon
Member
Registered: 2004-03-24
Posts: 14

Correctly setting up mountpoints

Me again  smile . It's a different computer this time. It's a dual booting laptop. It has Win and another Linux on it right now. I'm looking to replace the distro that's on there right now with Arch, and keep the Windows parition at the same time.

Here's what cfdisk says the disk looks like right now:

disc 1   NTFS
disc 2   Linux ext3   /boot
disc 3   Linux ext3   /
disc 5   Linux swap

That "5" is not a typo. IIRC, disc4 is an extended partition and that's why it's not showing up.

So, I skip Prepare Harddrive and Partition Harddrives, and go straight to Set SF Mountpoints.

Now I get some options when I'm told to set the swap:

/dev/discs/disc0/part1
/dev/discs/disc0/part2
/dev/discs/disc0/part3
/dev/discs/disc0/part4
/dev/discs/disc0/part5

Should I just go ahead and pick /dev/discs/disc0/part5? I guess the naming convention is throwing me, because cfdisk calls them discs and archsetup calls them partitions, so I just want to be sure I'm getting this right...

Offline

#2 2004-03-26 14:09:45

Xenon
Member
Registered: 2004-03-24
Posts: 14

Re: Correctly setting up mountpoints

Ok, couple more questions.

Which one of those discs I had listed above would I pick for "/" and which one for "root"?

In my first table, the disc that's "boot" is the super small partition that it's booting from, and the one that's "/" is the biggest partition where all of the rest of the data is. So in this case, "root" and "boot" would be the same thing?

Offline

#3 2004-03-26 15:24:12

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

Re: Correctly setting up mountpoints

Xenon wrote:

Ok, couple more questions.

Which one of those discs I had listed above would I pick for "/" and which one for "root"?

In my first table, the disc that's "boot" is the super small partition that it's booting from, and the one that's "/" is the biggest partition where all of the rest of the data is. So in this case, "root" and "boot" would be the same thing?

I reckon that you want to config grub..

you want to set

root (hd0,0)

to the first row in menu.lst and

kernel (hd0,0)/vmlinuz26 root=/dev/discs/disc0/part3 

to the second row.

To my knowledge the first occurrance of "root" tells grub in what partition your kernel & grub are and the second occurrance of "root" is where your mount point for / is.

.murkus

Offline

#4 2004-03-26 16:23:55

Xenon
Member
Registered: 2004-03-24
Posts: 14

Re: Correctly setting up mountpoints

Thanks, but I haven't gotten to that part yet big_smile. I'm still at Setting Filesystem Mountpoints. I'm trying to figure out which partitions to set as swap, root, and /. I'm pretty sure that I want to set the 5th partition as swap.

Now that leaves root and /. These are my two options:

disc 2   Linux ext3   /boot   (this is about 32mb)
disc 3   Linux ext3   /         (entire rest of the partition)

The naming convention is what's throwing me off. So from reading your post, the first root should be what grub and the kernel's on. That would be what's currently /boot?

Offline

#5 2004-03-26 16:45:34

normnmiles
Member
From: /US/IL
Registered: 2004-03-20
Posts: 64

Re: Correctly setting up mountpoints

mount /dev/discs/disc0/part3 /mnt   #mount root
mkdir /mnt/boot
mount /dev/discs/disc0/part2 /mnt/boot  #mount boot
swapon /dev/discs/disc0/part5

/etc/fstab
/dev/discs/disc0/part3 / ext3 defaults 0 0
dev/discs/disc0/part2 /boot ext3 noauto 0 0
/dev/discs/disc0/part5 swap swap defaults 0 0

HTH
--
joseph

Offline

#6 2004-03-26 17:10:29

jlowell
Member
Registered: 2003-08-10
Posts: 270

Re: Correctly setting up mountpoints

Xenon,

You've got things confused here, I believe. / and root are really the same thing for this purpose, you're not trying to arrange for a /root partition. When the installation calls for swap, which, if I recall, is first in order, select part5, for /boot select part2 and for / select part3.

jlowell

Offline

#7 2004-03-26 19:18:50

Xenon
Member
Registered: 2004-03-24
Posts: 14

Re: Correctly setting up mountpoints

Unfortunately, it's not giving me an option to mount a boot partition. I get these instructions:

1) Select the parition to use as swap

I picked part5.

2) Select the parition to use as /

I'm not sure what to pick here.

3) Select any additional partitions to mount under your new root.

Offline

#8 2004-03-26 19:31:49

normnmiles
Member
From: /US/IL
Registered: 2004-03-20
Posts: 64

Re: Correctly setting up mountpoints

2) Select the parition to use as /

/dev/discs/disc0/part3

3) Select any additional partitions to mount under your new root.

/dev/discs/disc0/part2

- select (type)  mount point

/boot

FYI, you can also premount the partitions before you run setup and skip that menu option. Arch/setup installs to /mnt as the / of the new system.

Offline

#9 2004-03-26 20:02:08

Xenon
Member
Registered: 2004-03-24
Posts: 14

Re: Correctly setting up mountpoints

normnmiles, you're amazing  big_smile . That's exactly what I was looking. Aside from a little Grub configuring mishap (my fault), it worked like a charm.

Offline

Board footer

Powered by FluxBB