You are not logged in.
Pages: 1
I have a 250gb hdd and let's say i would like to partition it something like : sda1 25gb, sda2 20gb, sda3 5gb, sda4 200gb.
Now, i would like to use sda1 for windows, sda2 for arch, sda3 for swap and sda4 for data. Is it possible to have a mountpoint like /home/x/ to sda4 even though the user 'x' it's not created?
And about Grub, i would like to use an usb stick to store the bootloader in it and when im booting from usb the bootloader to appear otherwise if the stick it's not in the usb the system would boot the partition with the 'boot' flag. I tried to set /boot/ as a mountpoint for the usb stick and install Grub on it, but it doesn't work, is it possible to do this?
Offline
absolutely! just mount it whereever you wish to through /etc/fstab. However, I don't think you do have to have a user specific mount point lik /home/xuser, since you can only create users not user partition. You can therefore create a directory at /home and mount it.
Yes it's possible, try experimenting with the arch installer usb image, it has grub by default. If you dd the usb stick, you can remove the files you don't want, or you can change the image and dd it then.
Last edited by ahcaliskan (2009-01-31 22:00:05)
Offline
Ok tks for the fast reply.
One more thing ,if my hard would be sdb, having a /boot/ folder on sdb2 wouldn't it trigger the bootloader anyway? or it shouldn't if the mbr it's not written with grub? (correct me if im wrong or tell me if you don't understand what i'm asking)
Offline
I believe you have a clear idea of how to partition your hdd, and as long as you use grub on MBR for the entire hdd(/dev/sdb), you can have your /boot partition in any partition you like. However, windows or need to be primary and installed at the first partition.
Last edited by ahcaliskan (2009-01-31 22:21:49)
Offline
My bad, I think i didn't explained well.
I was trying to say that if I dd the arch image to the usb stick and I don't install the Grub on the hdd, I will be booting the OS i like only with the image written on the stick (even though there is a /boot/ folder on one of my partitions containing Grub) , right? Otherwise whenever i start the PC it will boot the OS flagged with 'boot' in cfdisk and Grub will not appear right?
Offline
well, making a partition bootable or not isn't that much a big deal when using grub, perhaps it's important for other OS with a bootloader installed at MBR, but with linux I think it doesn't matter. As long as grub refers to the boot partition with your usb stick, you'll be able to boot that partition you like. I believe that you need to have the specific partition's vmlinuz26 and kernel26.img on the usb stick. Example:
title Arch Linux (hdd)
root (hd1,1)
kernel /boot/vmlinuz26 root=/dev/sdb2 ro
initrd /boot/kernel26.img
It's kind of RAID boot system, you have to have a BIOS settings that detects your usb and hdd.
Last edited by ahcaliskan (2009-01-31 23:01:08)
Offline
Ok, tks for everything . You cleared some things out.
Offline
Pages: 1