PDA

View Full Version : Suggestions for the Edgy Installer


Corey
June 9th, 2006, 03:31 AM
I recently did a clean install of Dapper from the LiveCD installer. The Live CD installer is fantastic and much better in the official release than in the buggy flights and betas. It makes installing linux easier for people who have done it before and understandable for everyone. After (and during know that I think about it) the install I found myself doing some "tricks of the trade" that i believe to be critical. I learned linux first with mandrake (back when it was mandrake) then with debian and gentoo, and finally Ubuntu Hoary. Over the years I picked up these install tricks that have made my life in linux much better. These tricks are relatively common. I'm sure most of the readers of this thread at least knows of most of them if not uses all of them. However Ubuntu is more and more targeted to total linux n00bs and to them these tricks are as foreign as Aramaic. I believe they should be integrated into the installer, or at least the installer should inform the users of these tweaks.

After a clean install of dapper, the very first thing I do is install the i686 or K7 kernel. I've never had any trouble with the official kernel packages for any architecture I've tried. I havn't tried SMP or 64bit yet, just because I havn't gotten my hands on those CPUs. Why not make the installer detect your CPU before installing any kernel and then install the appropriate kernel. It would cut out a step for people like me and provide the n00b audience with slightly better performance.

Partitioning is a daunting task even for people who know what they are doing. It appears that the live CD makes 2 partions by default and oddly the 2nd one is an extended partition. I always manually edit my partition table and ususally make 4 partitions unless I have a seperate HDD full of extra data or something. My setup generally looks like this:

/hda1 around 32mb /boot partition. Usually ext2
/hda2 2 X how ever much ram I have Linux-Swap
/hda3 around 10-15 gigs root partition.
/hda4 Whatever is left for /home. I also add user_xattr for beagle to kick ***!

I picked up putting /boot and swap in the front of the drive from my gentoo days. Little ricer showin though, but its wise to keep /boot seperate (especially if you have to patch your kernel and you never know if that need may arise) and it might as well be in the front. Its also wise to put swap up front. This placement will only provide slight performance games but it "makes sense"

Making /home a seperate partion isn't a performance tweak its a big convinience tweak. If ever you have to re-install you will be thanking the dear lord that you had the foresight to move you /home to a seperate partition. It can be difficult to gauge how many gigs to dedicate to / and how many to /home but HDDs are big these days and I never seem to exceed 15gigs of software so I leave that much for / and the rest to home. n00bs could seriously benefit from this since trick. I did the most damage to my filesystem when I was a linux n00b looking for the C:\Program Files\ equivalent and messing with .conf files I shouldn't be touching.

Gparted should definetly default to a boot and swap in the front. Boot being around 32M and Swap could programmatically be set to 2XRam. A seperate /home partition with user_xattr would be a great default setting as well.

What do you all think about these suggestions for the edgy installer. Do you have other install tricks up your sleeves as well?

henriquemaia
June 9th, 2006, 04:27 AM
I like the specific kernel detection idea. The separate home partition is a must (for me, of course). It would be nice if the installer proposed that to newbie. It will pay off later.

Bou
June 9th, 2006, 04:34 AM
The separate home partition is a must (for me, of course).

Me too, Dapper's installer is really user friendly now, but everytime I suggest one of my friends how to install Dapper it hurts me not being able to tell them to install /home in a different partition, 'cause most of them don't know what /home (or even what a partition) is and it could lead them to think that they don't understand dapper, and discourage them from installing it at all.

Think we should place a spec about this or something?

EDIT: done

https://launchpad.net/distros/ubuntu/+spec/better-installer-settings

Hope Corey doesn't mind me copying what he wrote.

garba
June 9th, 2006, 05:56 AM
I agree, people should be made aware of how convenient having a separate personal data dir (home) is

rcarring
June 9th, 2006, 09:05 AM
Maybe it makes sense to do this sort of partitioning scheme on a clean install using the whole hard disk, but not in a dual boot situation, where you are trying to create a "shared" partition for data between Windows and Ubuntu.

Newbie users rarely wipe their whole drive and kill off Windows, if they do they are either brave or just foolhardy. The latter comment is predicated on them repartitioning then realizing they haven't backed up all their data files....

On my setup, my /home directory is in the same partition as /root and the boot files. I have a Documents folder on my desktop, and that's the folder I backup when reinstalling. OK, I should backup my config files, but I never see the point.

Dryer Lint
June 9th, 2006, 09:19 AM
I like the ideas so far (autmatic kernel selection, option for /home partition).

Also, partitioning has to be made even easier, IMO.

Another thing that really should be added to the installer is the option to add users during the installation.

.t.
June 9th, 2006, 02:23 PM
I just wish I could have hundreds of primary partitions. I loath extended! I have my setup like this, but it's not ideal:

/dev/sda1 ReactOS/boot - fat32 (5GiB)
/dev/sda2 Linux/root - reiserfs (15GiB)
/dev/sda3 Linux/home - reiserfs (19GiB)
/dev/sda4 Linux/swap - swap (1GiB)

I also need a bigger hd...

Anthem
June 9th, 2006, 04:10 PM
As long as we're wish-listing for the installer, how about an automatic NTFS re-sizing?

Other distros have had this since what, 2001?

dori
June 9th, 2006, 04:28 PM
I have windows on my old PATA hd And kubuntu on my new SATA hd and I have SATA hd first in my boot order but kubuntu installer installs grub on my old hd so I have to reinstall grub manually installation.

henriquemaia
June 10th, 2006, 04:55 AM
As long as we're wish-listing for the installer, how about an automatic NTFS re-sizing?

Other distros have had this since what, 2001?

I don't know if that's possible or not (I never have used it), but if the installer doesn't do this, I totally agree with you. This is also a must have feature for the installer.

jc87
June 10th, 2006, 01:15 PM
Why not make the installer detect your CPU before installing any kernel and then install the appropriate kernel. It would cut out a step for people like me and provide the n00b audience with slightly better performance.

I already made a similar sugestion here (http://www.ubuntuforums.org/showthread.php?t=193576) , feel free to contribute.