Posts: 33
Joined: Jan 2010
Reputation:
0
I just thought of a detail that might be important:
The data drive I am using was once my main drive with Ubuntu on it AND my data......in other words, if I pull out the primary (SSD) drive right now and reboot, the machine will boot up to my old Ubuntu/Boxee install......
My idea was to simply put in an SSD and install XBMCbuntu on it and then use the former Ubuntu/Boxee for the data it contained and NOT the OS......
I'm just wondering if I am having such a hard time because the data drive was once a primary drive.....
Posts: 33
Joined: Jan 2010
Reputation:
0
Excellent! And thanks for the clarification!
/dev/sda1: UUID="24347c3c-1097-407f-95e2-cac48a5e65bd" TYPE="ext4"
/dev/sda5: UUID="1c258f3e-2145-49cf-bfeb-9eab948eb87d" TYPE="swap"
/dev/sdb1: UUID="9383a21c-4f28-4618-8e19-9a94a816d20c" TYPE="ext4"
/dev/sdb5: UUID="d42544ea-8b9d-4168-aaf7-79416063eb4a" TYPE="swap"
brw-rw---- 1 root disk 8, 0 Aug 29 17:12 /dev/sda
brw-rw---- 1 root disk 8, 1 Aug 29 17:12 /dev/sda1
brw-rw---- 1 root disk 8, 2 Aug 29 17:12 /dev/sda2
brw-rw---- 1 root disk 8, 5 Aug 29 17:12 /dev/sda5
brw-rw---- 1 root disk 8, 16 Aug 29 17:12 /dev/sdb
brw-rw---- 1 root disk 8, 17 Aug 29 17:12 /dev/sdb1
brw-rw---- 1 root disk 8, 18 Aug 29 17:12 /dev/sdb2
brw-rw---- 1 root disk 8, 21 Aug 29 17:12 /dev/sdb5
Posts: 33
Joined: Jan 2010
Reputation:
0
Here is the output from fdisk:
sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x93a993a9
Device Boot Start End Blocks Id System
/dev/sda1 * 63 1942965359 971482648+ 83 Linux
/dev/sda2 1942965360 1953520064 5277352+ 5 Extended
/dev/sda5 1942965423 1953520064 5277321 82 Linux swap / Solaris
Disk /dev/sdb: 32.0 GB, 32017047552 bytes
255 heads, 63 sectors/track, 3892 cylinders, total 62533296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006ad5a
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 58865663 29431808 83 Linux
/dev/sdb2 58867710 62531583 1831937 5 Extended
/dev/sdb5 58867712 62531583 1831936 82 Linux swap / Solaris
So wouldn't SDA1 be the drive to pick? It looks like the partition of the 1T drive with the data on it......
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
what is the output of mount?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 33
Joined: Jan 2010
Reputation:
0
I tried putting in the "9383a...." part but it didn't work.....
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
I think you are right, sda1 so try its uuid that you found from blkid.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 33
Joined: Jan 2010
Reputation:
0
2013-09-04, 01:53
(This post was last modified: 2013-09-04, 01:56 by fizzasist.)
Tried it but I get a permission denied
"-bash: /etc/fstab: Permission denied"
When I do the "sudo mount -a" I get nothing.....
Posts: 33
Joined: Jan 2010
Reputation:
0
Still nothing when I do the sudo su, then sudo mount -a
I assume that when I do the sudo echo line, I out spaces in between the parameters, i.e. ...cac48a5e65bd<space>/mnt/data<space>ext4<space>.....etc.....
Is that correct? So I am guessing that the sudo su must elevate authority?
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Don't bother with the echo thing, just edit the file with nano or whatever.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 33
Joined: Jan 2010
Reputation:
0
Ok so I've tried adding that line using spaces AND tabs and neither seems to work.....
Posts: 6,339
Joined: Jul 2010
Reputation:
116
artrafael
Team-XBMC Forum Moderator
Posts: 6,339
Please copy-and-paste the contents of your /etc/fstab file here for others to review.