=== dayangkun_ is now known as dayangkun === glebihan_ is now known as glebihan [01:46] New bug: #1096491 in etckeeper (main) ""etckeeper unclean" is broken" [Undecided,New] https://launchpad.net/bugs/1096491 === cpg|away is now known as cpg === cpg is now known as cpg|away [02:11] New bug: #1096495 in etckeeper (main) "manpage talks about /etc/.metadata" [Undecided,New] https://launchpad.net/bugs/1096495 === cpg|away is now known as cpg === sw0rdfish- is now known as sw0rdfish [03:01] New bug: #1096505 in etckeeper (main) "manpage fails to document "etckeeper init" for restauration of file permissions and ownership" [Undecided,New] https://launchpad.net/bugs/1096505 [03:32] anybody get a Active Directory Samba4 server running? [03:48] not yet [03:48] I plan to soon though [03:48] I tried to join one to an existing AD and it wouldn't work, apparently some issue with a 2003 AD and exchange 2007 === hack is now known as megha [05:27] i tried to join an existing one just now (in a test lab) and I am getting this same error: http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1088003.html [05:30] i have installed window 7 on ubuntu12.04 but last stage of windows did not finesh and machine goes in reboot phase ,how do repair this or ,is there a way to repair windows === cpg is now known as cpg|away [05:44] Hey all. I am migrating to a new server, and I want to setup LVM. I can only do this on new, unpartitioned disks correct? [05:45] I can't "add" LVM to old hard disks that already have data/are formatted...? [05:58] anyone around? curious if the ubuntu server installer changes the flags of all my disks to 'lvm'... if I can change them back to 'ext4' and the data still be intact? [05:58] to my knowledge no mkfs commands were passed.... [06:57] so can I migrate an ext4 disk to LVM without losing data...? [06:58] I haven't formatted any disks, so I honestly hope not... === cpg|away is now known as cpg [09:19] Hi. Is there yet a way to install an efi system to mdraid to be bootable from both disks. [10:53] i have installed windows on linux with kvm ,i want to access windows machine over internet for that what i should do i have utm (firewall/vpn/routeing /av/spam/proxy) from utm i plan to use nat === cpg is now known as cpg|away [14:52] SpamapS, see privmsg. or -motu [14:55] or both :p [15:15] Anyone know a good guide for setting resolutions with Ubuntu Server 12.10 (on a virtual machine)? I tried changing some things in /etc/default/grub, but to no avail [15:18] hello everyone [15:18] I'm trying to set up a headless samba [15:18] server [15:18] i've got everything installed [15:19] and i've auto mounted disks and everything [15:19] but I can't seem to figure out the headless part [15:20] erm - what is it you don't understand about headless? [15:20] well, i've configured ssh [15:20] i've got xming installed on my windows box [15:20] I can't figure out how to connect the two [15:21] i've done googled my heart out at this point [15:21] just launch putty and enable x11 forwarding [15:21] or are you trying to get the whole linux desktop on windows? [15:22] that's not a server thing, though [15:22] no, it's 100% cli [15:22] * RoyK looks at the channel name [15:22] RoyK: let me see if I can figure that out [15:22] * Ubiquity4321 looks at his 12.04 server install [15:23] that was the simplist explanation i've come across tbh RoyK === A is now known as Guest1600 [15:39] Hello all. I committed some sin last night, and I'm hoping it's resversible... [15:39] I was messing around with LVM while installing Ubuntu last night, and I converted existing ext4 disks to LVM. I didn't run mkfs so the drives should still have all the data... can I convert them back to ext4, or somehow otherwise get the data off the drivers? [15:49] arrrghhh: what did you do? pvcreate? [15:50] RoyK, unfortunately it was done by the ubuntu installer... so i'm not sure exactly. [15:50] so, is the partition table the same? [15:50] should be [15:50] I tried changing the flags in fdisk, to no avail [15:50] and was /home on a separate partition? [15:51] fsck might help [15:51] /home doesn't really matter, it's the data disks [15:51] check what flags are available there [15:51] cool [15:51] just fsck /dev/sddX? [15:52] Hrm... I might have to do this from a liveCD [15:52] you probably should [15:52] erm [15:52] alrighty rebooting [15:52] have you reinstalled? [15:53] Yes, I finished the install last night... but I didn't install on the LVM drive [15:53] if the filesystem is recreated, then all you have of choice is a restore [15:53] or any of the LVM drives [15:53] did you have separate ext4 filesystems on all of them? [15:53] yes [15:53] they were all flat ext4 drives before I did the stupid deed last night [15:54] do you have a backup? [15:54] Off-site, but yes [15:54] I'd obviously rather avoid that if I can, but there is backups of pretty much everything.... even /etc [15:56] arrrghhh: btw, there's no point of doing this from a live cd if the filesystems aren't in use [15:57] oh ok cool [15:57] when I sudo fdisk -l the disks no longer show as /dev/sdX, they show as /dev/mapper/OldOS-OldOS for example [15:58] sorry - don't know that [15:58] arrrghhh: what does cat /proc/partitions have to say? [15:58] Hrm... I'm not sure how to fsck this [15:58] lets see [15:58] hey, those look familiar [15:59] * RoyK doesn't know his way around the device mapper [15:59] hehe. I appreciate your help :) [15:59] If I can revive without going to backups it will save a LOT of time. [15:59] how many drives? [16:00] uhm... let me pastebin the output [16:00] http://pastebin.com/WdTGpFAu [16:01] 6 disks. 1 of those (sdg) is a flash drive I used to install Ubuntu [16:02] arrrghhh: I'd use a RAID for such amount of drives if I were you [16:03] RoyK, they're all different sizes [16:03] but then, looks like they're of different sizes [16:03] well, except for two [16:03] :) [16:03] 'cept sdb and sdc [16:03] I'm going to do 4tb drives and RAID5 eventually [16:03] better start with smaller ones - more bang for the buck [16:03] But... the first 4tb has yet to arrive :) [16:03] you can always add more drives to the raid later [16:03] Yea, but they have to be the same size... [16:04] yes, so start out with 2TB drives [16:04] or 3TB [16:04] 4TB are expensive [16:04] I couldn't find any WD caviar black's in 3tb [16:04] and 2tb... I guess I could've [16:04] but that's neither here nor there [16:04] I have a few 2TB WD drives [16:04] and a few Hitachis === Guest1600 is now known as w0rmie [16:05] Some of these drives are going away my friend [16:05] But unfortnately they cannot today [16:05] arrrghhh: http://paste.ubuntu.com/1503573/ [16:05] RAID6 eh? fancy :) [16:06] arrrghhh: also, if you replace all drives in a raid with larger drives, the raid will grow :) [16:06] just don't use partitions [16:06] Hahaha [16:06] raid6 == paranoia == safe [16:06] indeed [16:06] survive a double drive failure [16:06] RoyK, I'm working my way towards RAID.... [16:06] I find it comforting to know my data is safe ;) [16:07] I wanted to learn about LVM, and like an idiot I added all my drives to it last night [16:07] raid-5 works too, though [16:07] when I realized it had done that, I tried to undo it and seemingly could not... [16:07] arrrghhh: I'm afraid it might be hard to rollback on that [16:07] * RoyK blames saturday nights beers [16:08] oy [16:08] I rushed into the install a bit. I was tired and excited... stupid. [16:08] anyway - if you can afford 3-4 2TB WD Red drives, that should be rather good for a home raid [16:09] Yea, I'll get there :) [16:09] I just put a mobo in that can handle more disks [16:09] and RAM [16:09] Wanted to rebuilt my 32-bit server 64-bit [16:09] why not just a 2port SATA controller? [16:09] or two [16:09] old mobo only had 2 RAM slots [16:10] * arrrghhh wanted moar speed [16:10] well, for a home server, how much do you need? [16:10] lol [16:10] it won't be much faster with more RAM, unless you have very little [16:10] my indexer site... [16:10] it had built a pretty big freakin db [16:10] ah [16:10] I haven't really spent anything on this server since I built it in 2008 [16:11] and I went really cheap on it then :) [16:11] So the server had done a great job until I started this stupid indexer... [16:11] I bought some 2-port controllers off ebay [16:11] works like a dream ;) [16:11] how's the speed? [16:12] arrrghhh: about the same as my pci-e v1 can deliver [16:12] Tryin to think of the expansion slots left on that oldboard too [16:12] meh [16:12] the speed is only limited by the spinning rust [16:12] So... you don't think I should even try fsck? [16:12] two drives on a single pci-e v1 lane is ok [16:13] well, you can, but I don't know if it's worth the time and the headache, if you have a backup [16:13] also, if you reconfigure this system, stick to single drives for now, not lvm [16:13] well.... I'm looking at this here... [16:13] since if one of the drives die, it may take down the whole lvm volume [16:14] oh [16:14] I didn't realize LVM was bad like that... eek [16:14] no, it's not bad at all [16:14] I guess I need to wait for RAID before I LVM... [16:14] but it requires the underlying devices to work [16:14] I use LVM on top of RAID-6 [16:14] so that I create a volume for each purpose [16:15] Yea. I was planning on using LVM for that... [16:15] but before I took the RAID jump [16:15] that's rather flexible [16:15] and then the MD code can take care of the redundancy [16:15] I lost a drive just after christmas [16:15] no problem, not even a reboot, the spare took over, rebuilt in a day or so [16:16] if that had been a concatenated LVM, all my data would have been lost and I'd have to restore from backup (on crashplan, and that's *slow*) [16:17] RoyK, which is what I am restoring from [16:17] and I'm trying to avoid... [16:17] hehe [16:17] how much data? [16:17] you really want to know? === hack is now known as Guest17317 [16:17] I think he does. [16:17] arrrghhh: it may be faster from where you are - I'm in .no [16:18] 2.4tb [16:18] ok [16:18] give it a month ;) [16:18] yup [16:18] I can understand why you want to try to fix this... [16:18] fsck [16:18] I had to do every single drive too... lol [16:18] fsck -N [16:19] is a good start [16:19] when i fsck myself, I do it gooood. [16:19] hrm OK [16:19] or start with one of the smaller drives for testing [16:19] ok [16:19] arrrghhh: /dev/mapper/raid-ymse 6.3T 4.2T 2.1T 67% /raid [16:20] :) [16:20] most of that's on crashplan - I hope I don't have to restore from there... [16:20] lol [16:21] So I can't seem to fsck -N /dev/sdf... and if I do sdf1 it says "fsck.LVM2_member: not found" [16:21] fsck.ext4 [16:22] or 'fsck -t ext4', which is the same thing, only portable [16:22] btw, what does lvscan have to say? [16:22] ok, what should I pass? [16:22] lvscan lets see [16:23] or pvscan [16:23] pastebin those and lvscan [16:23] http://pastebin.com/jUj5Dttc [16:24] the only "healthy" one is VG OS... [16:25] I guess starting with lvremove/pvremove on one of those, perhaps oldos?, might be worth a try [16:25] the tv shows and the movies are perhaps downloaded? [16:26] you can't do anything until the partitions aren't in use [16:26] they are now [16:26] so perhaps better use a live cd, but then, that might start lvm as well [16:26] so, if you can afford to lose one of those, like oldos, test with that first [16:26] ok [16:27] backup would ironically be the one to test with since its the smallest [16:27] so rebooting to livecd... [16:28] yeah, try that, if lvscan shows the volumes active after bootup, well, it's the same thing === Guest17317 is now known as hack [16:29] I'll probably have to install lvm2 on the livece [16:29] cd* [16:29] don't [16:29] just don't [16:29] que? livecd won't have it [16:29] try to fsck that device [16:30] ubuntu desktop doesn't support lvm [16:30] oh [16:30] ok [16:30] never mind [16:30] you didn't use it on the old install [16:30] so you don't need it [16:30] ubuntu desktop supports lvm, but you don't want it for this [16:30] ok [16:31] just try to fsck -t ext4 -N /dev/sdf1 [16:32] -N is "don't do anything" [16:32] just to see if it can find the filesystem [16:32] fsck.ext4: No such file or directory while trying to open ext4 [16:33] hrm.. [16:33] 1 sec [16:38] RoyK, ok... i got it to run on the live environment [16:38] did it find the filesystem? [16:38] but copy/paste is now difficult heh. it says the superblock could not be read [16:38] "or does not describe a correct ext2" [16:39] it says I should run e2fsck with an alternate superblock [16:39] "e2fsck -b 8193 " [16:39] try that with -N [16:39] ok [16:39] so that it doesn't do anything [16:40] hrm [16:40] it says bad magic number in superblock while trying to open /dev/sdf1 [16:40] then the exact same message about running e2fsck -b 8193 [16:40] I guess I just run it on one of the drives and hope... I have a complete backup of this drive [16:41] and it's the smallest drive haha [16:41] http://linuxexpresso.wordpress.com/2010/03/31/repair-a-broken-ext4-superblock-in-ubuntu/ [16:41] the superblock is located several places, but you need to know where to find it ;) [16:41] hrm [16:41] interesting [16:42] I didn't know the trick with fsck -n :) [16:42] s/fsck/mke2fs/ [16:43] o wow [16:43] it's doing stuffs [16:44] this might actually work. thank you so much RoyK :) [16:44] you'll have to re-run it without -N [16:44] yup, I am now... [16:44] well [16:44] the e2fsck -b command [16:45] it should rewrite the original superblock [16:45] Having a problem with my cifs network shares after extetended idle on server, is there any way to tell the server not to sleep/suspend etc. so when services go to access the shares they are always there. Thanks [16:45] if that works, try to mount the filesystem [16:46] if that works, do the same for other filesystems and order a good champagne for me ;) [16:46] if it doesn't work, order a hit on royk [16:46] it's asking me to fix a ton of crap [16:46] that's normal [16:47] you've messed up ;) [16:47] hrm [16:47] ok, it's done [16:47] fdisk -l still shows the filesystem type as lvm? [16:47] try to mount it anyway [16:47] ok [16:48] patdk-lap: heh [16:48] yay! [16:48] i had to force it [16:48] -t ext4 [16:48] :) [16:49] force the mount that is. [16:49] RoyK, mind if I PM you? [16:49] fdisk -l will probably remember what was set on boot [16:49] arrrghhh: not at all [16:52] arrrghhh: btw, try to reboot now, still on the live cd, and check what fdisk -l says [16:52] F3Speech: a server installation should never suspend [16:56] RoyK, so I rebooted and fdisk -l still shows it as lvm? [16:56] what is the partition type? [16:56] 8e [16:56] Linux LVM [16:56] change it [16:56] to 83? [16:56] mhm [16:56] k [16:58] reboot again? I tried to just do a straight 'mount' after writing that change in fdisk, and it still thinks it is lvm until I -t ext4.... fdisk -l just shows the type as "Linux" [16:59] The installer showed disk types as ext4, but maybe it wasn't just showing fdisk output... [16:59] well, it showed them as ext4 before I screwed them all up lol [17:00] I donĀ§t think it'll change until a reboot [17:00] ok [17:00] after mounting iscsi file (not disk) on linux how do i add /copy (or create a file )file to that image (in the image ) [17:00] RoyK, hi [17:01] ho [17:02] RoyK, hrm... well without specifying the filesystem type it doesn't mount [17:02] but I don't think that really freakin matters at this point. so long as fstab can mount it, I will be golden. [17:03] arrrghhh: then I suggest you move data around, recreate filesystems etc, and nothing should be lost [17:03] kk [17:03] 4tb hdd is going to be here tomorrow :) [17:03] arrrghhh: what does pvscan/lvscan say now? [17:04] hrm... I'd have to boot back to the server install [17:04] arrrghhh: then use that for backup storage, and get a small amount of 2TB WD Red drives for a RAID [17:04] arrrghhh: you can apt-get install lvm [17:04] even on a live cd [17:04] eh I guess [17:05] so [17:06] It says /dev/sdf1 is still a physical volume [17:06] Do I need to "remove" these disks from LVM before doing this? [17:07] guess so [17:07] never tried this type of recovery [17:07] do you have room on any of those 1TB drives for the backup data_ [17:07] ? [17:08] nope [17:08] hence why the 4tb is on the way :) [17:08] well, try pvremove, then [17:09] probably have to lvremove first [17:09] yay [17:09] then pvremove [17:09] mount works [17:09] then fsck again [17:09] on the sdf1 dis [17:09] fsck! [17:09] I will have to now fsck all the other disks [17:09] oh? [17:09] lvremove/pvremove probably changed something [17:09] so better fsck -f [17:10] clean [17:10] good [17:10] then pvremove the others [17:10] Network booting from my PXE server stopped working. I changed nothing, didn't even reboot. (UNtil now, to try fixing it.) Two copies of dhclient running (one is for an LXC container). dnsmasq now refuses to start saying the local IP address is already in use. Google is not helpful. Any ideas? [17:10] and fsck as last time [17:10] sweet. [17:10] now to do the rest of the disks [17:10] I should be able to boot back to the server install now right? [17:11] yse [17:11] yes [17:11] cool. fstab is empty on this install so it won't try to mount 'em [17:11] lvm will scan for them [17:11] so remove them from lvm first [17:12] Hi. Is there yet a good way of installing ubuntu on mdraid on efi so that it is boot redundant as well? [17:13] zapotah: no idea, but the general setup is to install grub on both devices, so it should work [17:13] it all depends on your bios [17:13] RoyK: thats how it worked in the olden days with bios, but not with efi [17:13] im talking about pure efi [17:14] zapotah: sorry, don't know [17:14] the server system has no compat module whatsoever [17:14] info on this seems to hidden behind lock and key and buried in the deepest depths of the ocean [17:14] to be* [17:17] and not just on ubuntu but on linux in general [17:17] and im quite baffled by the lack of information since efi is not _that_ new of a thing in computing [17:18] RoyK, thanks again for helping out with the lvm issue. pvremove did the trick, now I just need to do the superblock trick on all my other drives... [17:18] arrrghhh: just don't create lvm on existing devices next time ;) [17:18] hahaha [17:18] I think I've learned my lesson thar [17:18] zapotah, no wonder your confusing me [17:19] it's uefi [17:19] I'm going to wait for RAID before I venture into LVM on multiple disks... [17:19] arrrghhh: just setup md (raid) on a bunch of drives, use lvm on top of that, and you'll be all set [17:19] and it is pretty new, people have only been playing with it in linux for about a year [17:19] RoyK, will do :) [17:20] arrrghhh: make sure it's raid-5 or perhaps -6 - redundancy is good [17:20] I was thinking 5, 6 sounded kinda complicated [17:20] But I like the ability to lose 2 disks... [17:21] eh [17:21] Assuming I'm on top of it, 5 should be enough lol [17:21] arrrghhh: you can start off with raid-5 and change to raid-6 later if you get a lot of drives [17:21] cool [17:22] mdadm --change --level=6 --add /dev/sdX (iirc) [17:22] perhaps add --raid-devices=x [17:22] patdk-lap: it will sooner or later propably be doable more or less the same way it is done now so that the mdraid device itself maps the uuid pointers for the efi boot program from the device uuids and makes it bootable [17:22] or some such way [17:23] and grub is updated along [17:23] to support such a thing [17:23] uefi is sweet. I updated from the internet within the "BIOS" screen. [17:23] everything is possible given time, but it's still too new [17:23] and uefi systems only started coming out a little while ago [17:24] I don't think any of the systems I bought last year are even uefi compatable [17:24] arrrghhh: uefi is full of opportunity but currently support and software implementations are limited to say the least... [17:24] patdk-lap: erm, most servers we got last year had uefi [17:25] RoyK: patdk-lap: every server bought last year were uefi [17:25] I didn't buy any servers last year [17:25] just about 15 workstations [17:25] I am buying several new servers next month [17:26] * RoyK points patdk-lap to the channel name [17:26] and theres this weird ibm server thing that does not for some reason have a compat module... [17:26] royk, I can easily run ubuntu-server on a desktop system :) [17:26] ibm ofc wants to sell a raid card ;) [17:27] zapotah: yeah, let's put a small ARM system with limited memory bandwith into a badass server to do the I/O [17:28] RoyK: exactly and it costs a ridiculous amount of money as well -.- [17:28] yep [17:29] though seeing theres not much choice when comparing the risk of something going fubar with making a custom solution for this I just might go with it all the same... [17:30] definately not happy with it... [17:32] i wonder if windows can manage it either just yet... time to fire up that esxi efi platform and test for the hell of it -> [17:33] Screw it. Moved PXE server to another machine. Working now. The Microsoft Solution. [17:39] zapotah, I just went through a similar adventure in EFI just trying to get ubuntu server installed in the first place [17:40] and in my case I was simply trying to get it to detect the cd or make the networking work so it could install [17:40] qman__: getting it installed with just the efi partition not raid backed was easy enough [17:40] but then the problem hit me [17:41] I never did get netboot working, but I managed to make the CD work by manually setting the USB CDROM type to CDROM emulation [17:41] mine boots normal grub on MBR disks just fine [17:42] the point of course being, documentation is virtually nonexistant, and the consensus is "don't use it if you can avoid it" [17:42] at least with everything I have been able to find [17:43] basically it would be easy if grub installed on both the partitions just made some guid mappings and somehow the partition to be mounted would be fed from grub instead of fstab of whatnot [17:43] though i realize how that would be a suboptimal solution [17:44] and the uefi firmware could boot either of the disks it sees [17:44] and it would result in the system being loaded [17:45] that would be a non-raid and more like a dual partition solution as in reference to a sub-optimal solution [17:46] there would then need to be a mechanism to be aware of both the partitions and update things to both accordingly if needed [17:46] again in my mind, sub-optimal [17:46] well, the thing is [17:46] you can use a raid 1 and read them like normal partitions through the boot stage [17:47] that's how grub did it before it got smart enough to actually read more stuff [17:47] that said I don't know how EFI booting actually works [17:48] qman__: I dont understand it too well either. Thats why Im sort of shooting in the dark :) [17:48] mine's got everything in BIOS compatibility [17:49] qman__: I wish this thing had that option as well. [17:50] one of the more cool features of uefi is that you can load all kinds of uefi programs into the firmware as modules (with limitations this time in flash rom size) without the damn 128kb orom limitation [17:51] * zapotah has dabbled with bios modification and hates this limitation [17:54] http://pastebin.com/WQkebVbA can anyone say why this kickstart partitioning won't work? whenever it gets to that stage I am presented with the default partitioning scheme confirmation. also does 12.04 have kickstart support for logvol yet? I haven't gotten that far but I thought I'd ask since I couldn't find a definitive answer online. [17:55] yeah, it seems like a good system, but it has to actually work first, and we're not there yet [17:55] fyi the default partitioning scheme does not have a /boot partition. [17:58] and I noticed the mistake I made in the volgroup line with the pv name. [17:59] but I haven't gotten that far yet anyways. [18:04] stemid: the documentation on logvol in kickstart is old at best but many features are not supported apparently [18:09] yes I've seen mentions that logvol specifically is not supported but couldn't be sure if it was for 12 or an earlier version [18:10] but regardless, seems like part has problems too. https://bugs.launchpad.net/ubuntu/+source/kickseed/+bug/48311 for example. I'm having to trial&error my way to a working method. I think preseed is superior. [18:10] Launchpad bug 48311 in kickseed "kickstart partitioning fails with --recommended or --asprimary" [Medium,Confirmed] [18:12] RoyK: the cifs error only happens after i guess hour+ i dont have the exact time. Server can run all night while im using it with no problem as soon as i logoff and go bed about hour later i get "CIFS VFS: Unexpected lookup error -112" every minute or so printed to screen [18:12] also not sure if you need to specify the partition to be used as lvm [18:12] kickstart docs say part pv.01 [18:13] and then volgroup pv.01 and so forth [18:13] but it seems like I finally got part to work. now to try volgroup [18:13] partition / --size=1 --grow --ondrive=sda #Rest [18:13] im assuming that is the lvm partition [18:13] that would be part pv.01 instead of part / for lvm [18:13] it will be, later [18:13] I just had to get past the part issues === hack is now known as megha [18:16] https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-options.html [18:16] most of that should work [18:18] thanks I had the old version open http://www.centos.org/docs/4/html/rhel-sag-en-4/s1-kickstart2-options.html#S2-KICKSTART2-OPTIONS-PART-EXAMPLES [18:18] also centos [18:18] at the end is a pretty good example [18:18] it actually looks like it's working with volgroup and logvol now! =) [18:18] the ubuntu documentation pointed to the version i pasted [18:19] it's past the partitioning stage, I just have to boot it up and see how it looks before I declare victory over kickstart [18:19] the ubuntu wiki actually hinted that there was no lvm support in kickstart [18:19] yet [18:20] yes the documentation is old at best in some points :) [18:20] that's why I had some hope left [18:20] wanted to try it [18:20] btw what did you change? [18:21] I'll paste the whole file [18:21] it's going on my wiki in swedish anyways [18:23] just booted it up and it looks good. here's the whole file as it is. http://wiki.sydit.se/dokument:naetboota_ubuntu_12.04?&#kickstart [18:24] ah so it was the lvm partition designation [18:25] it has been so long since i used kickstart last that i can barely remember what it included :) [18:25] I'm glad I can use kickstart instead of preseed because I can also use it for centos and rhel. [18:25] before I have only used preseed to install debian. [19:03] Hey, what do I edit instead of resolv.conf now? [19:03] oh right I include that dns-nameservers in my /etc/network/interfaces... [19:05] or delete resolv.conf and recreate it [19:33] I'm attempting to set up wake on lan. My bios are set and ethtool is configured. I'm looking at my router right now and seeing the packet reach the connection but the computer isn't turning on. Can you help me troubleshoot? [19:34] (ubuntu 12.04 serrver) [19:41] Ubiquity: I don't know if wake on lan is an ubuntu thing [19:41] it's not an ubuntu thing. Just curious if someone can help me troubleshoot it [19:41] for some reason i can't speak on #linux [19:41] even though i've never visited before [19:44] perhaps you need to register with nickserv? === Ubiquity is now known as Alabaster_W === Alabaster_W is now known as Ubiquity4321 [19:46] oh wow i feel dumb [19:46] i'll show myself out [20:09] Hey, is it possible to change the mountpoint of /var after I've installed the system? [20:10] I cp'd the contents of /var to another partition and tried to change fstab and reboot... it wasn't very happy. [20:11] hrm... that didn't work like I expected it to === cpg|away is now known as cpg [20:19] https://help.ubuntu.com/community/KickstartCompatibility "The post install script runs right before the reboot in the installation. " this is a very blurry statement imo because the postinstall script actually runs before user creation. [20:19] which makes it useless for things like ssh keys. [20:19] unless I create users in the postinstall script [20:20] Does anyone here have experience with hosting IRC? [20:23] 363 people and not one response... Wow. The NSA bots are running overdrive. [20:25] !patience [20:25] Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/ [20:25] this channel doesn't move that fast [20:26] 363 people is not very many [20:27] Zer0Glitch: if you post your actual problem/question, someone may be able to help [20:32] can I change /var's mountpoint after installing the OS? [20:32] I'd like to move it to an expandable lvm volme... [20:32] volume* [20:32] you can, but you'll have to do it offline [20:33] too much going on there to try and do it live [20:33] qman__, i just cp'd /var live to the lvm partition [20:33] changed fstab [20:33] and rebooted [20:33] that can cause problems [20:33] because there's lots of lock files and things there [20:33] k. so copy it offline? [20:33] that normally get removed at shutdown [20:33] yeah [20:33] cool [20:33] other than that, it should work ? [20:34] yes [20:34] thx :) [20:34] if you shut down, copy it over, adjust fstab, and boot back up, it should work [20:34] use rsync instead of cp though, make sure the permissions copy [20:34] Zer0Glitch: you should perhaps be more specific. I've hosted a hybrid ircd with anope services about 8 years ago. [20:34] not sure how much that means today [20:34] ah yes. love me some rsync. [20:35] I managed to unmount /var online once. I just shutdown all the services using /var. checked which ones using lsof. but at that point you're better off just doing it offline since the system is not operational anymore. [20:38] Two conjoined questions, actually: [20:38] - Are there resources you can recommend for the setup and secure hosting of an IRC server? [20:38] - Do I have to worry about any security issues with hosting IRC? [20:40] running a public IRC server is a huge undertaking [20:40] you have to manage it full time to defend against people using it to spam and run botnets [20:41] I don't run one because it's too much work [20:42] you need at a bare minimum to have at least one oper on line 24/7 === cpg is now known as cpg|away [20:44] I was wanting to run one so I could embed/link it with my hosted Wordpress blog. [20:45] Would it be better then to embed from someone else's service, who is running as a larger operator? [20:46] unless you already have trustworthy staff that can run it, then yes [20:46] Thanks qman, I appreciate the feedback. [20:47] it sounds to me like you just want to run one channel [20:47] and in that case you should find a network to host you [20:47] Yes, only one channel... Next query: if any of you are hosting wordpress, are there plugins for Wordpress you wouldn't live without? [20:48] I would live without wordpress, every week there is a new security issue with it [20:48] same, wordpress has an abysmal track record for security [20:48] So better to go hosted, rather than hosting it myself? [20:49] if you're set on wordpress, then yes, find a host with a good reputation for fixing things when they break [20:49] because they will [20:50] I presently use 1&1 and PEER1 [20:50] you know all those fedex/UPS/intuit phishing scam emails? [20:50] those were all sent out using compromised wordpress sites [20:51] at one point I had a content filter on my mail server filtering out URLs which contained wp-content [20:51] it was that bad [20:52] Wow. That's pretty bad [20:57] Thanks for your help, guys [21:00] hey qman__ - I'm in the live environment... and I installed lvm2, I can see the logical volume (says it's active at /dev/OS/OS) but when I try to mount it, mount says that special device does not exist? [21:00] is there something else I have to do to initialize LVM in a live environment so I can mount it? [21:00] you need to mkfs on the lv [21:00] such as mkfs.ext4 /dev/mapper/logvolname [21:01] hrm. I did that already... I guess I can do it again, I'm not going to lose anything heh [21:01] I did that in the install tho, not the live enviro [21:01] well, your LVs should exist in /dev/mapper by name [21:01] are they there? === ajmitch_ is now known as ajmitch [21:04] ah if I mount /dev/mapper/OS-OS it works [21:04] for some reason /dev/OS/OS didn't work. no biggie [21:05] rsyncing now :) === cpg|away is now known as cpg [21:11] lol what have I done [21:12] GRUB menu is now stalling...? I am forced to make a selection. How do I fix that? I don't know how I even made it stall like this... [21:12] check /etc/default/grub to ensure that it's got a default selection and timeout configured [21:12] then run update-grub [21:12] k [21:13] could also be a stuck key [21:13] or accidentally pressed key [21:13] I unplugged the kb [21:13] ah [21:14] might be disk order or something getting shuffled around causing it, update-grub should fix that [21:14] hrm... boot still fails on /var. fsck.ext4 says it can't check /dev/sda3 which is my lvm aka /var... [21:14] I wonder if my fstab statement is bad [21:14] if sda3 contains the lvm, you need to not have sda3 in fstab [21:15] you need to have by UUID or LV [21:15] I don't have any sda's in fstab [21:15] they're all UUID... perhaps that is the issue? [21:15] the LVM is also by UUID [21:15] no, that's how it should be [21:15] but did you update the UUID to be the new filesystem's UUID? [21:16] Yes, I believe so... [21:17] I guess let me skip the mount and doublecheck [21:19] yup, uuid is right [21:19] oh derp. i put the type as ext4 [21:19] i'm guessing that might cause an issue [21:20] it should be whatever the filesystem is [21:20] which I assume is ext4 [21:20] crap... it was ext4. [21:21] So I don't know what's wrong then [21:21] well, you could try the non-UUID name to test [21:21] ok [21:21] The /dev/mapper location? [21:21] I don't have anything to reference because I don't actually have any set up that way [21:21] I think so, yes [21:25] qman__, so by name worked [21:25] blkid shows a UUID for the LVM device... [21:26] hrm. there's a separate UUID for the mounted device [21:26] I think I'll try using that UUID [21:26] yeah [21:27] Cool! Seemed to work, thx qman__ [21:28] great === cpg is now known as cpg|away [22:00] SpamapS, alive yet? [22:00] (probably not, in which case i'll catch you tomorrow) [22:03] need help installing ubuntu-server on a 2 TB hdd [22:03] Does the bios_boot_partition need to be 1MB, can it not be 100 MB? [22:04] what do you mean by bios_boot_partition? [22:05] qman__: read it here http://velenux.wordpress.com/2012/07/12/grub-failing-to-install-on-debianubuntu-with-gpt-partitions/ [22:05] qman__: I* read it here http://velenux.wordpress.com/2012/07/12/grub-failing-to-install-on-debianubuntu-with-gpt-partitions/ [22:05] well, for one, GPT is not needed for a 2TB disk, the limit for msdos MBR is 2.2TB [22:07] qman__: okay ... [22:07] I'm looking for a more official/reputable document to answer for actually using GPT [22:12] ok, from what all I've been reading, it needs to be mentioned that bios_grub partition and /boot are two different things [22:12] I also see people making bios_grub partitions of all different sizes, not just 1MB [22:13] qman__: yes, I have read about /boot and bios_grub being different [22:14] qman__: I found something about the bios boot partition not being formatted. Is that the case? [22:15] yes, it doesn't seem to have a normal filesystem, just grub [22:22] qman__: what requires special support from motherboard, efi or gpt? [22:22] qman__: installation on another drive uses efi and it boots perfectly, is it possible that my system can not boot from gpt? [22:36] gpt allows for an mbr to be created for back compatibility, but efi requires board support [22:36] native gpt requires board support === cpg|away is now known as cpg === cpg is now known as cpg|away === sw is now known as sw6 === cpg|away is now known as cpg === kkszysiu_ is now known as kkszysiu