=== zween [n=zween@80-47-48-78.lond-hex.dynamic.dial.as9105.com] has joined #ubuntu-classroom | ||
=== rokra [n=christor@ANancy-256-1-69-32.w90-26.abo.wanadoo.fr] has joined #ubuntu-classroom | ||
rokra | yeap | 12:40 |
---|---|---|
jrib | rokra: hi | 12:40 |
rokra | hi again :) | 12:40 |
jrib | we need to clear something up, I'm a bit confused | 12:40 |
jrib | did you run "ln -s /bin/true /usr/bin/file" or did you run "ln -s /bin/true /usr/bin/file" | 12:40 |
rokra | jrib first time you said me ln -s /bin/true /usr/bin/file , and you repaet do : ln -s /bin/true /usr/bin/file lol | 12:41 |
rokra | I did the ln -s /bin/true /usr/bin/file | 12:41 |
rokra | yes you understood me? | 12:41 |
rokra | first time you said me ln -s /usr/bin/file /bin/true and second time ln -s /bin/true /usr/bin/file | 12:42 |
rokra | I did the second | 12:42 |
jrib | I never said /usr/bin/file, I always said /usr/bin/fileexec. We need to undo that now | 12:42 |
jrib | I assume you made the backup of the original file? | 12:42 |
jrib | "file" | 12:43 |
rokra | yes | 12:43 |
jrib | restore it | 12:43 |
rokra | file or filexec is the same | 12:43 |
rokra | the real name is carserver | 12:43 |
jrib | how is it the same? | 12:43 |
rokra | jrib: for me I used file for a var in our example | 12:44 |
rokra | but ok there is also a file " file" in the /usr/bin | 12:44 |
jrib | wait | 12:44 |
jrib | so "fileexec" is not the name of the program? | 12:44 |
rokra | the realname is cardserver | 12:44 |
jrib | ok | 12:45 |
rokra | /usr/bin/cardserver | 12:45 |
jrib | how are you trying to run it? | 12:45 |
rokra | /usr/bin/cardserver or cardserver | 12:45 |
jrib | and then what is the error? | 12:45 |
jrib | when you do /usr/bin/cardserver | 12:46 |
rokra | -su: /usr/bin/cardserver: No such file or directory | 12:46 |
jrib | what's with the "su" thing? | 12:46 |
rokra | dont know | 12:46 |
rokra | :s | 12:46 |
rokra | I checked on a debian sytem and it worked :s | 12:47 |
rokra | but on the ubuntu I have this error | 12:47 |
jrib | what kind of file is it? | 12:47 |
rokra | ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped | 12:47 |
jrib | no source? | 12:50 |
rokra | jrib: no source | 12:50 |
jrib | rokra: no idea, sorry | 12:53 |
rokra | ok thx for your help | 12:53 |
rokra | it smell the debian reisntall | 12:53 |
nalioth | jrib: you're a machine :) | 12:58 |
=== jrib reboots nalioth | ||
=== synacktion [n=synackti@c-75-71-233-190.hsd1.co.comcast.net] has joined #ubuntu-classroom | ||
poningru | eek | 01:06 |
=== lment_ox [n=lment_ox@209-124-151-181.broadband.arctic.net] has joined #ubuntu-classroom | ||
=== soundray [n=rolf@dsl-217-155-44-246.zen.co.uk] has joined #ubuntu-classroom | ||
soundray | lment_ox: Hi | 01:34 |
lment_ox | hey | 01:34 |
soundray | Open the file with 'nano /etc/passwd' | 01:35 |
soundray | Move the cursor to the end of the first line and delete the "/tmp" with the backspace key. | 01:35 |
soundray | Got that? | 01:36 |
lment_ox | how do i open in nano ??? | 01:36 |
lment_ox | i am in nano but how do i access root file within that windo? | 01:37 |
lment_ox | same first line as before??? | 01:37 |
=== wauwau_ [n=wauwau@i577BBAF5.versanet.de] has joined #ubuntu-classroom | ||
soundray | Hey, I would really like to help you, but you have to do what I ask you to, and not something else. | 01:38 |
lment_ox | ok | 01:38 |
soundray | Hit Ctrl-X to exit nano. You should get back to the # prompt. | 01:38 |
lment_ox | yes | 01:39 |
nalioth | sudo nano /etc/passwd | 01:39 |
soundray | Enter 'nano /etc/passwd' (everything between the quotes) | 01:39 |
nalioth | don't forget the sudo | 01:39 |
soundray | no, nalioth | 01:39 |
soundray | We're in recovery mode. | 01:39 |
jrib | recovery mode | 01:39 |
=== nalioth runs away | ||
lment_ox | ok opened | 01:40 |
soundray | Move the cursor to the end of the first line and delete the "/tmp" with the backspace key. | 01:41 |
soundray | Can you do that? | 01:42 |
lment_ox | there is no "/tmp" | 01:43 |
soundray | Does the first line read "root:x:0:0:root:/root:/bin/bash"? | 01:44 |
lment_ox | no when i opened nano, screen is blank other than options at the bottom | 01:45 |
soundray | Strange. Do a Ctrl-X again to exit nano. | 01:46 |
lment_ox | k | 01:46 |
lment_ox | ... | 01:48 |
soundray | Do you get any output when you enter this line: | 01:49 |
soundray | cat /etc/passwd | 01:49 |
lment_ox | yea | 01:50 |
lment_ox | first line reads root:x:0:0:0:root:/root:/tmp | 01:50 |
soundray | Now enter all of this line: | 01:51 |
soundray | nano /etc/passwd | 01:51 |
lment_ox | ok | 01:51 |
soundray | lment_ox: is the file opened in nano now? | 01:52 |
lment_ox | at the top says: gnu nano 1.3.12 file etc/passwd but rest is blank | 01:52 |
lment_ox | other than commands at the bottom | 01:53 |
soundray | Okay, we'll take a different approach now. Ctrl-X to exit nano | 01:53 |
lment_ox | okee | 01:53 |
soundray | Series of commands now. The first one: | 01:54 |
soundray | cd /etc | 01:54 |
soundray | Got that? | 01:54 |
lment_ox | k | 01:54 |
soundray | Now: | 01:54 |
soundray | cp passwd passwd-copy | 01:54 |
lment_ox | permission denied | 01:55 |
soundray | lment_ox: are you sure you're in recovery mode? | 01:55 |
lment_ox | 100% waited for option to login to recovery used my usr name logged in | 01:56 |
soundray | lment_ox: did you set a root password at any point? | 01:56 |
lment_ox | just did | 01:56 |
soundray | just when? | 01:57 |
lment_ox | i just went into admin made sure my password was what i set it as | 01:57 |
soundray | What do you mean by "went into admin"? | 01:58 |
lment_ox | sys/admin /user groups root | 01:59 |
lment_ox | in gnome | 01:59 |
soundray | lment_ox: did you run 'sudo passwd' at any point? | 01:59 |
lment_ox | no | 01:59 |
soundray | What does your prompt look like at the moment? | 02:00 |
=== dingbats [n=neuman@203-214-56-99.dyn.iinet.net.au] has joined #ubuntu-classroom | ||
lment_ox | k40571k@dhst-desktop:/etc$ | 02:00 |
soundray | Try this one: | 02:01 |
soundray | sudo nano /etc/passwd | 02:01 |
lment_ox | same as prior | 02:01 |
soundray | Okay, something is wrong with your system, and I can't imagine how it got that way. | 02:03 |
soundray | Normally, when you choose recovery mode, you shouldn't need to login at all. | 02:04 |
lment_ox | ok | 02:04 |
soundray | Is this a fresh install? | 02:04 |
lment_ox | recent | 02:04 |
soundray | Not upgraded? | 02:04 |
lment_ox | no 6.1 waiting for 7 | 02:04 |
soundray | With all of this going on, I don't know if fixing your /etc/passwd will make a difference. | 02:06 |
lment_ox | oh yea should i wait for 7??? | 02:06 |
soundray | Would it be terrible to use a 7.04 CD and do a fresh installation? | 02:06 |
lment_ox | then redoit | 02:06 |
soundray | Why wait, it's out... | 02:07 |
lment_ox | no waiting on 7 to do so :) | 02:07 |
lment_ox | i am in dutch harbor alaska takes awhile | 02:07 |
soundray | lment_ox: is downloading the iso and burning to a CD-R an option? | 02:07 |
lment_ox | not on this comp also because serv prov likes to time out large file dls but possibly] | 02:08 |
lment_ox | do u know if 7 is torrent avail? | 02:10 |
=== xeruno [n=xeruno@cable201-233-49-165.epm.net.co] has joined #ubuntu-classroom | ||
soundray | You could download it with wget. If it gets interrupted, you can use wget -c to continue | 02:10 |
soundray | I think it is | 02:11 |
lment_ox | wget??? website??? | 02:11 |
soundray | Comes with ubuntu -- but that's useless, right? Dang... | 02:11 |
lment_ox | hahaha | 02:12 |
lment_ox | i have wget but not the dl url | 02:12 |
soundray | I see, sec... | 02:12 |
lment_ox | k | 02:13 |
soundray | wget http://releases.ubuntu.com/7.04/ubuntu-7.04-desktop-i386.iso | 02:13 |
lment_ox | dl'n we'll see how that goes | 02:15 |
lment_ox | really appreciate all the help | 02:15 |
lment_ox | Q: though when i install 7 will all of info from 6 be deleted | 02:15 |
soundray | Well, I hope it will have helped in the end. | 02:15 |
soundray | You should back up your /home directory and possible /etc for reference. | 02:16 |
=== PriceChild [n=pricechi@ubuntu/member/pricechild] has joined #ubuntu-classroom | ||
lment_ox | how so? | 02:16 |
=== merriam_ [n=merriam@85-211-245-180.dyn.gotadsl.co.uk] has joined #ubuntu-classroom | ||
soundray | Depends on what you have in your system... | 02:17 |
lment_ox | nothin but fonts and images at this point , but i am in the end trying to access root to install a anti virus as well as sun java asp | 02:18 |
soundray | Are you setting up a fileserver or mailserver? | 02:19 |
soundray | Because on a personal workstation, you don't need virus protection for Linux. | 02:20 |
=== neversfelde [n=neversfe@nrbg-4db44515.pool.einsundeins.de] has joined #ubuntu-classroom | ||
lment_ox | file server i think i would have to ask my boss havent got passed the root problem to know more | 02:20 |
lment_ox | thats what i thought as far as linux cause you can debuh that shit right??? | 02:21 |
soundray | Anyway, if you do a fresh install, it will format the partition that you set as / | 02:22 |
lment_ox | yea | 02:22 |
lment_ox | um | 02:22 |
soundray | So it's best if you copy any valuable data to another machine, external hard disk or optical disks. | 02:22 |
lment_ox | when wget dl where is the dl directory??? desktop??? | 02:22 |
lment_ox | oic | 02:22 |
lment_ox | dat file work??? | 02:22 |
soundray | Present working directory. | 02:22 |
soundray | You mean tape? | 02:23 |
lment_ox | yea | 02:23 |
lment_ox | old school lmao | 02:23 |
soundray | It should, if you have a driver for the DAT drive... | 02:23 |
lment_ox | believe so | 02:23 |
lment_ox | present working directory is the name im logged onto right??? | 02:23 |
soundray | No | 02:24 |
soundray | it's what you last cd'd to. | 02:24 |
soundray | Enter pwd to find what it is currently. | 02:24 |
lment_ox | gotcha | 02:24 |
soundray | !cli | 02:25 |
ubotu | The linux terminal or command-line interface is very powerful. Open a terminal via Applications -> Accessories -> Terminal (Gnome) or K-menu -> System -> Konsole (KDE). Guide: https://help.ubuntu.com/community/UsingTheTerminal | 02:25 |
soundray | ^ might have some interesting stuff for you | 02:25 |
lment_ox | thanks :) i am just getting into linux and i am falling in love with it | 02:26 |
soundray | Well, good luck with it. | 02:27 |
lment_ox | thank you | 02:27 |
soundray | I'll be off then. Last chance to ask ;) | 02:27 |
=== _Crusher_ [n=You@ppp143-133.lns11.adl6.internode.on.net] has joined #ubuntu-classroom | ||
lment_ox | um | 02:27 |
lment_ox | how do i add themes | 02:27 |
lment_ox | ??? | 02:27 |
soundray | !themes | 02:28 |
ubotu | Find your themes at: http://www.gnome-look.org - http://art.gnome.org - http://www.kde-look.org - http://themes.freshmeat.net/browse/58/ - http://www.guistyles.com - https://wiki.ubuntu.com/Artwork/ - Also see !changethemes and https://help.ubuntu.com/community/UbuntuEyeCandy | 02:28 |
soundray | !changethemes | 02:28 |
ubotu | [Ubuntu] Install gnome-themes or go to menu, system settings, appearance. See https://help.ubuntu.com/community/UbuntuEyeCandy for a guide. [Kubuntu] For a Kubuntu guide, see https://help.ubuntu.com/community/CustomizeKubuntu | 02:28 |
soundray | Ubotu knows everything ;) | 02:28 |
lment_ox | haha | 02:29 |
lment_ox | thanks | 02:29 |
soundray | Did you say you're from Cicely? | 02:29 |
soundray | Oh, that's just fictional, right | 02:30 |
soundray | :) | 02:30 |
soundray | Bye | 02:31 |
=== hybrid [n=x@72.169.30.254] has joined #ubuntu-classroom | ||
=== nalioth [i=nalioth@freenode/staff/ubuntu.member.nalioth] has joined #ubuntu-classroom | ||
=== nalioth [i=nalioth@freenode/staff/ubuntu.member.nalioth] has joined #ubuntu-classroom | ||
=== nalioth [i=nalioth@freenode/staff/ubuntu.member.nalioth] has joined #ubuntu-classroom | ||
=== nalioth [i=nalioth@freenode/staff/ubuntu.member.nalioth] has joined #ubuntu-classroom | ||
=== poningru [n=poningru@adsl-074-245-140-197.sip.gnv.bellsouth.net] has joined #ubuntu-classroom | ||
=== nalioth [i=nalioth@freenode/staff/ubuntu.member.nalioth] has joined #ubuntu-classroom | ||
=== synacktion [n=synackti@c-75-71-233-190.hsd1.co.comcast.net] has joined #ubuntu-classroom | ||
=== edavis10 [n=eric@68-116-82-188.dhcp.trlk.ca.charter.com] has joined #ubuntu-classroom | ||
=== Frodo [i=frodo@speeldoos.eweka.nl] has joined #ubuntu-classroom | ||
=== hybrid [n=x@72.169.30.254] has joined #ubuntu-classroom | ||
=== dingbats [n=neuman@203-214-56-99.dyn.iinet.net.au] has joined #ubuntu-classroom | ||
=== merriam_ [n=merriam@85-211-245-180.dyn.gotadsl.co.uk] has joined #ubuntu-classroom | ||
=== PWill [n=paul@unaffiliated/pwill] has joined #ubuntu-classroom | ||
=== DBO [n=DBO@unaffiliated/dbo] has joined #ubuntu-classroom | ||
=== yharrow [n=sysadmin@unaffiliated/yharrow] has joined #ubuntu-classroom | ||
=== sacater [n=sacater@colchester-lug/member/sacater] has joined #ubuntu-classroom | ||
=== n2diy [n=darryl@ppp-42d4299b.wlks.losch.net] has joined #ubuntu-classroom | ||
=== _Crusher_ [n=You@ppp143-133.lns11.adl6.internode.on.net] has joined #ubuntu-classroom | ||
=== blenderhead [n=blenderh@adsl-068-209-133-121.sip.jax.bellsouth.net] has joined #ubuntu-classroom | ||
=== jrib [n=jrib@upstream/dev/jrib] has joined #ubuntu-classroom | ||
=== neuratix [n=lorents@ti521110a080-2496.bb.online.no] has joined #ubuntu-classroom | ||
=== emonkey-f [n=emonkey@static-pro-212-101-27-121.adsl.solnet.ch] has joined #ubuntu-classroom | ||
=== jaba [n=jaba@jaba.mbnet.fi] has joined #ubuntu-classroom | ||
=== ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #ubuntu-classroom | ||
=== joejaxx [i=joejaxx@fluxbuntu/founder/joejaxx] has joined #ubuntu-classroom | ||
=== elkbuntu [n=melissa@ubuntu/member/elkbuntu] has joined #ubuntu-classroom | ||
=== hybrid [n=x@easyubuntu/supporter/hybrid] has joined #ubuntu-classroom | ||
=== Riddell [i=jr@kde/jriddell] has joined #ubuntu-classroom | ||
=== tim__b [i=tim__b@draws.asciians.info] has joined #ubuntu-classroom | ||
=== nalioth_ [i=nalioth@freenode/staff/ubuntu.member.nalioth] has joined #ubuntu-classroom | ||
=== hybrid [n=x@72.169.30.254] has joined #ubuntu-classroom | ||
=== macconline [n=macconli@190.37.62.197] has joined #ubuntu-classroom | ||
=== synacktion [n=synackti@c-75-71-233-190.hsd1.co.comcast.net] has left #ubuntu-classroom ["Leaving"] | ||
=== Asterix_ [n=jacob@p5B09D705.dip.t-dialin.net] has joined #ubuntu-classroom | ||
=== freeflying [n=freeflyi@123.112.67.145] has joined #ubuntu-classroom | ||
=== freeflying [n=freeflyi@123.112.67.145] has joined #ubuntu-classroom | ||
=== DerXero [n=patrick@dslb-082-083-131-186.pools.arcor-ip.net] has joined #ubuntu-classroom | ||
=== croppa [n=stuart@135.27.233.220.exetel.com.au] has joined #ubuntu-classroom | ||
=== freeflying_ [n=freeflyi@123.112.67.145] has joined #ubuntu-classroom | ||
=== hedix [i=usr20712@c1.edrana.lt] has joined #ubuntu-classroom | ||
=== Starting logfile irclogs/ubuntu-classroom.log | ||
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-classroom | ||
=== Topic for #ubuntu-classroom: Ubuntu Open Week is now over; Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | ||
=== Topic (#ubuntu-classroom): set by apokryphos at Sun Apr 29 00:25:57 2007 | ||
=== freeflying [n=freeflyi@ubuntu/member/freeflying] has joined #ubuntu-classroom | ||
=== hedix [i=usr20733@c1.edrana.lt] has joined #ubuntu-classroom | ||
=== PriceChild [n=pricechi@ubuntu/member/pricechild] has joined #ubuntu-classroom | ||
=== _Crusher_ [n=You@ppp160-134.lns11.adl2.internode.on.net] has joined #ubuntu-classroom | ||
=== yharrow_mobile [n=sysadmin@unaffiliated/yharrow] has joined #ubuntu-classroom | ||
=== Webspot [n=Webspot@90.200.240.120] has joined #ubuntu-classroom | ||
=== draco [n=draco@vpn101.mip.uni-hannover.de] has joined #ubuntu-classroom | ||
draco | hi | 01:05 |
=== jrib [n=jrib@upstream/dev/jrib] has joined #ubuntu-classroom | ||
=== neuratix [n=lorents@ti521110a080-2496.bb.online.no] has joined #ubuntu-classroom | ||
=== emonkey-f [n=emonkey@static-pro-212-101-27-121.adsl.solnet.ch] has joined #ubuntu-classroom | ||
=== jaba [n=jaba@jaba.mbnet.fi] has joined #ubuntu-classroom | ||
=== DerXero [n=patrick@dslb-082-083-131-186.pools.arcor-ip.net] has joined #ubuntu-classroom | ||
=== draco [n=draco@130.75.237.194] has joined #ubuntu-classroom | ||
=== hybrid [n=x@72.169.30.254] has joined #ubuntu-classroom | ||
=== hybrid [n=x@72.169.30.254] has joined #ubuntu-classroom | ||
=== LjL [n=ljl@ubuntu/member/ljl] has joined #ubuntu-classroom | ||
=== awk [i=awk@chello085216242254.chello.sk] has joined #ubuntu-classroom | ||
=== artnay [i=artnay@divxfinland.org] has left #ubuntu-classroom [] | ||
=== awk [i=awk@chello085216242254.chello.sk] has joined #ubuntu-classroom | ||
=== LjL [n=ljl@ubuntu/member/ljl] has joined #ubuntu-classroom | ||
=== awk [i=awk@chello085216242254.chello.sk] has joined #ubuntu-classroom | ||
=== zween [n=zween@80-47-48-78.lond-hex.dynamic.dial.as9105.com] has joined #ubuntu-classroom | ||
=== DerXero [n=patrick@dslb-082-083-150-125.pools.arcor-ip.net] has joined #ubuntu-classroom | ||
=== cyril_ [n=cyril@ip-62-235-216-224.dsl.scarlet.be] has joined #ubuntu-classroom | ||
=== elkbuntu_ [n=melissa@ubuntu/member/elkbuntu] has joined #ubuntu-classroom | ||
=== darich [n=trickyki@88-109-84-252.dynamic.dsl.as9105.com] has joined #ubuntu-classroom | ||
=== n2diy [n=darryl@ppp-42d42998.wlks.losch.net] has joined #ubuntu-classroom | ||
=== hybrid_ [n=x@72.169.30.254] has joined #ubuntu-classroom | ||
=== soundray [n=rolf@csc-raheclap.hh.med.ic.ac.uk] has joined #ubuntu-classroom | ||
=== b33r [n=b33r@212.36.209.16] has joined #ubuntu-classroom | ||
soundray | Okay, first disable automounting: | 08:32 |
soundray | System-Preferences-Removable drives -- untick the boxes under Removable Storage | 08:33 |
b33r | ok | 08:33 |
soundray | Now "eject" your device (right click on the icon) | 08:34 |
soundray | (then select Eject from the menu) | 08:34 |
b33r | k | 08:35 |
soundray | b33r: open a terminal and run | 08:35 |
soundray | sudo fdisk -l | 08:35 |
b33r | hmm but what that will do? | 08:36 |
b33r | u mean to partition it one for win and 1 for linux? | 08:36 |
soundray | List partitions that are visible for your system. | 08:36 |
b33r | ok | 08:36 |
soundray | We're still diagnosing, not fixing anything yet | 08:36 |
soundray | You will recognize your hard disk partitions. The other set of partitions corresponds to your flash device. | 08:37 |
b33r | /dev/sda2 4747 7301 20523037+ f W95 Ext'd (LBA) | 08:38 |
b33r | that? | 08:38 |
soundray | b33r: looks promising. What's /dev/sda1 ? | 08:39 |
b33r | my NTFS partition | 08:39 |
b33r | I have windows on it | 08:40 |
soundray | Do you have a /dev/hda1 ? | 08:40 |
b33r | u mean sda1 I'm on feisty | 08:40 |
b33r | yeah I do | 08:41 |
soundray | I mean what I say. Do you have a /dev/hda1 ? | 08:41 |
b33r | no | 08:41 |
b33r | /dev/sda1 * 894 4746 30949191 7 HPFS/NTFS | 08:42 |
b33r | no hda1 | 08:42 |
soundray | b33r: do you get any output from 'dmesg | grep sdb'? | 08:42 |
b33r | uhh wha do u mean? | 08:43 |
b33r | what* | 08:43 |
soundray | Enter | 08:43 |
soundray | dmesg | grep sdb | 08:43 |
soundray | Does that return any output? | 08:43 |
b33r | yeah | 08:44 |
b33r | I have sdb1 another hard drive | 08:44 |
soundray | How many in total? | 08:45 |
b33r | 28.485502] SCSI device sdb: 160836480 512-byte hdwr sectors (82348 MB) | 08:45 |
b33r | [ 28.485517] sdb: Write Protect is off | 08:45 |
b33r | [ 28.485520] sdb: Mode Sense: 00 3a 00 00 | 08:45 |
b33r | [ 28.485541] SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA | 08:45 |
b33r | [ 28.485591] SCSI device sdb: 160836480 512-byte hdwr sectors (82348 MB) | 08:45 |
b33r | [ 28.485603] sdb: Write Protect is off | 08:45 |
b33r | [ 28.485605] sdb: Mode Sense: 00 3a 00 00 | 08:45 |
b33r | [ 28.485626] SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA | 08:45 |
b33r | [ 28.485629] sdb: sdb1 | 08:45 |
b33r | [ 28.498277] sd 0:0:1:0: Attached scsi disk sdb | 08:45 |
b33r | [ 51.750877] EXT3 FS on sdb1, internal journal | 08:45 |
soundray | Please ask before you paste if it's more than two lines. | 08:46 |
b33r | ok sorry | 08:46 |
soundray | How many hard disks do you have in total? | 08:46 |
b33r | 2 | 08:46 |
soundray | Okay. Do you get any output from 'dmesg | grep sdc' (yes/no) | 08:47 |
b33r | yeah | 08:47 |
soundray | b33r: /dev/sdc will be your flash device then. Let's mount /dev/sdc1 to confirm that: | 08:48 |
soundray | sudo mount /dev/sdc1 /mnt | 08:48 |
b33r | 33r@b33r:~$ sudo mount /dev/sdc1 /mnt | 08:48 |
b33r | mount: special device /dev/sdc1 does not exist | 08:48 |
=== blenderhead [n=blenderh@adsl-068-209-133-121.sip.jax.bellsouth.net] has joined #ubuntu-classroom | ||
b33r | worked nvm | 08:49 |
soundray | It's mounted? | 08:50 |
b33r | says 99% full | 08:50 |
soundray | df -h /mnt | 08:50 |
soundray | what does that say? | 08:50 |
b33r | Filesystem Size Used Avail Use% Mounted on | 08:51 |
b33r | /dev/sdc1 967M 966M 332K 100% /mnt | 08:51 |
soundray | that's the 300k one then. It probably contains the Windows driver and some magic to run that driver automatically. | 08:52 |
soundray | Did you get lots and lots from 'dmesg | grep sdc'? | 08:52 |
b33r | yeah | 08:53 |
b33r | btw I want it to run normally on windows too not only on ubuntu | 08:53 |
soundray | What do you get from 'dmesg | grep sdc1'? | 08:54 |
soundray | Please paste. | 08:55 |
b33r | [ 87.243243] sdc: sdc1 | 08:55 |
b33r | [ 219.843284] sdc: sdc1 | 08:55 |
b33r | [ 1844.846727] sdc: sdc1 | 08:55 |
soundray | Okay, are you ready to format the device? We can make it usable for Windows and Linux alike, but it will be blank. | 08:56 |
b33r | yeah good thing I backed up the data | 08:57 |
soundray | sudo fdisk /dev/sdc | 08:57 |
soundray | then hit 'p' enter to show the current partition table. | 08:58 |
soundray | Done? | 08:58 |
b33r | yeah | 08:58 |
soundray | There should be some warnings, but no errors. True? | 08:59 |
b33r | bi | 08:59 |
b33r | no* | 08:59 |
b33r | want me to paste what it showed? | 08:59 |
soundray | yes pls | 08:59 |
b33r | Disk /dev/sdc: 1015 MB, 1015021568 bytes | 09:00 |
b33r | 250 heads, 32 sectors/track, 247 cylinders | 09:00 |
b33r | Units = cylinders of 8000 * 512 = 4096000 bytes | 09:00 |
b33r | Device Boot Start End Blocks Id System | 09:00 |
b33r | /dev/sdc1 * 1 248 991216 c W95 FAT32 (LBA) | 09:00 |
b33r | Partition 1 has different physical/logical endings: | 09:00 |
b33r | phys=(249, 249, 32) logical=(247, 201, 32) | 09:00 |
soundray | That's the exact problem you're going to fix now. Delete the partition now: Hit 'd' enter, then say '1' when it asks for the number to delete. | 09:01 |
b33r | ok | 09:01 |
b33r | what now? | 09:01 |
soundray | 'n' enter | 09:01 |
b33r | Command (m for help): 1 | 09:01 |
b33r | 1: unknown command | 09:02 |
soundray | 'p' enter again | 09:02 |
soundray | Paste what it says | 09:02 |
b33r | Disk /dev/sdc: 1015 MB, 1015021568 bytes | 09:02 |
b33r | 250 heads, 32 sectors/track, 247 cylinders | 09:02 |
b33r | Units = cylinders of 8000 * 512 = 4096000 bytes | 09:02 |
soundray | Okay. Hit 'n' enter | 09:03 |
b33r | Command action | 09:03 |
b33r | e extended | 09:03 |
b33r | p primary partition (1-4) | 09:03 |
soundray | Select 'primary' if it tells you to choose | 09:03 |
soundray | yeah, 'p' | 09:03 |
b33r | then 1 right? | 09:03 |
soundray | Yes | 09:03 |
soundray | You're learning fast :) | 09:04 |
b33r | First cylinder (1-247, default 1): | 09:04 |
b33r | also 1? | 09:04 |
soundray | yes | 09:04 |
b33r | Last cylinder or +size or +sizeM or +sizeK (1-247, default 247): | 09:04 |
soundray | just enter | 09:04 |
soundray | to accept the default, 247 | 09:04 |
b33r | ok | 09:05 |
soundray | 'p'? | 09:05 |
b33r | /dev/sdc1 1 247 987984 83 Linux | 09:05 |
soundray | We need to change it from Linux to W95 Fat32 now. | 09:05 |
soundray | Hit 't' | 09:05 |
soundray | it'll give you a list that probably needs to scroll... | 09:06 |
b33r | Hex code (type L to list codes): | 09:06 |
soundray | then you enter 0c | 09:06 |
soundray | all right, just enter 0c | 09:06 |
soundray | and p again to confirm that it's now FAT32 | 09:06 |
b33r | yeah | 09:07 |
b33r | it's FAT32 | 09:07 |
soundray | Okay, nothing on the device has changed yet. If you hit 'w' enter now, the new partitioning will be written. | 09:07 |
soundray | Then it'll be permanent. | 09:07 |
b33r | should I paste | 09:08 |
b33r | it gave an error | 09:08 |
soundray | yes | 09:08 |
b33r | The partition table has been altered! | 09:08 |
b33r | Calling ioctl() to re-read partition table. | 09:08 |
b33r | WARNING: Re-reading the partition table failed with error 16: Device or resource busy. | 09:08 |
b33r | The kernel still uses the old table. | 09:08 |
b33r | The new table will be used at the next reboot. | 09:08 |
b33r | WARNING: If you have created or modified any DOS 6.x | 09:08 |
b33r | partitions, please see the fdisk manual page for additional | 09:08 |
b33r | information. | 09:08 |
b33r | Syncing disks. | 09:08 |
soundray | Right, we should have umounted it. But it's not a problem. | 09:09 |
soundray | Do a 'q' to exit fdisk. | 09:09 |
=== allee [n=ach@lapex-mcallee.mpe.mpg.de] has joined #ubuntu-classroom | ||
b33r | it exited itself | 09:09 |
soundray | Okay. What does 'mount | grep sdc' say? | 09:10 |
b33r | /dev/sdc1 on /mnt type vfat (rw) | 09:10 |
soundray | Do a 'umount /mnt' | 09:11 |
soundray | sry, make that 'sudo umount /mnt' | 09:11 |
b33r | done | 09:11 |
soundray | Then do a plug cycle (remove and plug it in again). | 09:11 |
b33r | should I put back in the auto mount? | 09:12 |
soundray | b33r: no, not yet | 09:12 |
b33r | ok what now? | 09:12 |
soundray | We have partitioned it now, but we still have to format it. | 09:12 |
soundray | Think of a nice name for it, like Stick | 09:13 |
soundray | Then type | 09:13 |
soundray | sudo mkdosfs -F32 -n Stick /dev/sdc1 | 09:13 |
b33r | ok | 09:14 |
soundray | Then reenable automounting | 09:14 |
soundray | and do a plug cycle. | 09:14 |
b33r | thanks worked :D | 09:15 |
soundray | mount | grep sdc should now say | 09:15 |
soundray | /dev/sdc1 on /media/Stick type vfat (rw) | 09:15 |
soundray | Correct? | 09:15 |
b33r | /dev/sdc1 on /media/Stick type vfat (rw,nosuid,nodev,shortname=mixed,uid=1000,utf8,umask=077) | 09:15 |
soundray | Hey, success :) | 09:16 |
soundray | Any questions? | 09:16 |
b33r | thank u very much mate | 09:16 |
b33r | yeah what's rw,nosuid,nodev? | 09:16 |
soundray | Are you British? :) | 09:16 |
b33r | no | 09:16 |
b33r | Lebanese | 09:16 |
soundray | readwrite, can't make root executables on it, can't create special device files on it. | 09:17 |
soundray | Makes good sense for an automounted device. | 09:17 |
soundray | Okay, no problem mate. | 09:17 |
b33r | 1 more thing now if I remove files on a windows box will the problem return? =/ | 09:18 |
soundray | No, I wouldn't think so. | 09:18 |
b33r | ok thanks again | 09:18 |
soundray | To get it back to the old format, you'd have to use a utility provided by the manufacturer. | 09:18 |
soundray | Got a suggestion: | 09:19 |
soundray | Next time you need a USB flash device, get a mini SD card reader. Very cool, much more versatile :) | 09:19 |
b33r | uhh what's that? | 09:20 |
soundray | SD are memory cards for cameras, voice recorders etc. | 09:20 |
b33r | yeah well where do u stick it? USB? :/ | 09:21 |
soundray | Exactly. | 09:21 |
soundray | The card reader, that is. | 09:21 |
b33r | oh nice, gonna look it up | 09:21 |
b33r | brb booting windows to check if it'll work fine there =) | 09:21 |
soundray | I'm off now, see you | 09:21 |
b33r | bbye | 09:21 |
=== Webspot [n=Webspot@90.200.240.120] has joined #ubuntu-classroom | ||
=== ke4nt [n=ke4nt@rrcs-67-79-234-86.sw.biz.rr.com] has joined #ubuntu-classroom | ||
=== _Crusher_ [n=You@ppp166-42.lns11.adl2.internode.on.net] has joined #ubuntu-classroom |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!