I messed up mounting a usb ext4 harddisk
#1
I connected an ext4 formatted 2TB harddisk today to XBMC live. I am pretty much a linux noob but found some guides here.

i started off with:

Code:
sudo blkid
to list the drives. I found /dev/sdb2 to be ext4 so I guessed that was the one.

I proceeded with
Code:
sudo mount -t ext4 /dev/sdb2 wd2tb
I then editted fstab and ran
Code:
sudo mount -a

As it didnt work I switched to a different guide here:
http://forum.xbmc.org/showthread.php?tid=66534

I ran the guide and replaced the fstab entry with this id:
/dev/sdb2: UUID="9943d0fb-d9fc-4bd6-b3e1-533afd4b35f9" TYPE="ext4"
In the format given in that guide:
Code:
UUID=9943d0fb-d9fc-4bd6-b3e1-533afd4b35f9 /home/xbmc/wd2tb ext4 defaults,errors=continue 0 0


I rebooted, and when I open filezilla on my desktop pc (windows), I now clearly see a folder called wd2tb but when I open it it has a lot of folders like floppy and sys, so I think I somehow linked it to my internal harddisk.

I'd appreciate any help to clean up this mess and get it mounted. I stored all my key input but don't know what else to mention first.

When I FTP into the asrock system and brows wd2tb I seeImage

sudo blkid now gives
Code:
/dev/sda1: UUID="c7ff4d95-b118-420b-bdd0-78f8243723f4" TYPE="ext4"
/dev/sda5: UUID="31f07ffb-23c2-489e-8c91-3ddcc91f31bc" TYPE="swap"
/dev/sdb2: UUID="9943d0fb-d9fc-4bd6-b3e1-533afd4b35f9" TYPE="ext4"
/dev/sdb3: UUID="dc232e9d-5659-41d8-83a9-74a67af61175" TYPE="swap"
xbmc@dhcppc3:~$
Reply

Logout Mark Read Team Forum Stats Members Help
I messed up mounting a usb ext4 harddisk0