Prev: How do I make resize my /'s /boot partition for more free disk space?
Next: Where is Bluetooth installation coming from and how can I removeit from my old Debian box? (chkconfig)
From: Ant on 26 Feb 2010 21:24 On 2/26/2010 11:17 AM PT, unruh typed: > You erase or move out everything that is currently in /others. It is now > an empty partition. I don't need to worry about /others: $ ls -all /others total 3 drwxr-xr-x 3 root root 1024 2008-09-15 13:23 . drwxr-xr-x 25 root root 1024 2010-01-22 10:51 .. drwx------ 2 root root 1024 2008-12-28 20:56 lost+found > Now you copy > rsync -avx / /others FYI: sent 145432844 bytes received 109337 bytes 3064045.92 bytes/sec total size is 145026949 speedup is 1.00 I thought we're only copying /boot stuff and not everything in root (/). /sbin, /storage, /tmp, /srv, /sys. /root, /etc, /usr, /var, etc. were copied as well. > Now, go to /others/etc/fstab and edit it and change the line that looks > something like > /dev/hda1 / ext3<whatever> 1 1 > to > /dev/hda11 / ext3<whatever> 1 1 > and put a # at the start of the line which contains > /dev/hda11 /others .... > > Now you edit the grub.conf file, or whatever debian uses to set up the > grub, and put in a new entry for booting from /dev/hda11 instead of > from /dev/hda1 > > (I hope I remember correctly that at present /others is on /dev/hda11) > > Now you test your system to see if it boots from the new entry in the > menu list. > > If it works, you can remove the old entry, edit the new grub and > reinstall it (I do not know grub as I use lilo, so you will have to get > someone else to correct my errors) OK, I am going to wait and see if others can pitch in on Grub2. Why still using old Lilo? :D -- "Size isn't everything. The whale is endangered, while the ant continues to do just fine." --Bill Vaughan /\___/\ / /\ /\ \ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links: http://aqfl.net \ _ / Nuke ANT from e-mail address: philpi(a)earthlink.netANT ( ) or ANTant(a)zimage.com Ant is/was listening to a song on his home computer: ABBA - Dancing Queen (X-Mix)
From: Ant on 26 Feb 2010 21:24 > Oops it was hda12, not hda11, so change all hda11 to hda12 Acknowledged. :) -- "Busy as ants hurrying orcs were digging, digging lines of deep trenches in a huge ring, just out of bowshot from the walls;" --The Return of the King (book) /\___/\ / /\ /\ \ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links: http://aqfl.net \ _ / Nuke ANT from e-mail address: philpi(a)earthlink.netANT ( ) or ANTant(a)zimage.com Ant is/was listening to a song on his home computer: Kraftwerk - The Model (Musicfactory Mastermix)
From: Ant on 26 Feb 2010 21:26 On 2/26/2010 11:44 AM PT, Pascal Hambourg typed: >> It looks like installing linux-image-2.6-686 >> package will overwrite my current running 2.6.30-2-686 package. > > It won't. These are different packets anb they cannot overwrite each > other. It will just install the new 2.6.32 kernel. Ah. >> # apt-get install linux-image-2.6-686 >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following extra packages will be installed: >> libc6-i686 linux-image-2.6.32-trunk-686 >> Suggested packages: >> linux-doc-2.6.32 >> The following NEW packages will be installed: >> libc6-i686 linux-image-2.6.32-trunk-686 >> The following packages will be upgraded: >> linux-image-2.6-686 >> 1 upgraded, 2 newly installed, 0 to remove and 126 not upgraded. > > See : 0 to remove. Ah good catch. I didn't notice that. Still have a free disk space issue for it though. :( >> Need to get 27.5MB of archives. >> After this operation, 78.7MB of additional disk space will be used. > > Note that you will need some extra space for the initramfs. Yeah, that's a problem that I am trying to resolve or else I am stuck with 2.6.30 foreve. :D -- "We are anthill men upon an anthill world." --Ray Bradbury /\___/\ / /\ /\ \ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links: http://aqfl.net \ _ / Nuke ANT from e-mail address: philpi(a)earthlink.netANT ( ) or ANTant(a)zimage.com Ant is/was listening to a song on his home computer: Kraftwerk - The Model (Musicfactory Mastermix)
From: Ant on 26 Feb 2010 21:29 On 2/26/2010 2:47 AM PT, GangGreene typed: >>> Do you have a few old kernels you could flush? That could help. >> >> Nope, all purged. Only 2.6.32 installed. > > What kernel are you running now 2.4 or 2.6? Dang it, I meant to say I have and running 2.6.30-2 (uname -a showed: "Linux ANTian 2.6.30-2-686 #1 SMP Fri Dec 4 00:53:20 UTC 2009 i686 GNU/Linux"). 2.6.32 is the one I want to install/add or overwrite 2.6.30 with, but can't with the free disk space in / partition. Sorry about that! I was up too late. :( > I hope your not trying to put a 2.6 kernel on a mchine that is currently > running a 2.4 kernel. That's just begging for trouble. Nope, 2.4 is way too old. -- "Oh, look what Kyle got me, it's a red Mega... Ants in the pants? Ants in the pants?! Ants in the Pants?!! ..." --Eric Cartman in South Park's Damien Episode (Season 1; Episode 8) /\___/\ / /\ /\ \ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links: http://aqfl.net \ _ / Nuke ANT from e-mail address: philpi(a)earthlink.netANT ( ) or ANTant(a)zimage.com Ant is/was listening to a song on his home computer: Kraftwerk - The Model (Musicfactory Mastermix)
From: Ant on 26 Feb 2010 21:31
On 2/26/2010 2:44 AM PT, GangGreene typed: > Of course you don't. > Just _LOOK_ at your data that you posted. > > Look at your /etc/fstab. > > /dev/hda1 is the partition that your root fiesystem is mount on...not your > boot partition. > > Your boot is just a directory in the root filesystem mounted on > the /dev/hda1 partition. > > If your boot was on a partition it you would have a small partition of 128MB > or less ( I use 52MB ), mounted at /boot in /etc/fstab, although the boot > partition really doesn't need to be mounted. Oh, disk partitions/setups are confusing. :) FYI: $ cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda1 / ext3 defaults,errors=remount-ro 0 1 /dev/hda5 /home ext3 defaults 0 2 /dev/hda6 /usr ext3 defaults 0 2 /dev/hda7 /var ext3 defaults 0 2 /dev/hda8 /tmp ext3 defaults 0 2 /dev/hda9 /usr/local ext3 defaults 0 2 /dev/hda10 none swap sw 0 0 /dev/hda11 /extra ext3 defaults 0 2 /dev/hda12 /others ext3 defaults 0 2 /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 /dev/sda1 /mnt/usb-flash vfat noauto,users,umask=000 0 0 none /proc/bus/usb usbfs devgid=46,devmode=664 0 0 -- "To the ant, a few drops of dew is a flood." --Iranian /\___/\ / /\ /\ \ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links: http://aqfl.net \ _ / Nuke ANT from e-mail address: philpi(a)earthlink.netANT ( ) or ANTant(a)zimage.com Ant is/was listening to a song on his home computer: Crush - Fitch Bros. (Club Mix) |