FS#6201 - 0.8 Install suggestions for forward compatibility
Attached to Project:
Arch Linux
Opened by Christ Schlacta (aarcane) - Friday, 12 January 2007, 10:17 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 18 July 2008, 15:51 GMT
Opened by Christ Schlacta (aarcane) - Friday, 12 January 2007, 10:17 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 18 July 2008, 15:51 GMT
|
Details
0.8 install uses /dev/[hs]d*. this is fine, but I think as
soon as possible, it should switch to using
/dev/disk/by-label or /dev/disk/by-uuid.
this article contains reasons to support doing this http://wiki.archlinux.org/index.php/Persistent_block_device_naming I also think the install disks should considder defaulting to using LVM. it would solve alot of issues users are having, AND! grub supports /, /boot on an LVM volume now :) |
This task depends upon
Closed by Aaron Griffin (phrakture)
Friday, 18 July 2008, 15:51 GMT
Reason for closing: Won't implement
Additional comments about closing: The installer uses UUID's now. If you want to use LVM, do it yourself at install time
Friday, 18 July 2008, 15:51 GMT
Reason for closing: Won't implement
Additional comments about closing: The installer uses UUID's now. If you want to use LVM, do it yourself at install time
I've started using persistant block device naming everywhere. Even on my hdparm calls on boot, as my IDE hdd and DVD Burner tend to swap around.
Makes my fstab and partitions a helluva lot easier to work with too!!
/dev/disk/by-label/root / ext3 rw,noatime 0 1
/dev/disk/by-label/home /home ext3 rw,noatime,data=journal 0 2
/dev/disk/by-label/games /home/iphitus/games ext3 defaults 0 2
/dev/disk/by-label/wingames /home/iphitus/games/win vfat rw,users,umask=000 0 0
/dev/disk/by-label/var /var reiserfs defaults 0 2
/dev/disk/by-label/backup /var/backup ext3 defaults 0 2
/dev/disk/by-label/media /home/iphitus/media ext3 defaults 0 2
/dev/ipod /media/ipod vfat rw,users,umask=000 0 0
James
Maybe defer this (very good, IMNSHO!) idea to a 0.8.1 release, and right now include the lvm toolset in the installation environment, so that people can manually create LVM volumes?
I would then go the extra mile of adding a brief section on how to manage LVM during install to the installation guide. Using labels is basically possible already, albeit it involves setting them and adapting the fstab manually. Again, modifying the installer accordingly to allow for menu-driven label management should, IMO, be deferred until another release, unless tpowa or anyone else hacking on setup can't keep his fingers by himself. ;)
BTW, iphitus, is there a pressing reason why you don't use LABEL=root, etc. in your fstab? Just curious.
JFTR, I think label support in the installer would indeed ease the PATA transition considerably (which is a b*tch to properly explain, too), and would be well worth implementing for 0.8. See related task #6106.
Labelling wouldnt be too difficult to setup in the installer. it's just a matter of adding an extra question to making the filesystem, and then have the generated fstab use labels if available. Then we could look at an extra menu to label existing filesystems.
James
as for prompting the user to set lables, I think a new menu item for this would be best, below the "return to main menu" you could add "Customize filesystem labels" since it wouldn't be essential, unless you intend to add vfat to the installer, which requires you to label it at creation time unless you have a windows machine to change the label.
echo 'drive c: file="/dev/sda7"' > /tmp/mtools.conf
MTOOLSRC=/tmp/mtools.conf mlabel c:new_label