Thread: Moving / to a new partition (I'm at my wit's end)
i'm running kubuntu 10.04 lts , had partition system / primary partition of 8 gb size , /home on separate, larger extended partition, swap located. unfortunately /usr on primary partition, full , i'm struggling keep system together.
decided on simple/-ish solution, of "hey! if buy 30 gb ssd-drive , move root directory , swap there , have system that's heck of lot faster!"
did not want install linux again, preserve data in /usr, since have software i've paid , wouldn't wish reinstall everything. grantedly, "if else fails" option.
cloned root partition clonezilla ssd drive - primary partition in ext4 format extended partition in ext4 format (so might have option of resizing partition later on if required) on ssd drive. after couple of initial hiccups, went , can mount partition fine. fstab automatically created , used uuid:s (and clonezilla cloned uuid, found out after reboot - had problems stating used drive space, gparted fixed problem promptly), had change uuid on new partition.
no problems again.
so. knew had install grub on boot sector of ssd drive (done without problems), edit fstab match new boot sector.
so, checked new uuid blkid , edited fstab (for both old boot partition , new one, make on safe side). did first in uuid format, , lo! new swap works brilliantly on ssd drive (yup, faster is!) , mounted properly, but, root system still used old drive - gparted tells me old partition mounted , new 1 isn't. yes, can mount , access manually without problems).
ok, tried without uuid's. same result. system boots ok, mounts wrong root directory. no matter changing fstab on both partitions. yes, bios set start new partition, grub installed (and edited) on new partition , changes (i use grub customizer gui, since don't understand grub 2 well) show on splash screen.
seems system boots on ssd drive, uses grub configuration stored there, accepts change in swap drive in fstab, blatantly refuses acknowledge / drive.
for reference, here's blkid result:
/dev/sda5: uuid="ffbe44bc-009c-4f35-b15d-e9eba831f395" type="ext4"
/dev/sda6: label="sdd-swap" uuid="0592f1f8-bdbc-4133-8fce-de5ac28ddc2d" type="swap"
/dev/sdb1: uuid="379f921c-8f27-44a6-9982-14318ef64bbd" type="ext4"
/dev/sdb5: uuid="c4c03399-2baa-486a-baf9-34d8b15d2a57" type="swap"
/dev/sdb6: uuid="3c9d019f-65f6-41fe-8132-3722d2472d26" type="ext4"
/dev/sdc1: uuid="e4e9d794-f617-43ad-add6-1e6c0cda3ff7" sec_type="ext2" type="ext3"
/dev/sdc5: uuid="6085c940-3552-462a-8181-043fd8d8bc43" type="swap"
/dev/sdd1: label="km-cm-$yttm-cm-6jm-cm-$rjestelmm-cm-$" uuid="b2d016ffd016c98d" type="ntfs"
/dev/sdd2: label="varasto 2" uuid="8228378128377371" type="ntfs"
/dev/sde1: uuid="6653-bb29" type="vfat"
aaand /etc/fstab:
# /etc/fstab: static file system information.
#
# use 'blkid -o value -s uuid' print universally unique identifier
# device; may used uuid= more robust way name
# devices works if disks added , removed. see fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / on /dev/sda1 during installation
#uuid=ffbe44bc-009c-4f35-b15d-e9eba831f395 / ext4 errors=remount-ro 0 1
/dev/sda5 / ext4 defaults 1 1
# /home on /dev/sda6 during installation
uuid=3c9d019f-65f6-41fe-8132-3722d2472d26 /home ext4 defaults 0 2
# swap on /dev/sda5 during installation
uuid=0592f1f8-bdbc-4133-8fce-de5ac28ddc2d none swap sw 0 0
#define mount point cdrom drives
#/dev/scd0 /media/cdrom0 auto ro,noauto,user,exec 0
#/dev/scd1 /media/cdrom1 auto ro,noauto,user,exec 0
#/dev/sr1 /media/cdrom1 iso9660 ro,nosuid,nodev,uhelper=hal,uid=1000,utf8 0 0
#usbfs virtualbox
#none /proc/bus/usb usbfs devgid=125,devmode=664 0 0
..
sda5 ssd-drive's boot partition (that not mounted @ boot, despite logic)
sda6 ssd-drive's swap (that logically mounted @ boot)
sdb1 old hdd drive's root partition (that mounted @ boot, despite logic)
sdb6 /home (that mounted @ boot)
so, please guy out here. i'm missing here , suspect grub, i'm not quite sure. fstab partially things want, not wholly. wouldn't wish install linux on again due loss of software, i'm tempted. wish understand why on earth doesn't work intend (so it's learning process - don't have computing/engineering degree , don't work in - tinkering linux more of hobby of mine).
thanks!
you try temporarily disabling sdb1 in bios , seeing if root partition boot.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [SOLVED] Moving / to a new partition (I'm at my wit's end)
Ubuntu
Comments
Post a Comment