[00:44] daftykins: ?? [00:45] daftykins: he was just trying to boot from usb. He has no idea what he's doing. [00:46] So now he's off on some tangent trying to get the usb to boot from grub rather than the bios. He also has yet to reveal why he is trying to reinstall in the first place. [00:46] silly ideas like 'keyboard lag' as i see above [00:46] i know the situation :) [00:46] likely gonna give up though, this is the kind of youngster that can't help themselves [00:47] the only thing i can think of, just reading back, is that he has fastboot enabled, that can prevent seeing usb devices. [00:49] i don't know if Windows was mentioned at all, might not be a dualboot [03:50] good morning to all [04:23] EriC^^: http://www.basicincome.org/news/2015/06/finland-new-government-commits-to-a-basic-income-experiment/ [04:35] morning lotuspsychje [04:35] good morning EriC^^ [08:14] http://linux.softpedia.com/blog/watch-ubuntu-15-04-running-on-microsoft-s-surface-pro-3-tablet-485349.shtml [08:17] cool [08:17] dont like surface myself, but hey better have ubuntu on it anyways [08:27] bbl see you laterz [08:53] Good morning. [10:34] Hi folks [15:59] good evening to all [16:17] heya o/ [16:17] https://www.dropbox.com/sh/222k7jecohmd13b/AABqemkMg4icFEf0Jzjbaj2Ta?dl=0 [16:17] aww yes just put a new screen on a Samsung Galaxy S3 [16:19] daftykins: wow did that yourself? [16:20] yes sir-ee, it's really simple with this model to be honest [16:21] well, the little narrow strip cable there had to be very carefully teased out [16:21] lol [16:21] a friend once gave me an iPhone 4 he'd taken apart whilst high - and said "have fun" :) [16:21] i rather like the rougher hardware fixxing [16:21] using ifixit guides i managed to measure and place all the important screws, then put it back together \o/ [16:21] oh these ones are definitely rage inducing [16:22] i can't tolerate speaking to anyone whilst working, i just go nuts :D [16:30] aaah i love the thrill of fixing things :) [16:30] :p [16:31] i've got a friends of the exact same model here so i can do that one next [16:31] $$$$$ [16:31] different colour models are different prices XD [16:31] well, sadly not so much [16:31] you be the next smasung helpdesk :p [16:31] these S3s can be bought for £100 new now, the screens are costing £48 [16:32] i'd rather see it working than thrown away though really [16:32] big business, i worked in mediamarkt, 90% breaks phone glass [16:32] girls goto bathroom with it= broke [16:32] oh? gave it up? [16:32] steam inside the phone [16:32] haha [16:32] yep my collegues were nasty windows freaks [16:32] and i loved to help ppl with ubutnu installs [16:34] everyone i work for is tied into MS Outlook so couldn't hop platform really [16:34] yeah [16:34] and i don't use desktop Linux so i'd never put ubuntu in for anyone [16:35] im gonna make a difference with my ubuntu store for sure [16:35] i think every OS has problems, but you can't really be a jack of all trades... gotta pick one to focus on [16:35] daftykins: i had to recover win8 boxes all the time and they needed 2 days n nights running updates [16:36] ubuntu:30min [16:36] and you got fresh install + updates [16:36] updating windows, that alone costs the company many hours :-D [16:36] i see your point there, but now given the hassles of flash 'support' in Firefox, life's gotten pretty messy [16:36] OerHeks: +1 [16:37] daftykins: if flash reall dies, html5 will raise higher [16:37] nah my mate works for a school up in England, he's got it set so a clean build can be deployed over the network with Office installed in 30 mins [16:37] lotuspsychje: yeah, can't happen soon enough [16:37] but sadly for the time being some sites are still behind [16:37] i've got xubuntu on that old laptop, runs nicely - but i had to install nautilus to be able to right click and share dropbox links from files [16:37] 15.10 alpha 1... runningin vmware... [16:38] then i had to install chromium and pepperflash for normal sites to work [16:38] MonkeyDust: nice, saw that on omgubuntu, hows wily :p [16:38] bit personal ;) [16:39] wily is ok and sends greetings [16:39] lol [16:39] !willy [16:39] It is spelt !wiLy :) [16:39] :p [16:39] =] [16:41] http://linux.softpedia.com/blog/watch-ubuntu-15-04-running-on-microsoft-s-surface-pro-3-tablet-485349.shtml [16:44] lotuspsychje: my hope for Windows 10 with this funny rolling release idea, is that they'll release regular ISOs that are more up to date so the whole patching chain doesn't continue [16:44] 'cause i agree, 8 was absolutely atrocious - though i mostly avoided it due to being an absolute lemon of an OS anyway :) [16:44] 10 will be surely another previous windows clone [16:44] with lighter feeling [16:45] i've been playing with the preview, it's faster than even 7 in general usage O_O [16:45] a real pleasant change [16:46] in fact i should boot up my test PC here with the preview on [16:46] i liked windows 10 too, but my old laptop/vmware couldnt handle it after 2 build upgrades [16:47] how so? [16:47] ran slowly? [16:47] lordievader: alive? [16:47] lotuspsychje: Sure, why not? [16:47] yes, and heating issues... [16:48] lordievader: TJ- has some issues about hd's and virtual machines, wanna listen to him? [16:48] Go ahead. [16:48] hey that's a fellow helper right? should join here [16:48] yep invited him :p [16:48] cool [16:49] TJ-: can you re-ask your issue to lordievader plz? [16:49] TJ-: welcome o/ [16:50] TJ-: and welcome here, we have gathered the 'good guys' volunteers here :p [16:50] * lordievader is back in a bit [16:50] nothing remarkable so far, in 15.10... [16:50] trying to find a way to simulate 4K sized sector devices for testing tooling, but not found a way outside of using a VM, which is not a usable solution for mastering images on such simulated devices [16:50] I've been doing extensive research on this for over a week now, including my kernel patches. I've been hoping to find another, sneaky, way through some obscure tool that might support it. For example, qemu supports configuring the physical and logical sector-size of its virtual drives, but unfortunately what I'm doing can't make use of a virtual machine [16:51] sounds like you need to buy yourself an Advanced Format drive ;) [16:52] I have the drives, but I need to be able to simulate them for tooling for building images [16:52] I'm working on a universal GRUB2-bootable image that'll work on x86/amd64, BIOS and UEFI, with raw block and ISO9660/El Torito, supporting multiple sector sizes (512/2048/4096) and want to design it to work with the current tooling [16:53] TJ-: Use a loopback device. [16:54] Make an image with dd, then turn them into a virtual device with the loopback stuff. [16:54] I'm continuing with my kernel loop driver patches, which is the best way, but it's taking more time than I anticipated due to knock-on effects, so I was hoping I might find another sneaky way to do so I can get on with actually creating the images and patching the various tooling to work correctly [16:55] lordievader: That doesn't work, you're missing my point. the loop driver hard-codes 512 byte sectors. My kernel patches are changing that but are not yet ready, as I mentioned [16:55] Hmm, I see. [16:56] right... [16:56] * lotuspsychje doesnt understand nothing about it [16:56] (talking to my pc) [16:56] lordievader: hence looking for a 'sneaky' way around it until those patches are ready, so I can build images and do testing :) [16:56] MonkeyDust: lol [16:56] Nothing springs to mind I'm afraid. I usually don't mind the defaults. [16:57] I thought nbd might do it, but it doesn't. [16:57] The issue is this, if an image is created on a 512-byte sector block device that will fail on a 4096-byte device, and visa-versa [16:59] the reason being that partition offsets and layouts (such as the GPT header and ISO9660 descriptors) are positioned based on their Logical Block Address (LBA) aka sector number... so sector 1 on a 4K sized sector advanced format disk is sector 8 on a 512-byte sector-sized disk [17:01] And you don't have this problem with VM's? [17:03] It is possible, with qemu for example, to specify the physical and logical sector size of the virtual disks it presents to the guest, so instead of the default 512/512 it can be set to 512/4096 or 4096/4096 or whatever. [17:04] Unfortunately the tooling that builds these bootable images can't make use of a VM [17:05] TJ-: I'm not sure. But I think that the VM thinks it is running on real hardware. So if you can tell a physical machine to use 4K sectors you should be able to tell a VM the same thing. [17:05] (qemu has the property: .physical_block_size=xxxx [17:06] lordievader: You can't change the sector size of bare-metal devices. This is why I'm working on adding this functionality to the kernel loop device driver. [17:07] Ah, then I simply don't understand ;) [17:07] TJ-: maybe the #ubuntu-devel guys would know this? [17:07] im searching the net for 4k allignment and ubuntu, but this issue is over my head [17:07] Or the kernel team. [17:08] lordievader: know the channel name? [17:08] Err #ubuntu-kernel or something, ask alis. [17:08] !alis [17:08] alis is a services bot that can help you find channels. Read "/msg alis help list" . For more help or questions relating to alis, please join #freenode. Example usage: /msg alis list #ubuntu* or /msg alis list *http* [17:08] tnx [17:08] lotuspsychje: I've asked in there the last couple of days but no-one has spoken up, and I used to be on the kernel team, and work on the mainline kernel, so I'm very familiar with this kernel avenue. [17:09] TJ-: Nice, nice :) [17:09] this is why, for now, I was hoping there's some tool out there that can simulate this... I did look hard at device-mapper but it seems this is the 1 thing it can't do :) [17:09] TJ-: how about the ##linux guys + 4k ? [17:10] Yeah, been asking there and in ##kernel too, I hang out in those channels as well as the ubuntu ones [17:10] TJ-: can you specify the search string? a tool to simulate.. [17:11] lotuspsychje: "simulate 4K sector size" is about as tight as I can get :) [17:11] ok tnx lemme dig the net :p [17:11] Are there disks with a 4K sector size? [17:12] The annoying part is, the file-system tools will allow you to specify the underlying sector size (to alignment purposes) but it also needs to be done at the lower level [17:12] lordievader: Yes, it's the standard for >2TB devices [17:12] Ah, yes I see. (Just checked my 3TB drive) [17:13] TJ-: can this help: http://flashdba.com/4k-sector-size/ [17:15] lotuspsychje: That just explains how 4KB sectors are implemented and the backward-compatibility with 512B sectors (emulation mode) is done [17:15] k [17:18] lotuspsychje: This is going to be some low-level Linux-specific tool that works with block devices, such as device-mapper (dmsetup), Multiple Devices (mdadm), or similar [17:20] mdadm has the concept of chunks but that doesn't translate to what userspace sees as sector sizes [17:29] TJ-: i would go talk around with ##hardware or ##linux [17:29] never know someone knows something [17:32] I'm going to spend part of the weekend doing more work on the kernel loop device driver; I think I'm almost there with that. I can also start to investigate the tooling packages to ensure they won't fall over with differing sector sizes. I was just hoping I'd overlooked some tool that does this as a side-effect. [17:39] TJ-: join ##hardware you need to help me [17:40] someone knows a package for linux that can simulate 4K sector size? [17:40] bad idea [17:40] compdoc: why? [17:40] i don't even understand what you mean 'simulate' [17:40] package? [17:40] vmware? [17:40] why simulate 4K sector? [17:40] you can get the kernel to lie about sector size, sure [17:40] i think he just means offset for 4k [17:40] emulating old devices? [17:40] if you need the offset, gparted aligns to 1MB [17:40] also, it must be low level then I guess [17:40] * rjno has quit () [17:40] you could potentially set up a fake MTD with such a sector size [17:40] linux and windows all understand 4k sector sizes, and 512 sector size. let them handle it [17:41] a mate of mine hangs out in there [17:41] they're all idiots i'm afraid [17:41] lol [17:41] not gonna get much deep level input i suspect [17:46] daftykins: seems like someone is smart over there :p [17:47] must be new ;) [17:47] haha [17:47] i considered joining once 'cause i enjoy hardware, but... yeah. [17:47] not interested in picking out parts for people really [17:47] yeah most of the times their pretty m0rrons [17:48] mmm, same as #ubuntu but different topic :> [17:48] !find gluebi [17:48] Found: W:, W:, W: [17:49] oO [17:50] wat [17:50] :D [17:50] daftykins: thats what the smart guy suggests to TJ- gluebi driver (mainline) [17:51] ah, i was more thinking of the funny output from the bot though [17:51] back shortly [17:51] kk [17:58] !happiness [17:58] Chocolate! And Strawberries! And ICE CREAM! Ooo! and 60 minutes +m! [17:59] oO [17:59] i want one! [18:00] happiness seems to be associated with food, that's interesting... [18:01] :p [18:07] i can go with that [18:07] i have a belgian chocolate all butter cookie from the coffee shop here in front of me 8) [18:08] i have a whole country with cookies like that [18:08] :p [18:08] XD [18:11] !cookie | daftykins [18:11] daftykins: Wow! You're such a great helper, you deserve a cookie! [18:12] 8D [18:13] shame i bought and paid for it myself :( [18:13] makes me wonder how much money we could put into open source from providing help really [18:13] sometimes when people are feeling really generous after my help with Kodi (new name for XBMC) they offer money or beer, so i say donate instead if they feel like it [18:13] works out well :) [18:14] :p [18:15] TJ-: found something usefull after that konversation? [18:15] * lotuspsychje grabs the half of daftykins cookie [18:17] * EriC^^ shoots lotuspsychje with a tranquilizer [18:17] loool [18:17] * OerHeks bites lotuspsychje ..nummie [18:17] uh oh... where am i [18:17] magic cookie? [18:17] :P [18:17] youl have to come with stronger toys to paralize lotuspsychje :p [18:18] * lotuspsychje is protected by ubuntu-shield [18:18] OerHeks: you're awake! this is real! :> [18:18] lol [18:18] lotuspsychje: Not so far... lots of layers of indirection but not found a way to set the sector size so far [18:18] so far for quality ubuntu discussions... [18:19] TJ-: but will that UBI help you out? [18:22] It doesn't look like it... it's just making more of a mess! [18:22] bummers [18:23] EriC^^: i presume you dont know howto simulate 4k sector size either? [18:24] huh, no :P [18:24] tnx for trying :p [18:25] TJ-: guess you on your own again mate [18:25] I just copy/paste's 'sudo apt-get update' from a tutorial <-- laziness... [18:26] lol [18:26] and i added a ppa for winusb to create a win8 usb [18:26] It requires: losetup /dev/loop0 disk.img && modprobe block2mtd block2mtd=/dev/loop0,4096 && modprobe ubi && modprobe gluebi && ubiformat && ubinize -o /tmp/ubi.img -p 4KiB -m 512 ubi.ini && ubiattach /dev/ubi_ctrl -m 0 ... and still end up with 512 byte sectors :) [18:27] TJ-: confront that hardware guy with it, he might reply back :p [18:27] this is chinese for me [18:28] why would you need a program to create a windows 8 flash drive? is that for legacy installs? [18:28] as otherwise, creating a plain FAT volume and pasting the ISO contents is perfecto for EFI :> [18:28] I'm sure it'll be quicker to just get on with my kernel loop driver modifications [18:28] daftykins: what do you use? [18:28] dd? [18:28] nah you can't dd windows ones afaik [18:29] winusb works like a charm for me [18:29] if you need legacy boot then i create from Windows so i'm ok, but EFI installs you just do the above [18:29] well i formatted a laptop with ubuntu for a kid [18:30] but i never save windows partitions [18:30] and he wanted to game [18:30] ah, oops [18:30] so i installed a w8 iso on usb [18:30] so it came with 8 EFI'd? [18:30] yep [18:30] but cant use the internal restore option anymore [18:30] yeah so pasting contents is all you need :) [18:31] w8 is up n running so the kids glad :p [18:31] anyway don't mean to second guess, thought it could be handy/interesting though [18:31] he can play LOTR lego again [18:31] lawl [18:31] :p [18:34] is that a w8 live session? [18:35] no such thing [18:35] not w8 on a usb stick? [18:36] MonkeyDust: no, w8 iso bootable [18:36] yeah but you don't get a live session, only the Windows preinstallation environment [18:36] TJ-: Good luck on your kernel driver ;) [18:36] but it does not install? [18:36] no that's not the topic :) [18:36] MonkeyDust: yes, i get the same install screen as w7 [18:36] lordievader: thanks... it's not far off now, should be done and tested tomorrow night :) [18:37] i was just discussing how you don't need to mess with boot sector crap anymore [18:37] TJ-: if gluebi is mainline, the #ubuntu-devel guys must know all this right??? [18:37] Nice nice. [18:37] That is still on my list of things that I should do, write a kernel module. [18:39] lotuspsychje: gluebi does exactly the opposite of what AStorm thought it did, it's totally not going to help [18:39] lordievader: It can be a frustrating learning curve; I started back in 2005 [18:39] what's gluebi? [18:41] MonkeyDust: thats what the guy from ##hardware suggested to TJ- [18:41] not sure whats it for [18:42] the whole night is being chinese to me [18:47] lotuspsychje: It's pretty simple. Raw physical flash devices are called Memory Technology Devices (MTD). Unsorted BIock Images (UBI) are a way to define where the non-erased blocks are, to provide Flash wear-levelling support. [18:49] UBI cannot be addressed directly by tools that are written to manage block devices, so GLUEBI can be layered on top of a UBI volume and make it look like an MTD block device once again, so that tools like partitioners, file system formattting, etc., can use it [18:50] think i would understand more, if i see you playing with all your tools [18:50] TJ-: That is why I have been putting it off. [18:52] lotuspsychje: So to use UBI for my purposes I'd have a file on disk representing a disk image, maybe an ISO. I'd have to loop-mount (/dev/loop0), then use the kernel's block2mtd module to make that look like an MTD device, then format that MTD device with UBI, and then layer GLUEBI on top of that to make the UBI look like an MTD. At that point I *might* have a device that reports the sector sizes I require *if* one of the layers was configurable in that re [18:52] gard. But... none of those layers provide a way to specify a (sector) block-size since MTD/UBI are intrinsically *not* block devices like ATA/SCSI devices [18:54] lotuspsychje: the simple part is... when 'gdisk', 'fdisk', or any other partitioning tool accesses the simluated device it needs to be able to see a physical and/or logical sector size other than 512 bytes so that what it writes to that device is in the correct location [18:56] Hence my work on the loop driver. The easiest solution to this is to be able to alter the sector size values reported for a /dev/loopX device which has a simple disk file as its backing store [19:01] right :p