Re: Old Kernels . . .(never die!)
On Fri, 2009-01-02 at 08:57 +1100, Andre Mangan wrote: 3. How would I go about deleting them? You can either open the boot menu (sudo gedit /boot/grub/menu.lst) and alter the number of displayed kernels to 2 rather than the default of All (this will not remove anything but merely remove them from display) or you can install-StartUp Manager (sudo apt-get install startupmanager) which will give you a GUI. Thanks Andre. I did this, both ways (to be sure! to be sure!). However, upon re-boot the old Kernels, all the way back to ver #16 still displays. Do I presume, therefore that this will only take effect in future? So I'm left with the original problem. How to get rid of the listing upon boot up? While you are there, in either method, you can also shorten the boot delay time from the default 10 seconds to (say) 3 seconds. Noted. Andre ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au -- ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au
Re: Old Kernels . . .(never die!)
2009/1/3 The Wassermans dw...@optusnet.com.au On Fri, 2009-01-02 at 08:57 +1100, Andre Mangan wrote: 3. How would I go about deleting them? You can either open the boot menu (sudo gedit /boot/grub/menu.lst) and alter the number of displayed kernels to 2 rather than the default of All (this will not remove anything but merely remove them from display) or you can install-StartUp Manager (sudo apt-get install startupmanager) which will give you a GUI. Thanks Andre. I did this, both ways (to be sure! to be sure!). However, upon re-boot the old Kernels, all the way back to ver #16 still displays. Do I presume, therefore that this will only take effect in future? So I'm left with the original problem. How to get rid of the listing upon boot up? Sorry, I forgot to mention that altering the /boot/grub/menu.lst to display less kernels than the default All only takes effect after the next kernel update. Making any changes in the StartUp-Manager I thought to become effective immediately. Andre While you are there, in either method, you can also shorten the boot delay time from the default 10 seconds to (say) 3 seconds. Noted. Andre ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au -- ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au
Re: New partition
Hi Simon, Have you installed the drive yet? Specifically, what device does it come up as? To list available disks, use.. # fdisk -l It should be something like /dev/sdb The steps to setup what you're after are: 0. Partition new drive (fdisk /dev/sdb) 1. Format new drive (mke2fs) 1a. Adjust filesystem parameters (tune2fs) 2. Mount drive in a temporary location (/mnt/sdb1) 3. Copy /home (tar cf - -C /home . | tar xpf - -C /mnt/sdb1) 4. Remount disk at /home (umount /mnt/sdb1; mount /dev/sdb1 /home) 5. Make mounting automatic.. edit '/etc/fstab' A couple of tips: - Enable root logins before testing. (Add a root password) - When happy, login as root, unmount /home and delete any of the unwanted data in the mow hidden /home When you're happy that you've done everything correctly, you can disable root logins. Ann alternative, which I feel works better.. skip step 4, and remount the new disk at /users, (or some other new location) then edit /etc/password to make the users's home directory to be '/users/username' rather than '/home/username'. This has the benefit of keeping everything accessible, and obvious, particularly is anything should go wrong. Cheers, Paul On Sat, Jan 3, 2009 at 5:04 PM, Simon Ives si...@simonives.info wrote: I've just purchased a new hard drive that I would like to have contain my /home directory. How do I go about migrating my current /home directory to the new partition so that my system will recognise the new /home directory on the new partition as the only /home partition and automount the new partition on Boot? Thanks. -- Simon Ives si...@simonives.info www.simonives.info Please consider the environment before printing this email or any attachments. -- ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au -- ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au
Re: New partition
On Sat, 3 Jan 2009 17:35:19 +1030 Paul Schulz p...@mawsonlakes.org wrote: Hi Simon, Hi both. I'd start by logging in as root (naughty on Ubuntu perhaps, but means your not accessing files in your users ~ while doing all this stuff). Have you installed the drive yet? Specifically, what device does it come up as? To list available disks, use.. # fdisk -l It should be something like /dev/sdb The steps to setup what you're after are: 0. Partition new drive (fdisk /dev/sdb) This is optional for most operations (Linux can read the device raw), but required if you want to access the data from another OS. 1. Format new drive (mke2fs) I'd go with `mkfs.ext3` 1a. Adjust filesystem parameters (tune2fs) I usually skip this (but if you need special setups you'll want to do it) 2. Mount drive in a temporary location (/mnt/sdb1) 3. Copy /home (tar cf - -C /home . | tar xpf - -C /mnt/sdb1) `rsync -av /home/* /mnt/sdb1` would be another option 4. Remount disk at /home (umount /mnt/sdb1; mount /dev/sdb1 /home) Before doing this you might want to consider removing all the data currently in /home/ If you leave it all there, you gain no space on your existing filesystem from adding the new drive. 5. Make mounting automatic.. edit '/etc/fstab' A couple of tips: - Enable root logins before testing. (Add a root password) You can boot into root without a password from GRUB iirc. - When happy, login as root, unmount /home and delete any of the unwanted data in the mow hidden /home I do this further up, but this is probably safer. When you're happy that you've done everything correctly, you can disable root logins. Ann alternative, which I feel works better.. skip step 4, and remount the new disk at /users, (or some other new location) then edit /etc/password to make the users's home directory to be '/users/username' rather than '/home/username'. IMHO, for a single (or even multi user) desktop, changing /home/ makes more sense then fiddling the configs like this. kk This has the benefit of keeping everything accessible, and obvious, particularly is anything should go wrong. Cheers, Paul -- Karl Goetz, (Kamping_Kaiser / VK5FOSS) Debian user / gNewSense contributor http://www.kgoetz.id.au No, I won't join your social networking group -- ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au