#ubuntu-beginners 2010-11-01 <brennydoogles> Luck! (kinda) <brennydoogles> my system still boots <UndiFineD> :) <nlsthzn> Any Win 7? <brennydoogles> Nope <brennydoogles> in fact, no grub menu at all <brennydoogles> I suspect it got installed to the wrong place <nlsthzn> But still you boot into Ubuntu? <brennydoogles> yup * nlsthzn wishes he understood more about GRUB2 to help brennydoogles... but knows he doesn't so he goes to ninja mode... <brennydoogles> lol <cook_> help please cant update or upgrade apt-get messed up <cook_> Reading package lists... Error! E: Problem parsing dependency Depends E: Error occurred while processing kdebase-runtime (NewVersion1) E: Problem with MergeList /var/lib/dpkg/status E: The package lists or status file could not be parsed or opened. <cook_> I have a cd of ubuntu 10.10 can I use that to save me? <zkriesse> what did you do? <cook_> tried to upgrade but computer froze and then this <cook_> goning from carmic to lucid <phillw> cook_: looks like the database got corrupt, give me a few mins while I check my notes :) <cook_> ok <phillw> cook_: have a look at http://forum.phillw.net/viewtopic.php?f=4&t=87 <phillw> that's where I store all my notes :) <cook_> i don't know what to do with this info <phillw> cook_: your offending package is kdebase-runtime <UndiFineD> phillw, i think he needs some info like this: http://kevin.vanzonneveld.net/techblog/article/restore_packages_using_dselectupgrade/ <phillw> UndiFineD: I'll happily bow to a more user friendly way :) <UndiFineD> I do not think there is one <UndiFineD> this is nasty <UndiFineD> sudo dpkg --get-selections > /tmp/dpkglist.txt <-- makes a backup of what can be read from the package lists <phillw> UndiFineD: http://forum.phillw.net/viewtopic.php?f=4&t=87 is the only way I know of how to do it <BeanLite> Hi everyone, I made a mistake when I tried to adjust my partitions, and now I'm trying to undo what I've done. Unfortunately I'm over my head. <BeanLite> I had sda1-4 and I tried to partition sda 4 to make a large area for my ubuntu install. <UndiFineD> ah yes I see phillw <BeanLite> I didn't realize that you could only have a maximum of 4 parts. <BeanLite> So now I'm trying to recover all that space from sda 4 that is now "unallocated." <UndiFineD> cook_, open up a console and try to follow phillw forum instructions <cook_> i am trying <UndiFineD> BeanLite, you can have up to 8 partitions, but only 4 primairy <UndiFineD> the 5th is extended <UndiFineD> which allows for 6,7 and 8 <BeanLite> Ok ... According to GParted, the area that I tried to clear is now "unallocated" and I can't seem to manipulate it. <phillw> cook_: use the search for kdebase-runtime in your editor <UndiFineD> BeanLite, unallocated means empty <UndiFineD> no partition <cook_> ? <UndiFineD> that means you have to either grow one of the other partitions next to it to make use of the space again or create a new one <BeanLite> Ok ... so I've minimized sda 4, which may or may not be bad, but now I have an "unpartitioned" area. How do I convert this "empty" area into space I can use. My goal is to make a dual boot Win7/Ubuntu machine. <BeanLite> So I need to create a partition on the other side of this unallocated space. <phillw> cook_: what editor are you using? gedit? <cook_> yes <phillw> okies let me go through this with you..... give me moment to fire up my gedit and do the backup <cook_> dont realy know what i am doing <UndiFineD> BeanLite, windows prefers to sit in front, at the very beginning to boot from <UndiFineD> I have little experiance in dual-boot <UndiFineD> as ubuntu is my only OS <BeanLite> Ok ... what do you suggest is the best way to proceed UFD? <UndiFineD> UFD that is new to me, new highlifgt to add <UndiFineD> mmm, so you have the space for a linux partition ? <UndiFineD> what sizes are you planing on ? <BeanLite> Quick breakdown: <phillw> cook_: is PM easier for you? <BeanLite> Brand new laptop ... 500GB HD <cook_> ? <UndiFineD> BeanLite, sda1 is your windows boot partition right ? <UndiFineD> BeanLite, how did you get to sda4 ? <BeanLite> sda1 (ntfs) recovery 15GB size; sda 2 (ntfs) system 100MB (boot); sda 3 (ntfs) 100GB; sda 4 (ntfs) 3GB; unallocated 347.66 GB. <BeanLite> I put my UbuntuCD in the drive and was using the tool. <BeanLite> I came to a screen that asked me if I wanted to A:) wipe the hard drive and load ubuntu or B:) manually change the partitions. <BeanLite> I chose B. <UndiFineD> ok, I am nut sure if ubuntu likes booting of a extended partition <BeanLite> Then I tried to partition sda 4 (not knowing I was limited to 4 primary). <BeanLite> That is how I got into this mess. <BeanLite> Now I can't "undo" that action. <UndiFineD> so sda4 can be deleted or ? <BeanLite> I might be able to do it, but I remember that there was data in sda4 in the used column. <BeanLite> I don't know what was in there. <UndiFineD> ah <UndiFineD> ok, we leave it then <UndiFineD> so you create a new EXTENDED partition <UndiFineD> which fills the whole unallocated space <BeanLite> I thought you said Ubuntu does not like that? <phillw> cook_: I sent you an invite? <UndiFineD> I am not sure, I think it can be done <BeanLite> ok ... willing to try ... <cook_> ? <BeanLite> How do we go about creating a new extended partition <cook_> phil how do i accept <phillw> yes is usually the best option :) <UndiFineD> I can visualize the boot cd anymore <UndiFineD> cannot <cook_> but how? <BeanLite> Ok ... what do I need to do for you? <UndiFineD> select the unallocated space and create a new partition <BeanLite> FYI - I'm contacting you from a different laptop and have the one we are discussing next to me. <UndiFineD> it will either create extended space auto, or ask you to select extended partition type <BeanLite> Ok ... I've selected it, and now from the Partition pull down screen I select new, correct? <UndiFineD> yes <BeanLite> Message - It is not possible to create more than 4 primary partitions (etc.) <UndiFineD> when I create a new parttition in gparted, in the upper right corner it allows me to sellect primary or when I click it, logical or at the bottom of the selection extended <BeanLite> On my screen there are no options in either the top or bottom right corners. <UndiFineD> I may be too tired for this, been 2 am here (3am old time) <BeanLite> Ok ... should I try to come back to the room another day? <UndiFineD> maybe someone else can take over <BeanLite> Ok ... no problem. <BeanLite> Anyone else want to pick up the torch? <UndiFineD> phillw, I am heading for bed, too late, tired <UndiFineD> thanks for the help :) <phillw> !terminal | cook_ <ubot2> cook_: The linux terminal or command-line interface is very powerful. Open a terminal via Applications -> Accessories -> Terminal (Gnome), K-menu -> System -> Konsole (KDE), or Menu -> Accessories -> LXTerminal (LXDE). Guide: https://help.ubuntu.com/community/UsingTheTerminal <cook_> ok <BeanLite> Anyone up for a partition question/issue? <BeanLite> I'll try back another time. Thanks everyone. <Cheri703> any way to make xchat hide join/part messages? <head_victim> Cheri703: yes, just working out where the setting was. <Cheri703> k, thanks :) <head_victim> Cheri703: if you want it globally the switch is at http://xchat.org/faq/#q211 <Cheri703> thanks <head_victim> It mentions a right click menu but I can't see that (I have in previous versions) <head_victim> Oh, I found the right click, you have to do it over the channel bar or tree (depending on what you use) rather than the channel window itself. So if you want it just for a particular channel you can do it that way <Cheri703> kk <_schism_> can someone tell me where the video driver info is stored in 10.04 i have an intel 4500m with issues and google says to check the conf but i cant find it <nlsthzn> _schism_: Hi, you could check out http://ubuntuforums.org/showthread.php?t=1130582 (for Jaunty, but should put you on the right track) <_schism_> nlsthzn, thanks i hadnt come across that one yet <nlsthzn> np, hope it helps... <_schism_> i hope so. wanna play minecraft ;) <aveilleux> You don't need accelerated drivers to play Minecraft <_schism_> got an error and after reading seems like i have a goofy video card' <slooksterpsv> _schism_: what kind of video card? <_schism_> intel 4500m <_schism_> which is odd because I thought all intel stuff was floss <_schism_> which is why I went hp <slooksterpsv> floss? do you mean foss? <_schism_> yeah fat fingers sorry <_schism_> didnt catch it <slooksterpsv> nope you're good :P <slooksterpsv> what version and what de - e.g. Ubuntu 10.10 or Xubuntu 10.04 <_schism_> 10.04 upgraded on 10-10 to the lts. hate spending time fixing stuff and lts last a lot longer <_schism_> maybe I should switch to windoze..... you know no security problems and stuff :) <slooksterpsv> _schism_: alrighty, hope the upgrade went well for you :) KDE gave me issues :( but that's a different story, so I missed previous pieces I belive, what video issues are you seeing? artifacts? resolution? no compiz? etc. <slooksterpsv> _schism_: haha, if Windows works better for you, that's good <_schism_> just crashes on minecraft not a biggie for most things it works fine. <slooksterpsv> are you using sun java or icedtea java? <_schism_> no windoze is evil. this laptop came with 7 and it has been booted into 3 times. once to set it up. once for a tech support call to hp and lastly because my 2 year old got a hold of it <_schism_> sun <slooksterpsv> firefox or chome? <_schism_> was using icedtea but it would only go to .18 instead of .22 <_schism_> both do the same thing <_schism_> I may be looking at the worng thing. I can get you a screen of the error if it helps <slooksterpsv> I apologize, I'm more of an ati kind of person so my intel drivers are rustic at best, unless its gma500 p...however you spell it <slooksterpsv> that would be great <_schism_> no aplogies please, your helping me the guy begging :) <_schism_> http://dl.dropbox.com/u/5008250/minecraftfail.png <bioterror> haha <bioterror> minecraft works with sun-java6-* <bioterror> I tested it two days ago <_schism_> bioterror, its probably just my luck <bioterror> as I had to deal with that in the forums <slooksterpsv> _schism_: is liblwjgl-java installed? <_schism_> slooksterpsv, ummm dunno let me check <_schism_> slooksterpsv, synaptic doesnt even know what it is.... <slooksterpsv> _schism_: open a terminal and type in: sudo apt-get install liblwjgl-java <_schism_> was already doing it :) <_schism_> Couldn't find any package whose name or description matched "liblwjgl-java" <slooksterpsv> ok weird... hmm, have you checked for hardware drivers in System -> Administration -> Additional Drivers <_schism_> I dont have an additional drivers something tells me that I am going to have to leave 10.04 arnt i? <slooksterpsv> _schism_: not necessarily, could you check one other item for me? <slooksterpsv> run, in a terminal: gksudo gedit /etc/apt/sources.list - in here I want you to check for partner and backports, see if either of those are enabled <_schism_> will do <_schism_> can I use nano? <slooksterpsv> yup <slooksterpsv> I use pico personally so yeah <slooksterpsv> is pico a ln of nano? <_schism_> for some reason nano reminds me of the editors on the c64 :) <slooksterpsv> nano is an improved pico from what I'm finding <_schism_> dunno never used pico <bioterror> pico comes with alpine ;) <_schism_> would a pastie of the file help? I have no idea what I am looking for <bioterror> sorry <bioterror> pine <slooksterpsv> pastebin, yes <slooksterpsv> dont mind me on this: <slooksterpsv> !pastebin <ubot2> For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. <_schism_> http://paste.ubuntu.com/523652/ <slooksterpsv> ok so they call it paste.ubuntu.com I keep saying pastebin.ubuntu.com <_schism_> yeah I know love me some pastebin and drop box :) <slooksterpsv> ok that looks great <slooksterpsv> _schism_: when you change java versions you do it through: update-java-alternatives right? <_schism_> ummm I dont remember I got help in here a little bit ago let me see if I can scroll back and find it <_schism_> I take that back it was a removal and an add let me see if I can find it <slooksterpsv> type in this then: sudo update-java-alternatives -s java-6-sun <_schism_> no output <slooksterpsv> what does: update-java-alternatives -l output? <_schism_> java-6-sun 63 /usr/lib/jvm/java-6-sun <slooksterpsv> perfect... we could try this: http://ubuntuforums.org/showthread.php?t=1130582 - could try Part A, #1 for the xorg.conf file <_schism_> tried it didnt create the file. didnt they change the way that x11 worked and did away with the xorg.conf file? <slooksterpsv> in /tmp do you have a folder called www.minecraft.net <_schism_> yep <mxe5> What shell command would I run to find out what version of Ubuntu I have on this laptop ? ? <slooksterpsv> _schism_: run sudo rm -R /tmp/www.minecraft.net <slooksterpsv> _schism_: then try to run minecraft again <slooksterpsv> mxe5: run uname -a - that will give us the kernel version which can help us determine <_schism_> mxe5, uname -a will give you everything <mxe5> _schism_: Thanks <_schism_> no worries <_schism_> still the glx error. hmmmm wonder if I delete the .minecraft and the one you just showed me and tried it again <slooksterpsv> oh is there a .minecraft too haha <_schism_> yeah I came across it before looks like its gone though <slooksterpsv> yeah to find that you'd have to do a ls -a <mxe5> _schism_: This a netbook version - Is this the latest one ? Maverick version? 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010 i686 GNU/Linux ? <_schism_> dunno if its a netbook version or not but its the same version of the kernel I have and i have a notebook and not a net book running 10.04 <_schism_> slooksterpsv, bah looks like its gonna be a dist-upgrade <_schism_> bah <slooksterpsv> _schism_: that looks like 10.04 <slooksterpsv> *** mxe5: that looks like 10.04 <slooksterpsv> 10.10 includes +1-226-633-4109 <_schism_> slooksterpsv, lol yeah I know thats what I figgured <mxe5> _schism_: I thought was a shell that tells you the exact name of the version? <slooksterpsv> oh whoa clipping lol and minecraft isn't loading on my computer now niiice <_schism_> slooksterpsv, lol sorry I are a bad influance <_schism_> mxe5, well if I had to hazard a guess I would say your on 10.04 are you running gnome? <slooksterpsv> there we go a restart of the browser fixed it, I cleared the cache from terminal haha <mxe5> slooksterpsv: Oh ok - That's what I thought that might be one version back. <_schism_> mxe5, it is. its the lts <slooksterpsv> mxe5: I actually used the 2.6.35 kernel in 10.04, made it way way nice <mxe5> _schism_: Yup you would be right. <_schism_> slooksterpsv, whats the shell command to clear the cache? maybe I can give that a shot <slooksterpsv> well I did rm -R ~/.cache/chromium/Cache - as I use chromium <mxe5> slooksterpsv: yea this thing really hums right along. <slooksterpsv> mxe5: 2.6.35 makes it faster hehe better memory management <slooksterpsv> that's why I have a hard time trying to convince myself to go back to 10.04 without doing the PPA, cause this kernel version is amazing! <_schism_> slooksterpsv, realy that good? hmmm may have to try it. god I gotta learn how to do that stuff <slooksterpsv> _schism_: the ppa's are easy to add, it's just: sudo add-apt-repository <ppa-full-name> so for example <mxe5> So how do I upgrade to the latest version, using this netbook version is allot different then the regular desktop version I run as well on my IBM clone box ? <_schism_> slooksterpsv, know the ppa off the top of your head so I can give it a try on the 10.04? :) <slooksterpsv> mxe5: to 10.10? if so make sure your data is backed up first, everyone experiences the upgrade differently (Futurama reference :D wow!) <slooksterpsv> _schism_: pulling up the forums to find it right now <_schism_> oh ok I coulda done that thought maybe you were a skynet thing that had it all in your chipset :) <mxe5> yea everything is backed up = I'm ready to give it a whirl. <_schism_> bah same problem I give up. means a vm to run xp to try it out :( <slooksterpsv> http://ubuntuforums.org/showthread.php?t=1546932 - post #4 - they do have a newer kernel in the ppa I think its ... -22 I believe <_schism_> does the newer kernals cause any problems with the lower releases? <_schism_> hmmm no auto update thats a little scary <slooksterpsv> _schism_: well it's not maintained like regular repositories are <_schism_> slooksterpsv, yeah I understand that. meaning its just a bit of food for thought <slooksterpsv> _schism_: yup, if your hardware doesn't work with the kernel, then when gurb loads up select the previous kernel and try that... I'm tempted to try th 2.6.36 kernel... off to kernel.org to see whats new in it <_schism_> lol <_schism_> ya know I think I am just gonna give up on mine craft. its not that important to me and I have wasted about 12 hours on it. could have done the upgrade by thena nd seen what happened :) <slooksterpsv> ok so the information I just received it looks like the kernel 2.6.35 does not support older i586 cpus <_schism_> realy? that sucks <slooksterpsv> that's why the Lubuntu team is very dedicated to 10.04 <_schism_> i like lubuntu first nix I got to run on my old system <slooksterpsv> nice, Lubuntu is great <slooksterpsv> if I didn't do that right, _schism_ you should join #lubuntu-offtopic <_schism_> true just a statement while you were helping me with my problem to keep me happy while you render excellent service :) <haakon__> hello? <bioterror> hallo hallo <haakon__> hey a ressponse <haakon__> was looking for some help or an opinion <bioterror> I can give an opinnion: DONT DO IT! <bioterror> ;) <bioterror> how may I help you? <haakon__> been there did it had to reinstall <haakon__> trying to figure out a safe way to install 10.10 on the box i am using <haakon__> it seems to hate that kernal <haakon__> an old p4 box <haakon__> the latest kernal it seems to work well with is the old 8.04 distro <bioterror> 2.6.35-23-generic #36-Ubuntu SMP Tue Oct 26 17:03:18 UTC 2010 i686 GNU/Linux <bioterror> is what I am using <haakon__> compaq presario sr1350 / 3x256 for ram <haakon__> 2.6.24-28-rt is the kernal it works with <bioterror> well <bioterror> I cant seem to understand why it would not work with any newer? <haakon__> almost all of the newer distros it wont even load the live cd for <bioterror> hmmm <haakon__> they all give a similar error page and freeze <haakon__> weird <bioterror> what kind of? <haakon__> it stops on a call trace <haakon__> which is in terminal <bioterror> you could do a upgrade from terminal <bioterror> ? <haakon__> i was thinking about trying the alternate cd <haakon__> to see if it would have the same problem * bioterror can suggest to try lubuntu ;) <haakon__> it would not boot peppermint <UndiFineD> good morning <haakon__> which is a 10 kernal with xfce desktop environment <bioterror> haakon, I have to say this, it's a "kernel" with e's <haakon__> from linux mint <haakon__> sorry <bioterror> ;) <bioterror> makes esier if you want to search something sometimes <haakon__> that it would <bioterror> yeah, linux mint is a variant of ubuntu and peppermint is a cloud variant of mint <haakon__> yep <bioterror> I've tried peppermint <haakon__> peppermint is interesting <bioterror> it wasnt that huge joy <friTTe|> bigger than Mint <friTTe|> =) <haakon__> but its on an old laptop <friTTe|> that one is slow <friTTe|> then i say Lubuntu =D <haakon__> it does tax it <bioterror> http://peppermintos.com/ it's a little offtopic, but do you know how they make that red color to those candies ;) <friTTe|> no <bioterror> friTTe|, do you like polkagrisar? :D <UndiFineD> with bioterror <friTTe|> well no big fan <bioterror> friTTe|, it uses color E120 which is made by crushing insects :D <friTTe|> yeah thats awesome <bioterror> rather disgusting :D <friTTe|> like skunks and stuff <friTTe|> haha <haakon__> i havent played much with peppermint but it is interesting that it has chromium in the distro <bioterror> haakon__, lubuntu does too <friTTe|> agree, chromium is the one <friTTe|> im using the daily builds <bioterror> I've got beta ppa ;) <friTTe|> lovely <bioterror> I have to say that peppermints black lxpanel looks "nice", but when you start using the desktop, it will look boring and annoying <bioterror> I've been brainwashed <haakon__> the lap top i have peppermint in has depressing specs 600mhz celeron with 3xx for ram <haakon__> 384mb ram <haakon__> i was supprised that it would run it even <friTTe|> hehe <haakon__> it was lighter on the system than 9.10 <friTTe|> yeah pmint is fast and light <friTTe|> but its based on lubu so speed is on that one too <friTTe|> im running it on all my 3machines, and no one is old <haakon__> my desktop is the machine i am trying to figure out today though <friTTe|> ok <friTTe|> i say try Lubu <friTTe|> make a cd or Usb and try it out <haakon__> it wont boot a live cd for current system kernels <friTTe|> ok <haakon__> i dont know why <haakon__> gives me a page fault error <friTTe|> hmm ok <bioterror> haakon__, https://wiki.ubuntu.com/Lubuntu#Intended%20Audience <friTTe|> yah, and 10.04 is a LTS so you be good and updated for awhilw <friTTe|> e <haakon__> true it is one of the reasons i am trying to upgrade to one of the 10.XX kernals <UndiFineD> I had trouble installing the beta of 10.10, so I headed for the 10.04.1 lts and upgraded it that way to current 10.10+patches <kamartina> hello <UndiFineD> hello <kamartina> yes, i no one here will response me <UndiFineD> kamartina, there are people here :) <hobgoblin> kamartina: you need to ask the question - we all have real lifes as well :) Please read the topic <kamartina> ok i am sorry, i need to as about screenlets, i have set it to start up system monitor at log in but it not start up at login as it must, waht i must do? <UndiFineD> kamartina, you mean in system -> preferences -> startup applications ? <kamartina> no, at screenlets manager window i fill auto start on login for sysmonitor , but it don't work <kamartina> i use lubuntu desktop <UndiFineD> sorry, i do not, so I cannot help you there <hobgoblin> phillw: kamartina needs lubuntu help it seems <kamartina> yes <hobgoblin> kamartina: there is a lubuntu channel if no-one here can help ##lubuntu I think <kamartina> ok i saw #lubuntu, thanks, i will go there, thank you for all <hobgoblin> kamartina: I know I can't :) long time since I played with screenlets and never with lubuntu <kamartina> OK :) <sebsebseb> Hi <bioterror> hi <sebsebseb> bioterror: hi <bioterror> hi <god37337> hey everyone :D i have a question i'm trying to install netactview on xubuntu and i recuires lib who are already outdated...so when compiling it doesn't find the new versions <AndrewMC> god37337: you might want to try #xubuntu <god37337> ok waiting... <Daniel0108> hi <god37337> hello :D <Daniel0108> whats up? <hobgoblin> god37337: did you use the deb? <god37337> there is no deb wich i know from <god37337> where can i find one? <hobgoblin> http://netactview.sourceforge.net/download.html <hobgoblin> installs fine <hobgoblin> god37337: is it installed ok now? <hobgoblin> I'll never know I guess ;) <jappie> I just installed Xampp (lampp) whci I used to work with under Windwos. Installation went well and it starts. Now I want to copy my backed up files to the /htdocs folders but it won't let em because of permissions. Permissions are set to: "Owner: nobody (create and delete files)", "group: root(access files) ". How and to which permission should I change so I can use it as a working directory? Also, how this "nobody" works? Can I j <jappie> ust set to my username (jappie)? <bioterror> sudo chmod 777 /htdocs <bioterror> http://en.wikipedia.org/wiki/Chmod <jappie> Hi Bioterror! <cprofitt> bioterror: is 777 really wise if that is going to be serving web pages? <bioterror> cprofitt, well, 755 is then <cprofitt> would it not be better to leave the rights as they are and copy the files using raised privs? <pleia2> cprofitt: +1 <pleia2> recommending 777 is almost universally a bad idea <cprofitt> pleia2: I agree. Its like recommending running as admin * pleia2 nods <UndiFineD> a little http put <UndiFineD> and bio is in terror <pleia2> jappie: you were right, setting owner to your username is fine :) <cprofitt> pleia2: I thought that using a special account was recommended <pleia2> depends on the configuration <cprofitt> ok <pleia2> if you're using ftp to put the files up, using your ssh account is probably a bad idea ;) <cprofitt> +1 <pleia2> but typically I just chown things to the user who will be working on them, or put the user in a group which can edit the files <cprofitt> yeah - the config I remember reading was making a user called apache-user <cprofitt> and then giving that rights <pleia2> well, there is already a www-data user, which is what apache in ubuntu runs as <UndiFineD> it is really silly, after 15 years they could not settle for a default user on apache <pleia2> but that gives apache access to rewrite things - not good if you end up with a rogue php script which an attacker gets ahold of and can now delete your whole site <jappie> euhhhh...guys...I am on purpose in the ubuntu-beginners channel:-) <pleia2> so I don't allow www-data to write to anything it doesn't have to (some webapps require you have an images/ directory that www-data can write to, for instance, so it can upload files via the web interface) <UndiFineD> I have seen: apache, http, nobody, webdev, and many alike <pleia2> jappie: no worries, all you need to know is that you can chown it to your user :) don't use 777, that means anyone who has an account on the system can edit any of the files <cprofitt> jappie: you are in the right channel... but we 'experts' (cough, cough) will sometimes debate about the 'right' answer <cprofitt> yeah -- I will go with pleia2 on this one <jappie> all is good! <cprofitt> bioterror: you still here? <pleia2> UndiFineD: can't agree upon the daemon name either, or the proper web directory :) <jappie> So...I will do something like: sudo chown /htdocs ...??? <UndiFineD> indeed, for a open source organisation that has quite a generous income compared to others, it is silly they have not reached consensus <cprofitt> http://www.computerhope.com/unix/uchown.htm <UndiFineD> hope is good <UndiFineD> especially from wbai <pleia2> jappie: sudo chown jappie:jappie htdocs/ <cprofitt> +1 pleia <pleia2> jappie:jappie gives htdocs/ the owner and group of "jappie" (every user has a group of their own name too) <jappie> pleia2, thanks that worked (off course!)...Now I need to change the permissions back, right? What would be the recommended setting? <pleia2> jappie: if your user is the one that will be editing files there, you can leave it that way <jappie> I mean the /htdocs is stil in 777 mode <pleia2> ah yes, you want to at least change that to 755 <bioterror> cprofitt, yeah, my internet connection cut off for a while <cprofitt> no problem <cprofitt> did you catch pleia's correction on the chmod? <cprofitt> jappie: not sure what it was, but we will need to return it to that... <cprofitt> pleia2: 755? <pleia2> 755 gives all files executable bit, which isn't required for files but the directories need it <jappie> cprofitt, yes I just changed the permissions back! <cprofitt> cool <UndiFineD> sudo chmod 755 /htdocs <jappie> yeap! <pleia2> if you're interested, the values for these crazy numbers are: read (4), write (2), and execute (1) <pleia2> and positions in "755" are user who owns it, group and everyone else <cprofitt> so a 5 = read and execute <cprofitt> a 3 would be write and execute <cprofitt> etc <pleia2> so owner gets read + write + execute (4+2+1), group and other gets read and execute (4+1) <pleia2> :) <jappie> I am starting to get it...you want everybosy to be able to access the file but not write to it! <pleia2> yep <jappie> alrighty! <aveilleux> chmod can use symbolic names now... you don't have to use the octal permission numbers anymore <jappie> Now the next thing....when I try to open a website on xampp, i get : Access forbidden! You don't have permission to access the requested object.... <UndiFineD> aveilleux, you mean rwxr-xr-x ? <aveilleux> UndiFineD: No, more like a+r g+rw u+rwx <UndiFineD> ok, maybe in some logic that can be eeasier, but I dont get it, how is it eassier that 755 ? <pleia2> more intuitive if you don't know the number logic <jappie> I think I solved my problem.....I need to set the permissions for the folders that "group" and "others" can "access files"... and then it works! <cprofitt> jappie: yep <cprofitt> others can read and execute <cprofitt> so a 5 <cprofitt> 755 <cprofitt> would be the total <jappie> So do i need tp do this for every folder within /htdocs separately? or can I do this all at ones? <cprofitt> you could do it recursively <cprofitt> but the rights should not have changed on the other ones... <cprofitt> I have to run home and help my daughter... <cprofitt> I should be back on later, but pleia2 can likely get you all set with the web stuff <cprofitt> see you all a little while from now <jappie> cprofitt, thanks! <cprofitt> you are most welcome <Cheri703> I'm completely unfamiliar with writing scripts, but I want to make one. is there a super basic tutorial somewhere? or if I tell you what I want, can someone hook me up? :) (it's literally like, ssh, enter password, start program, I just do it OFTEN, and want to simplify the process) <pleia2> don't be scared off by the title, it starts off gently: http://tldp.org/LDP/abs/html/ <aveilleux> This is what I learned how to script from <pleia2> between that and the book Unix Shells by Example I learned most things :) <Cheri703> ok, awesome :) thanks * Cheri703 is not a programmer and usually has her brother write these things, but he's at work <Cheri703> can I just state for the record: the F/OSS world has an unhealthy fascination with recursive acronyms <pleia2> heh, yeah <Cheri703> it's ridiculous <Cheri703> also, I'm already a wee bit lost on this tutorial thing -_- I'll keep reading <UndiFineD> what is wrong with floss'ing ? <pleia2> Cheri703: you also may want to try googling for what you're trying to do, there are zillions of bash examples that people have already written online <Cheri703> good call <Cheri703> oh, this is off topic pleia2 but I printed out some "finished" business cards today :) <pleia2> like "rename all files in a directory with bash script" or "pull data $foo from the ls command" <aveilleux> Or one of us could do it :P <pleia2> Cheri703: yay! I really need to get some proper ones done... <Cheri703> I get the clean edge avery cards and print my own :) <pleia2> yeah, I use those but I don't have a color printer <Cheri703> I got a 500 pack a few years ago for $20 and still going strong ;) <pleia2> I just need to get some moo cards and be done with it <Cheri703> well, you could take them somewhere and get them done, probably still cheaper <jappie> bbl <Cheri703> friend of mine has some moo cards <Cheri703> woo google! :) I now have saved myself several steps, several times per day/week <UndiFineD> you found a script ? <Cheri703> yeah, was able to just toss the program I wanted into it instead of the one that was there <Cheri703> :) <Cheri703> now instead of "open terminal, ssh, password, program name" it's "click launcher, password" <UndiFineD> you do ssh, if you export your public key to the ssh server, you do not even need a password <Cheri703> yeah, but since I'm using my netbook, I'd rather limit what access someone would have if it were stolen <Cheri703> where do icon files get stored? <Cheri703> like for a specific program <aveilleux> /usr/share <UndiFineD> /var/share/icons has quite a few <Cheri703> k, thanks <Cheri703> awesome. now I have a launcher that has the correct icon, even though the program isn't even installed locally :) <pleia2> shiny :) <BeanLite> Hi, I have a brand new laptop, and trying to set up a dual boot Win 7, Ubuntu machine. Unfortunately, I made a mistake when trying to set up the partitions, and need some help getting back on track. Is anyone available to help? <ibuclaw> BeanLite, what's the current predicament look like? <BeanLite> Additional details: I didn't realize you were only allowed to have 4 primary partitions. I tried to partition the 4th moving a huge chunk of available hard drive space, and now the space is simply unallocated and unavailable to be used. I need help either reversing my partition attempt or how to make the unallocated space usable again. <BeanLite> My laptop: Samsung Q430, approx 500 GB HD <BeanLite> Windows 7 preloaded <deejoe> BeanLite: you might get away with deleting just one of the primary partitions, and then taking all the unallocated space and putting it in a single extended partition, which you can then divide up into logical partitions. <deejoe> BeanLite: you would want to make an archive onto another disk of what's in that partition first, though! <BeanLite> I think there was data in all 4 partitions. <BeanLite> Ok ... here is my partition status: <BeanLite> sda1 (nfts) recovery 15GB; sda2 (nfts) 100MB system; sda3 (nfts) 100GB; sda4 (nfts) 3GB; unallocated 347.66 GB <BeanLite> Prior to my attempts to repartition, there were about 3GB of data in sda 4, and I don't think I should touch the other 3. <BeanLite> How do I go about archiving sda4? <ibuclaw> BeanLite, what's on sda4? <BeanLite> I'm not sure. This is a brand new laptop and I wanted to set things up before doing anything significant with the laptop. How do I find out that info for you? <ibuclaw> Mounting the partition usually helps. =) <BeanLite> How do I mount sda4. I'm currently using the UbuntuCD, and I'm operating the "trydemo." I currently have GParted open. <kristian-aalborg> hi, anyone got alpine to work with gmail? <BeanLite> ibuclaw, what do I need to do to help you? <ibuclaw> BeanLite, the Places menu... * ibuclaw is in and out currently =) <BeanLite> Ibuclaw ... I got your first comment to go the Places menu, but then the following message was displayed "***ibuclaw is in and out currently =)" Are you still there? <ibuclaw> BeanLite, on the Top panel, there is a Places menu which should list all drives <BeanLite> Correct. <ibuclaw> mount the 3GB one, see what's inside <BeanLite> Click on the 3.2 GB filesystem, and then click on the icon on my desktop ... ok. <ibuclaw> I'm assuming: <ibuclaw> sda1 (nfts) recovery 15GB; <-- is for Windows Recovery <ibuclaw> sda2 (nfts) 100MB system; <-- is for Windows boot <BeanLite> "$recycle.bin" "system volume information" and "bootsqm.dat" <ibuclaw> sda3 (nfts) 100GB; <-- is your windows root (C:/ ?) <BeanLite> I believe you are correct on all sda assumptions. <ibuclaw> recycle bin?? <ibuclaw> bootsqm.dat is a residue of a checkdisk <BeanLite> "$recycle.bin" <BeanLite> Yes ... I ran a checkdisk prior to my partition attempt based on instructions I found on a ubuntu documentation help description. <stlsaint> BeanLite: oh you managed to lure out ibuclaw!!! Your in luck!! <ibuclaw> </lurk> <stlsaint> lol <BeanLite> Thank you stlsaint ... I had a feeling I had a real guru helping me out. <stlsaint> ;) <ibuclaw> I know bugger all about windows, sad but true. =) <ibuclaw> BeanLite, so you shrank sda4 <BeanLite> Correct ... I had over 300GBs of space and I tried to separate a very large chunk of that for my ubuntu shell. <ibuclaw> It *could* be that the OEM meant for it to be a data partition then <BeanLite> Looking back on it, I should probably set up about 200 GBs for ubuntu. <ibuclaw> ie: Windows *may* be configured to point your Home/Documents directory to that partition. <BeanLite> What I've learned so far, correct me if I'm wrong, when I tried to set up a 5th primary partition, I couldn't do that, so it took the separated HD space and it was "unallocated." <ibuclaw> You can only have 4 partitions of a Disk <BeanLite> Yes, that's what I've learned subsequent to my attempt. <ibuclaw> *4 Primary Partition <stlsaint> looks like somebody is going logical/extended <BeanLite> So is there a way to get the "unallocated" HD space back into sda4, and then set up ... yes ... <ibuclaw> yep, and what I'm trying to deduce is whether or not deleting sda4 will cause Windows to have a hissy fit <BeanLite> ahhh ... <BeanLite> ok ... what information do you need to help make your deduction? <BeanLite> Happy to do whatever you need. <BeanLite> PS - I'm writing to you from a different laptop, and have the other one right next to me. <BeanLite> So I can do whatever you need and keep this channel open. <stlsaint> BeanLite: ^^ always best <ibuclaw> BeanLite, If it were me. Boot Windows, look for 3GB partition, check what it is mounted as <BeanLite> ok ... I will reboot, remove the ubuntuCD and I know exactly where the 3GB partition is ... one sec while I do that <ibuclaw> I can't remember, is it Start-> Right Click on 'Documents' -> Properties ? <ibuclaw> will tell you the location of the Home folder for Windows <stlsaint> for home folder is root of main drive no? <BeanLite> I can tell you from prior review, that I can see the 3GB partition in "My Computer." <ibuclaw> stlsaint, it doesn't have to be. <stlsaint> ibuclaw: aye * stlsaint fades to the misty background..... <ibuclaw> I'm just curious why the OEM would set it partition structure that way <ibuclaw> either A: data -> useless, can delete <ibuclaw> or B: home -> dependent, update windows settings, then delete <BeanLite> When I open up "My Computer" I can see C: drive (which is what we thought our primary drive was), and then I can see the D: drie (2.91 GB free of 3.0 GB) <ibuclaw> BeanLite, and it's completely empty as your concerned? <BeanLite> Ok I have opened up the Document Properties section ... <BeanLite> My Documents C:\Users\my name; Public Documents (C:\Users\Public) <BeanLite> I just clicked on the D: drive ... the only thing I see is bootsqm.dat <BeanLite> Did that answer your question? <ibuclaw> BeanLite, yeah. <ibuclaw> Just a data partition. <ibuclaw> You can boot Ubuntu LiveCD, System->Admin->Partition Manager <BeanLite> Great ... so you are thinking I should delete sda4, and then get the unallocated space back into sda4? <BeanLite> ok ... rebooting <ibuclaw> delete sda4 <ibuclaw> create new Extended Partition <ibuclaw> and then perhaps 3 or 4 Logical partitions inside <BeanLite> I should use the "trydemo" section of the UbuntuCD correct? <stlsaint> you must have made your own remastered livecd for it to say "demo" >:) <BeanLite> Actually, I sent a $10 donation, and ordered a 10.04LTS CD. When I boot up it gives me the option to "try ubuntu 10.04LTS" or "install ubuntu 10.04LTS" <BeanLite> Use the "try" option to be altering the partitions? <BeanLite> I'm going to head over to "try" because that is how I could access GParted. <stlsaint> BeanLite: right, try ubuntu, no word there that says "demo" :P <stlsaint> BeanLite: dont mind me, just being anal ;) <BeanLite> sorry ... my bad <BeanLite> No no ... accuracy is important if I actually want accurate help. <stlsaint> np <BeanLite> Ok ... I've highlighted sda4, clicked on partition, and I'm on "delete." I'm going to select unless you say ... "NO." <BeanLite> ok ... deleting sda4 <BeanLite> "All operations successfully completed" <BeanLite> Selecting on the unallocated, click on partition, and select new ... <stlsaint> ibuclaw: poke ^^ your time to shine <BeanLite> I have the "create new partition" screen now open ... <ibuclaw> BeanLite, create new extended <BeanLite> Free space preceding and following MiB is currently 0, and New size is 359077 ... Create as = extended partition; File system = extended <ibuclaw> yep <BeanLite> Click Add? <ibuclaw> yep <BeanLite> great ... <ibuclaw> then click on the extended partition, and select Add again. <BeanLite> "all operations successfully completed" <ibuclaw> 20GB should be OK for Ubuntu root partition <BeanLite> ok ... update ... there is an "unallocated section between sda 3 and 4 (6.52 MiB) <ibuclaw> BeanLite, doesn't really matter, does it ? <BeanLite> sda 4 now has 350.65 GB ... and there is an unallocated section of the same size inset <BeanLite> I just wanted to make sure that is what you expected. <BeanLite> Clicked on sda4, when I selected partition there was no "add" option <ibuclaw> BeanLite, the unallocated space inside the extended <BeanLite> ok ... clicked on that, then partition and new? <ibuclaw> yeo <ibuclaw> 20GB should be OK for Ubuntu root partition <ibuclaw> doesn't matter what type of partition you choose yet... <ibuclaw> then you can create a 3 or 4GB swap partition <ibuclaw> and then the rest of the unallocated space is up to you to decide what to do with it. <BeanLite> 20GB = 20480 mb ... and you said logical or extended doesn't matter ... <BeanLite> ok ... turning off round to cylinders <BeanLite> clicking add <ibuclaw> BeanLite, no, the filessytem format doesn't matter <ibuclaw> the filesystems all need to be Logical <BeanLite> ohhh ... logical or extended <BeanLite> ok ... changing <BeanLite> ok ... set to logical and ext2 <BeanLite> clicking add <ibuclaw> might be a moment with ext2... <BeanLite> Error occurred ... <BeanLite> "An error occurred while applying the operations." <stlsaint> uh oh <BeanLite> That's what I said. <ibuclaw> BeanLite, any way you can elaborate on that? <ibuclaw> usually there's some form of dropdown <BeanLite> ok ... <BeanLite> "Important - If you want support, you need to provide the saved details! See http://gparted.sourceforge.net/larry/tip/save_details.htm for more imformation" and the OK button. <BeanLite> I've been to this webpage before ... I can click on save details but I need to do several commands to save it to a flashdrive. <BeanLite> I had trouble doing this when I tried it earlier. <BeanLite> I have no further option for a drop down. <ibuclaw> mkay. <ibuclaw> screenshot time perhaps? :~) <BeanLite> My understanding is that the website will give you the details but you don't actually see them until you get the file pulled. <ibuclaw> if you close that error window and take a screenshot of the partition layout as gparted sees it ->post here or /pm <BeanLite> ok ... closing the window without saving the details <BeanLite> I have the screenshot on my flashdrive, which is open. <BeanLite> how do I get this to you? <ibuclaw> image hosting site usually <ibuclaw> http://imageshack.us/ <stlsaint> ibuclaw: my favorite image hosting site <ibuclaw> I prefer my blog <BeanLite> ok ... website open ... browsed, found my file ... <BeanLite> uploading <BeanLite> ok ... now what? <BeanLite> Am I emailing this to you? <ibuclaw> BeanLite, you can post the link here <BeanLite> http://img189.imageshack.us/content_round.php?page=done&l=img189/9409/screenshotdn.png <ibuclaw> BeanLite, ok, so click on the bottom partition listed (unallocated space) <ibuclaw> Add <ibuclaw> Partition type: Logical <ibuclaw> Partition format: ext4 <ibuclaw> Size: 20GB <ibuclaw> make sure it is located as far left as you can get it <ibuclaw> so it should be 0MB before, 330GB after <ibuclaw> OK <ibuclaw> Add <ibuclaw> Partition type: Logical <ibuclaw> Partition format: swap <ibuclaw> Size 4GB <BeanLite> wait <ibuclaw> ditto, far left <BeanLite> query - you said that it should be 0MB before (no prob) <BeanLite> and then 330GB after ... but didn't you want me to shrink the number to 20GB? <ibuclaw> BeanLite, when creating the partition, there should be an image on top of all the information <BeanLite> yup ... see that <ibuclaw> you can click + drag + resize it <ibuclaw> click + drag to the left <ibuclaw> shrink it so it is about 20GB <ibuclaw> doesn't need to be exact. <BeanLite> ok ... and it is as far left as possible <BeanLite> logical and ext4 <ibuclaw> click OK <BeanLite> clicking off round to cylinders <ibuclaw> then click Add again <ibuclaw> and do the same, but with a 4GB Swap partition <BeanLite> on the unallocated section again <BeanLite> how I do designate swap ... i'm limited to logical and extended in "create as" <ibuclaw> BeanLite, create as Logical <ibuclaw> Format -> swap <BeanLite> "linux-swap" ... found it <ibuclaw> as for the remainder of the space, you can do what you want with it. <BeanLite> the computer reset the free space preceding to 615, make that 0? <ibuclaw> BeanLite, yes <BeanLite> ok 0 proceeding, size set, logical partition and linux-swap, round to cylinder off, ready for Add? <ibuclaw> yes <BeanLite> now complete both operations <BeanLite> error occurred <ibuclaw> screenshot? <BeanLite> "error occurred while applying the operations" <BeanLite> ok ... brb <BeanLite> http://img440.imageshack.us/content_round.php?page=done&l=img440/4879/screenshot2ne.png <ibuclaw> 8GB swap is overkill... >:) <kristian-aalborg> hi all <kristian-aalborg> I accidently ran centerim as root <BeanLite> sorry ... trying to go fast for you ... do the same thing over and shrink part 2? <BeanLite> Or is the problem something else? <kristian-aalborg> and did a lot of nice changes that aren't saved by my default user, of course <kristian-aalborg> can I copy the settings? <ibuclaw> BeanLite, there's a '+' on the 'Create Logical Partition' part of the pending operations window <ibuclaw> that should tell you what step it choked at <BeanLite> Message: "create empty partition" + libparted messages "unable to satisfy all constraints on the partition" #ubuntu-beginners 2010-11-02 <BeanLite> ibuclaw ... just wanted to make sure you aren't suffering from a heart attack or boredom ... you ok? <ibuclaw> BeanLite, https://wiki.ubuntu.com/LucidLynx/ReleaseNotes#Partition%20alignment%20changes%20may%20break%20some%20systems <BeanLite> Are you saying my system is broken? <BeanLite> The link sent me to a section saying "Partition alignment changes may break some systems" <nlsthzn> Hi all :D <BeanLite> ibuclaw ... the laptop is brand new ... should I be taking it back to the store and report it as broken? <seidos> BeanLite, what make and model? <BeanLite> Samsung Q430 <BeanLite> Which is not what was listed in the danger grouping. <seidos> BeanLite, what did you check against? <BeanLite> The link ibuclaw sent me ... https://wiki.ubuntu.com/LucidLynx/ReleaseNotes#Partition%20alignment%20changes%20may%20break%20some%20systems <BeanLite> In the partition alignment my break some systems, the notes warn about certain types of Asus machines. <seidos> BeanLite, ah. well, i couldn't get 10.04 to install on my notebook. it isn't listed anywhere either. <BeanLite> So what should I do? What is the next step? <Cheri703> quick question: where does rhythm box save ripped tracks? <BeanLite> ibuclaw ... seidos was working with me for a little bit, but he just left and I still don't have an answer ... Is my system cracked, and should I bring it back to the store? If the answer is no, I just need an idea of my next step. Should I come back another night and seek out assistance? If yes, then thank you very much for all of your help. <ibuclaw> BeanLite, "By default, Ubuntu 10.04 LTS aligns partitions on disk to 1 MiB (1048576 bytes) boundaries. This ensures maximum performance on many modern disks, particularly solid state drives but also new "Advanced Format" disks with physical sectors larger than the traditional 512 bytes. Very few systems nowadays need the old alignment, used in the days of MS-DOS when it was useful for partitions to start at the beginning of a cylinder." <ibuclaw> How this ties in with "unable to satisfy all constraints on the partition": <ibuclaw> The way the partition layout is formatted (I assume aligned to cylinder) is not supported anymore. <BeanLite> ok ... does that mean that I need to pick numbers that exactly calculate to certain numbers ... for example 4GB = 4096 MB, and I need to pose exact numbers instead of just sliding the bar to an approximate position? <BeanLite> or are you saying ... do not uncheck "round to the cylinders" <BeanLite> ibuclaw - SUCCESS! While I was waiting for you, I started to experiment. I followed your instructions to the "T" except I left the "round to the cylinder" box checked, and used exactly round numbers. I have saved 100GB as sda5 and 4GB as sda6. <BeanLite> Now that my partitions are set, should I go back to the title screen and now pick the option "install Ubuntu 10.04LTS?" <BeanLite> Welcome back stlsaint <stlsaint> thanks <BeanLite> ibuclaw has been great, and he is clearly in demand by most of the rest of room. Thanks for the recommendation. <stlsaint> BeanLite: yea once you get ahold of him you sorta have to try your hardest to pick his brain as long as you can before he flys off again <BeanLite> yeah ... I think he has flown off ... but I might have gotten just enough out of him to be able to proceed from
{'channel': 'ubuntu-beginners', 'month': 11}