We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Ubuntu wireless problem
Comments
-
Crispy_Ambulance wrote: »I have no idea if I have /home on a separate partition - how do I check? (sorry if this question makes me sound like a moron. I really am rather inexperienced with Ubuntu)
If you don't know, then you probably don't have it on a separate partition. To check, open a terminal and type in "mount | grep home" and copy and paste the output here. It should have a line like this
/dev/mapper/vg_ssd_00-home on /home type ext4 (rw)
and maybe another one if you encrypted the home folder.0 -
Hi
This is what I got - does that make any sense?
gvfs-fuse-daemon on /home/username/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=username)"Harry, I'm going to let you in on a little secret. Every day, once a day, give yourself a present. Don't plan it. Don't wait for it. Just let it happen. It could be a new shirt at the men's store, a catnap in your office chair, or two cups of good, hot black coffee."0 -
Crispy_Ambulance wrote: »Hi
This is what I got - does that make any sense?
gvfs-fuse-daemon on /home/username/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=username)
Kind of, it means if you only got this line then you don't have a separate home partition. So before you delete the old partition, you should backup all your documents or the whole folder /home/username to be safe. To see all "hidden" files and folders starting with a dot you need to press CTRL+H while in your home folder.
Then delete the old partition (double or even triple check before) and resize the new partition.0 -
Kind of, it means if you only got this line then you don't have a separate home partition. So before you delete the old partition, you should backup all your documents or the whole folder /home/username to be safe. To see all "hidden" files and folders starting with a dot you need to press CTRL+H while in your home folder.
Then delete the old partition (double or even triple check before) and resize the new partition.
Thanks - I guess I need to create a home partition after I've sorted this out. I got gparted and opened it up - problem is, I'm not sure which partition is which OS. The ntfs one is Windows XP (I presume) but the others are a mystery. Do you know how I can work out which is which?"Harry, I'm going to let you in on a little secret. Every day, once a day, give yourself a present. Don't plan it. Don't wait for it. Just let it happen. It could be a new shirt at the men's store, a catnap in your office chair, or two cups of good, hot black coffee."0 -
Crispy_Ambulance wrote: »Thanks - I guess I need to create a home partition after I've sorted this out. I got gparted and opened it up - problem is, I'm not sure which partition is which OS. The ntfs one is Windows XP (I presume) but the others are a mystery. Do you know how I can work out which is which?
Please boot into the new Ubuntu (the one you want to keep) and post the output of
andsudo fdisk -lmount0 -
Here you go:
everyone@everyone-desktop:~$ sudo fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc7b3c7b3
Device Boot Start End Blocks Id System
/dev/sda1 * 1 4496 36114088+ 7 HPFS/NTFS
/dev/sda2 4497 14593 81104152+ 5 Extended
/dev/sda5 7861 14408 52596778+ 83 Linux
/dev/sda6 14409 14593 1485981 82 Linux swap / Solaris
/dev/sda7 4497 7715 25856554+ 83 Linux
/dev/sda8 7716 7860 1164681 82 Linux swap / Solaris
Partition table entries are not in disk order
everyone@everyone-desktop:~$ mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/everyone/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=everyone)
everyone@everyone-desktop:~$"Harry, I'm going to let you in on a little secret. Every day, once a day, give yourself a present. Don't plan it. Don't wait for it. Just let it happen. It could be a new shirt at the men's store, a catnap in your office chair, or two cups of good, hot black coffee."0 -
Sorry, have to leave to watch the match now. Back later or tomorrow...0
-
Crispy_Ambulance wrote: »/dev/sda1 * 1 4496 36114088+ 7 HPFS/NTFS
/dev/sda2 4497 14593 81104152+ 5 Extended
/dev/sda5 7861 14408 52596778+ 83 Linux
/dev/sda6 14409 14593 1485981 82 Linux swap / Solaris
/dev/sda7 4497 7715 25856554+ 83 Linux
/dev/sda8 7716 7860 1164681 82 Linux swap / Solaris
Partition table entries are not in disk order
everyone@everyone-desktop:~$ mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
...
Ok, here we go. Before we start, double check if you really booted the Ubuntu you want to keep when you got this output. It shows that /dev/sda5 is mounted on your root directory. So sda5 we want to keep and sda6 (the corresponding swap partition). Did you make a backup of your home folder (including hidden files) to an external drive?
Before you start, can you boot the new Ubuntu again and post the content of /etc/fstab/?cat /etc/fstab0 -
Here you go:
everyone@everyone-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda5 during installation
UUID=874cdf7c-f13a-41ba-b988-6b3d310f01da / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=3ab17edb-9cce-4c45-87e2-93c15f1778e2 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
everyone@everyone-desktop:~$
Might not be around tonight to proceed much further, but should be able to carry on tomorrow. Thanks for your time, btw, much appreciated."Harry, I'm going to let you in on a little secret. Every day, once a day, give yourself a present. Don't plan it. Don't wait for it. Just let it happen. It could be a new shirt at the men's store, a catnap in your office chair, or two cups of good, hot black coffee."0 -
Ok, let's start. Boot your PC with the LiveCD and start the Partition Editor (gparted). Do not touch sda1 as this is your Windows. Delete sda7 and sda8 (both are physically between sda1 and sda5) and resize sda5 to the maximum available space.
DO NOT RESTART YET! (Edit: Actually you could restart and see if everything works already. If not, boot from the LiveCD again and proceed with the things below)
Post here again the output of
andsudo fdisk -l
It might be possible that the device names and/or the corresponding UUID's have changed and you would not be able to boot your Ubuntu. In this case we have to amend your /etc/fstab before rebooting. But don't be too worried, everything can be fixed with the rescue mode of the LiveCD unless you delete the wrong partition of course. But even in this case we could just reinstall Ubuntu since you have a backup of your files.sudo blkid0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 352.5K Banking & Borrowing
- 253.7K Reduce Debt & Boost Income
- 454.5K Spending & Discounts
- 245.5K Work, Benefits & Business
- 601.5K Mortgages, Homes & Bills
- 177.6K Life & Family
- 259.5K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards