/srv/irclogs.ubuntu.com/2015/08/07/#ubuntu-discuss.txt

=== quaddex- is now known as quaddex
daftykinsanyone hot on an appropriate command for copying an existing /home to a new disk? :)00:53
daftykinsi don't know if anything special would be needed to preserve permissions or such like00:53
Bashing-omdaftykins: We have a handy dandy : https://help.ubuntu.com/community/Partitioning/Home/Moving .00:58
daftykinsooh nice! thanks00:58
JanCan alternative would be FSArchiver or such01:15
JanCe.g. if you can't copy directly for some reason01:16
daftykinshow come that guy doesn't have the LVM partitions in his /dev/mapper in a live session :/01:21
daftykinsi have no clue with LVM :)01:21
EriC^^daftykins: did he install the lvm stuff01:25
Bashing-omdaftykins: I too looked ( njmbb8), and a bit confused as I only see 1 VG  for swap . Like you I do not do LVM . - Yeah not much help here from me .01:25
EriC^^nevermind01:26
daftykinsEriC^^: not in the live session nah, do you need something to enable them?01:26
daftykinsBashing-om: cheers :>01:26
EriC^^i dunno i vaguely remember something had to be installed for something01:26
daftykinsmmm i always avoided it 'cause it seems to complicate life unnecessarily01:26
EriC^^( i know, not much help )01:26
daftykinsi'll just pinch the funky auto mount points from 'mount' output then try and cp the /home/username to the second disk i think01:26
daftykinsthen with any luck my fstab is golden and on reboot all will be well01:27
daftykinsnote to self don't tell everyone your nightmares01:58
daftykins;D01:58
EriC^^lol01:58
Bashing-omfacing our fears, litle by little I get the more comforable with UEFI . Like systemd - it is coming may as well get perpared . Ready or not here it comes !02:02
daftykinsi don't really have a clue on init stuffs, i barely converted to 'sudo service x start/stop/restart' after init scripts02:03
daftykinsno idea how it is now02:03
daftykinsi don't even know how to say which one is in use on a given machine :)02:03
Bashing-omYeah, I liked inittab ! Just about the time I adjust to upstart, there is this new one in the works .02:04
Bashing-omdaftykins: To determin the init system I use ' ps -p1 | grep systemd && echo systemd || echo upstart ' .02:06
daftykinshrmm02:07
daftykinsi guess we can go by releases too?02:07
daftykinsdid 15.04 switch to systemd? i don't even pay much attention when it's not LTS :>02:08
Bashing-omdaftykins: Most certainly 15.04 is systemd. And yaeh the breaks are applied real hard when I see 15.04 . systemd has it's fingers in may places . A lot to relearn .02:10
wileeeoh my, hehj03:38
ObrienDavewaves07:32
lordievaderGood morning.08:00
ObrienDaveo/08:00
lordievader\o08:01
cfhowlett"Why did you so quickly Private Gump?!"  "Because you Sudo told me to Sergeant."08:26
cfhowlett"Why did you disassemble that rifle so quickly Private Gump?!"  "Because you Sudo told me to Sergeant."08:26
EriC^^hey TJ-09:23
EriC^^i'm restoring my arch install to a usb, i can't seem to make the efi fat32!09:24
TJ-how are you trying to do it?09:24
EriC^^mkfs.fat -F 32 /dev/sdb1 still makes it fat16, and grub-install says can't find any efi09:24
TJ-how big is it?09:24
EriC^^i created the partitions again, copied over the root filesystem, and changed /etc/fstab09:24
EriC^^it's 300M09:24
EriC^^1      1049kB  316MB   315MB   fat16           EFI   boot09:25
EriC^^sudo mkfs.fat -F32 /dev/sdb1 mkfs.fat 3.0.26 (2014-03-07)09:25
EriC^^sudo parted still gives same output09:26
TJ-sudo parted /dev/sda print09:26
TJ- 1      1049kB  269MB   268MB   fat16        EFI System           boot09:26
EriC^^http://paste.ubuntu.com/12019628/09:27
EriC^^this is blkid /dev/sdb1: SEC_TYPE="msdos" UUID="9906-2FF9" TYPE="vfat"09:27
EriC^^it didn't used to have that SEC_TYPE="msdos" before09:27
TJ-Secondary Type09:29
TJ-EFI doesn't mind whether its FAT12,16, or 3209:29
EriC^^that's odd09:30
EriC^^http://paste.ubuntu.com/12019653/09:31
EriC^^i had to give it the efi dir09:31
EriC^^never had to do that before09:31
EriC^^it's still odd it won't make it fat32 though09:32
TJ-That's correct. grub checks for the currently mounted device and if there isn't one, needs to be told09:35
EriC^^it's mounted though09:35
EriC^^and in fstab09:35
EriC^^i just got this error too09:36
EriC^^Generating grub configuration file ...09:36
EriC^^  /run/lvm/lvmetad.socket: connect failed: No such file or directory09:36
EriC^^  WARNING: Failed to connect to lvmetad. Falling back to internal scanning. done09:36
EriC^^anyways TJ- i reinstalled windows and installed all the hp drivers i had09:37
EriC^^it's still running really hot, i checked the services and there's a SYSTEM IDLE PROCESS which is supposed to run and it is running at 80-90%09:37
EriC^^but it's still reaching 90-100 temps unless i put the amd and intel to minimum power and it still isn't very usable09:38
EriC^^the last error report showed something about dllhost.exe not asking the cpu to rest or something, it hadn't appeared before09:38
TJ-This with Win10 again?09:41
EriC^^yeah09:41
EriC^^i reinstalled win8 and upgraded as ms says, so it'll be activated09:42
EriC^^i'll brb, will try arch and maybe run an energy report in win10 again09:45
TJ-Obviously a Win10 issue then09:48
EriC^^installing drivers can't help?09:51
EriC^^i just noticed an odd behavior09:54
EriC^^when i mount the arch install, my home dir has my ubuntu's user as the owner, when i chroot it changes to the arch owner09:55
EriC^^even if i mount the install using another ubuntu user, it has the same ubuntu user until i chroot09:55
EriC^^how's that work i wonder09:55
TJ-Because the owner/group are stored as the ID number... looked up from /etc/passwd, which will be different in the 2 installs09:57
EriC^^ah ok09:57
TJ-The first user ID created usually is 1000, so depending on which system's root is in operation, you'll see different usernames if they are different in the respective /etc/passwd09:58
EriC^^ah shows as fat32 after a reboot10:08
EriC^^this is odd10:20
EriC^^arch is all screwed up10:20
EriC^^when i ran startx it said there's no keymap, i reinstalled the package and then when X started the touchpad didn't work10:21
EriC^^i've restored the install before, the only difference is that i used a tar.gz this time to copy it10:22
TJ-Did it miss out the dot-files10:22
EriC^^no the dot files are there, and also the symlinks and permissions are correct10:22
EriC^^could it be cause i reinstalled the kernel from the chroot?10:26
EriC^^i think last time i just copied the efi partition all together, this time i didn't and so i had to reinstall the kernel10:26
EriC^^anyways TJ- so i shouldn't be driver hunting for win10 to work?10:30
EriC^^maybe they'll fix it in an update or so?10:30
TJ-Best to open a support incident with the manufacturer... I suspect, as I said before, it needs chipset/ACPI drivers specific to the model10:33
TJ-I think I got up too early, my brain won't even compute 0x200 * 1KB aka 102410:35
TJ-!! that's not even the correct equation... sheesh.10:36
ubot5TJ-: I am only a bot, please don't think I'm intelligent :)10:36
TJ-ubot5: you're doing better than me!10:36
ubot5TJ-: I am only a bot, please don't think I'm intelligent :)10:36
EriC^^hehe10:38
EriC^^TJ-: how does grub.efi know which file to use10:41
TJ-grub.efi is simply core.img ... it loads the grub.cfg and other modules10:41
EriC^^in ubuntu there's a grub.cfg in the same location as grubx64.efi10:41
EriC^^it has this search.fs_uuid c65ac418-c145-4a7c-b965-1308aa595d24 root hd0,gpt510:42
TJ-internally it depends on what prefix= and root=10:42
EriC^^set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg10:42
EriC^^so i guess grubx64.efi uses that to load the grub.cfg file?10:42
EriC^^cause in arch there's only a single grubx64.efi10:42
EriC^^i was wondering how does it know where the grub.cfg is10:42
EriC^^is it hardcoded to search the same disk at /boot/grub/grub.cfg ?10:43
TJ-I mean internal to the core.img/grubx64.efi ... those pre-written values tell it where to find its own 'root' (/boot/grub/) which then will then allow it to "insmod normal" which can read the config and act on it via the "normal" internally executed command10:43
EriC^^cause in arch by default the efi partition also contains /boot/grub/grub.cfg, the efi dir is only /boot not /boot/efi10:43
TJ-Part of what grub-install does is create and *link* the required grub modules and data into the core.img sufficient for it to be able to access its root file-system... this is why if /boot/grub is on LVM the grub lvm module is linked into core.img10:44
TJ-That isn't what the Arch docs I've seen say, about EFI anyhow, and I've used them alot in the past to get my head around EFI10:45
EriC^^when i installed arch it said to use /boot instead of /boot/efi10:46
EriC^^dunno10:47
EriC^^it says /boot/efi in some places im looking now10:47
TJ-/boot/ contains the OS kernels, initrd.img, symbols, config, etc. /boot/efi/ should be the mountpoint for the EFI SP which when mounted then gives you /boot/efi/EFI/ ... if it were /boot/EFI/ that would imply mounting the ESP *over* /boot/, hiding the kernel images10:48
EriC^^it says "/boot is also recommended for mounting the EFI System Partition on a UEFI/GPT system"10:49
EriC^^but reading more it looks more relevant for EFISTUB10:49
TJ-Does it mean "under the /boot hierarchy" though, or actually "mount /dev/sda1 /boot" ?10:50
TJ-Look at that and it makes no sense whatsoever... whereas "mount /dev/sda1 /boot/efi/" makes perfect sense10:50
EriC^^yeah i know, i think it means to use /boot as the efi partition and contain the kernels too10:51
TJ-Do not let me miss the end of this ebay auction in 8 minutes... don't let me get sidetracked!!10:51
EriC^^but i think it's only for efistub or something10:51
EriC^^" In case of EFISTUB, the kernels and initramfs files should be stored in the EFI System Partition. For sake of simplicity, you can also use the ESP as the /boot partition itself instead of a separate /boot partition"10:52
EriC^^hehe10:52
TJ-If it means use /boot/ to mount the EFI SP and keep the kernels there too since otherwise that file-system is mostly wasted space ... that makes sens10:52
TJ-Oh, yes, that makes sense because using EFISTUB there's no GRUB10:53
EriC^^ah i se10:53
EriC^^*see10:53
EriC^^the docs are kind of misleading, i remember it said somewhere in arch it's recommended to use /boot not like other distros that use /boot/efi10:53
TJ-The boot is then UEFI > EFI-stub > Linux or more simply UEFI > Linux10:53
EriC^^or something like that, anyways ill probably fix that later10:54
EriC^^arch booted, i copied the efi partition as is11:37
EriC^^grub still complains that it can't find the efi dir though11:37
EriC^^i guess it didn't work earlier cause i installed the kernel from the chroot, or something11:38
EriC^^thanks for your help TJ-11:59
OerHekslolz cfhowlett that guy is on mirc :-D15:05
cfhowlettso mirc, eol and backtrack?  we have a winner ...15:06
OerHeksmaybe running on an Apple device, with a Wii remote, top notch!15:09
cfhowlettl33t!15:10
OerHeks.. and wearing a tshirt with that FSF guy :-D15:10
=== EriC^^ is now known as heelflip
daftykinsoh dear did i miss a corker?16:07
OerHekscorker = .. ?16:31
daftykinsshocking or surprising event16:32
daftykinsso that guy on mIRC, out of date and asking about backtrack D: oh dear16:32
OerHeksyeah, the rest is fantasy16:32
OerHeks... but likely true16:32
=== heelflip is now known as EriC^^
=== EriC^^ is now known as inwardheel
=== inwardheel is now known as explosive
=== Bashing-1m is now known as Bashing-om

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