/srv/irclogs.ubuntu.com/2008/07/24/#ubuntu-classroom.txt

=== tritium_ is now known as tritium
=== pleia2 changed the topic of #ubuntu-classroom to: Ubuntu Open Week is over, thanks for participating! | Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | Next Session: Monday 28th July at 14:00 UTC: MOTU School Session: Maintainer Scripts by Cesare Tirabassi
Hotkeyim in class18:22
bobertdosWe just need to work with the terminal a bit, Hotkey.18:23
HotkeyOK - did you see my last post18:23
histoSchools out for summer18:23
bobertdosyes18:23
Hotkeythat shortcut will not stay there after reboot?18:23
bobertdosThe shortcut will stay there, but if the drive isn't mounted, it will be a broken shortcut.18:24
Hotkeyaha18:24
Hotkeyterminal open18:24
bobertdosalright, first we need to make sure we know a couple locations of things18:25
Hotkeyk18:26
bobertdostry typing: ls /media/disk (I'm assuming that's where your Windows drive mounted itself).18:26
Hotkeyls: cannot access /media/dis: No such file or directory18:26
bobertdosdisk18:27
bobertdoswith a k18:27
Hotkeylol works fine with the "k" in there18:27
bobertdosSo that is the Windows drive, right?18:27
bobertdosOkay good18:27
Hotkeyya - i see lottsa windows line items18:27
bobertdosgood18:28
bobertdosNow, type: mount18:28
Hotkeyand press enter?18:28
bobertdosyeah18:28
Hotkeylarge linux command list18:29
bobertdosFind the line with ntfs in it and tell me what it says on the left for a directory18:29
bobertdosYour're looking for something like: /dev/sd.....18:29
Hotkeynot seeing it18:30
bobertdoser.......We should use fdisk instead.18:30
bobertdostype: sudo fdisk -l18:31
Hotkey?18:31
Hotkeyok18:31
bobertdos(that's the letter l by the way)18:31
Hotkeydone18:31
bobertdosFind the line that has ntfs in it.18:31
Hotkeylooking for this: /dev/sda2   *           9       22955   184321777+   7  HPFS/NTFS18:31
bobertdosyes sir18:32
Hotkey:)18:32
bobertdosnow, I will copy and paste the next command, because it's long. I suggest you copy and paste it too.18:32
Hotkeyk18:32
bobertdosactually, before that18:35
Hotkeyya?18:35
bobertdostype: gksudo gedit /etc/fstab18:35
Hotkeyeditor is open18:36
bobertdoswith fstab?18:36
Hotkeyya18:36
bobertdosk, now somewhere in that file, probably down below your Linux hard drive, sandwich this in there:18:37
bobertdos/dev/sda2 UUID=12102C02102CEB83  /media/disk  ntfs-3g  auto,users,uid=1000,gid=100,dmask=027,fmask=137,utf8  0  018:38
bobertdosYou could probably put it at the bottom of the file too. That would likely be easier.18:38
Hotkeyis this the linux hd? # /dev/sda5 UUID=e9786600-b9b5-4ff8-a920-a56ea1d997fd /               ext3    defaults,errors=remount-ro 0       118:39
Hotkeyo ok18:39
bobertdosyeah, it is18:39
Hotkeysandwich or bottom?18:39
bobertdosup to you :p18:39
Hotkeybottom pasted in18:39
bobertdosNow save the file.18:41
Hotkeydone18:42
bobertdosThen, back in the terminal, type: sudo mount -a18:42
Hotkey[mntent]: line 11 in /etc/fstab is bad18:42
Hotkey:(18:42
bobertdosuh oh18:42
Hotkeyuh oh18:42
bobertdosI assume line 11 is what was just added.18:42
Hotkeyil  gksudo gedit /etc/fstab again18:43
Hotkeyya line 11 it is.18:43
bobertdosk, get rid of it18:43
Hotkeythis is the line /dev/sda2 UUID=12102C02102CEB83  /media/disk  ntfs-3g  auto,users,uid=1000,gid=100,dmask=027,fmask=137,utf8  0  018:44
Hotkeygone18:44
Hotkeysave/close?18:44
bobertdosUse this one instead: /dev/sda2 /media/disk ntfs-3g defaults,locale=en_US.utf8 0 018:44
Hotkeyok dun18:44
Hotkeysaved closed18:44
bobertdosokay, try sudo mount -a again18:45
Hotkeythis again?  sudo mount -a18:45
Hotkeyk18:45
Hotkeyno response18:45
bobertdosNo response = good response :)18:45
HotkeyLOL = ok18:45
bobertdosNow, the next time you reboot, the drive SHOULD automatically be there and the shortcut SHOULD work.18:46
Hotkeyshutdown, reboot, cross fingers!18:46
bobertdosyes18:46
Hotkeythanks so much for helping.  patience is a virtue.18:47
bobertdosyes, yes it is18:47
bobertdosI will still be here if there are any problems.18:47
Hotkeyby the way - do you use xchat as irc client or is there something better18:47
bobertdosI use Pidgin actually.18:48
Hotkeyi'll try that next time - i do have it and use it for other msgr. services - so makes sense.  thx again.18:48
Hotkeybbl18:48
=== Moot2 is now known as MootBot

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!