[13:18] <alexandrdvorkin> my xubuntu just crashed on the multiboot harddrive with MacOS trying to reinstall getting the error bad disk clean the disk and etc but from the same USB flash drive try option runs xubuntu
[13:18] <gnrp> alexandrdvorkin: So you are having Xubuntu installed and it crashes?
[13:18] <gnrp> and from a USB flash dirve it runs?
[13:19] <alexandrdvorkin> yes
[13:19] <gnrp> alexandrdvorkin: Probably your hard drive is broken. You can check the status with the tool smartctl contained in the package smartmontools
[13:21] <alexandrdvorkin> i partitioned the second part of the drive apart from MacoS to have / partition 50000MB swap 20000 and EFI 10000 and installing onto the /
[13:21] <alexandrdvorkin> getting the error from the install
[13:21] <alexandrdvorkin> i deleted the partitions reformated and tried to reinstall the same error
[13:21] <alexandrdvorkin> but from USB xubuntu runs
[13:22] <alexandrdvorkin> so you still think the hardisk is broken but i am able to start MacOS from /dev/sda on the same disk
[13:22] <gnrp> alexandrdvorkin: It oculd be that some sectors in the Xunbut partition are bad
[13:23] <gnrp> or that the sectors where OSX does stuf ffrom are ok
[13:23] <gnrp> smart will tell you the status of the disk, like how many read errors etc. there are
[13:23] <alexandrdvorkin> yes
[13:23] <alexandrdvorkin> so you suggest to run xubuntu from USB drive and run the smartctl
[13:24] <alexandrdvorkin> whats the name of the utility again in xubuntu to check the hardisk for error SMARTCTL?
[13:24] <gnrp> yep
[13:25] <alexandrdvorkin> ok i gtg right now but when i comeback i ll do that
[13:25] <gnrp> smartctl -a $DISK
[13:25] <gnrp> I don#t know though if xunbutu live has smartmontools installed
[13:25] <gnrp> if in doubt, use something like grml
[13:26] <alexandrdvorkin> and which disk will the smartctl -a $DISK check
[13:26] <alexandrdvorkin> i need to check the partition onto which i am installing the xubuntu
[13:26] <gnrp> you can check the avialable hard drives with `lsblk`
[13:27] <alexandrdvorkin> roger
[13:28] <alexandrdvorkin> but basically partition wise i created everything correct 50000MB / 20000MB swap 20000MB EFI
[13:28] <alexandrdvorkin> and installing onto / right?
[13:29] <alexandrdvorkin> or onto EFI
[13:29] <alexandrdvorkin> i am bad with partitioning
[13:29] <alexandrdvorkin> especially dual boot
[13:29] <alexandrdvorkin> confusing for me
[13:30] <gnrp> 20GB EFI is a lot. Normally 1GB is created
[13:30] <gnrp> swap... there are different opinions on that. I don'T create it anymore, but there are enough people who do
[13:31] <alexandrdvorkin> understood and install onto the / right?
[13:31] <gnrp> also, 20GB is a lot. You are essentially using half the disk space for that stuff... but when 50GB is enough for the system, that should not be an issue
[13:31] <gnrp> yep
[13:31] <alexandrdvorkin> how come i get an error even after repartitioning?
[13:32] <alexandrdvorkin> could it be still bad USB flash drive and not the hardisk
[13:32] <gnrp> because the error might be in the hard drive, no matter the partitioning
[13:32] <gnrp> ah, wait. Bad disk clean the disk?
[13:32] <alexandrdvorkin> i deleted the partition and repartitioned the partitions onto which Xubuntu is to be installed
[13:33] <alexandrdvorkin> and still get an error 
[13:33] <alexandrdvorkin> how can it be that not all disk is BAD but just the installation partition for Xubuntu
[13:34] <alexandrdvorkin> could is still be that the USB flash drive is corrupted and not the hardisk
[13:35] <alexandrdvorkin> maybe i should burn another USB flash disk with xubuntu (when i buy it) and try then
[13:36] <gnrp> you an also check the USB drive
[13:36] <gnrp> do you have another one to try?
[13:38] <alexandrdvorkin> i do but i got MacOS on it and if i screw up partitions i wont be able to reinstall MacOS so i need to wait till i have the money to buy the new USB flash drive they are like 16GB 20-30$ here in Toronto
[13:39] <alexandrdvorkin> i am pathetically broke
[13:40] <alexandrdvorkin> inflation you know
[13:41] <alexandrdvorkin> no car no money 
[13:41] <alexandrdvorkin> taking a bus
[13:41]  * gnrp doens't have a car either, lol
[13:42] <gnrp> anyway, no reason to despair
[13:42] <gnrp> there is no need to repartition
[13:42] <gnrp> in any case, I would not trust the hard drive when it has failures
[13:42] <gnrp> so check if the USB drive is ok
[13:42] <gnrp> you can just dd from the USB drive to /dev/null or so
[13:43] <alexandrdvorkin> but it on my  iMac2013 which i bought like 5 moth ago for 380$ how could the driv be already damaged and run the MacOS from a different partition no problem
[13:43] <alexandrdvorkin> bought brand new
[13:44] <alexandrdvorkin> with a brand new HDD
[13:44] <alexandrdvorkin> installed Ubuntu few times 
[13:44] <alexandrdvorkin> like 5
[13:44] <alexandrdvorkin> and xubuntu
[13:44] <alexandrdvorkin> was running 
[13:44] <alexandrdvorkin> until this morning black screen
[13:44] <alexandrdvorkin> no messages at all just black screen
[13:46] <gnrp> coul dhappen anytime. There's no way to say what is wrong if you don't run the analysis
[13:46] <gnrp> have you checked the USB drive?
[13:46] <alexandrdvorkin> and then u know already the reinstall gives error at installation and thats all
[13:46] <gnrp> you can just run dd from it on /dev/null to check if everything reads
[13:46] <alexandrdvorkin> USB drive is not readable by MacOS is that a problem?
[13:46] <alexandrdvorkin> could it be
[13:47] <alexandrdvorkin> if i plug it into the back of my iMac it says the drive is not readable
[13:48] <alexandrdvorkin> but still boots the Xubuntu into TRY mode
[13:48] <alexandrdvorkin> but the error from xubuntu as i mentioned says to check the CD/DVD drive for errors
[13:49] <alexandrdvorkin> which is in my case USB flash drive
[13:49] <alexandrdvorkin> or the hardisk too
[13:49] <gnrp> no, OSX is not so tolerant about what it reads
[13:49] <gnrp> ah, ok
[13:49] <gnrp> then yes, I guess the USB drive is the error
[13:49] <gnrp> but you can run a terminal on OSX also and check whether the whole USB drive reads at least. Won't tell you if the data is correct though
[13:50] <alexandrdvorkin> i can not it is not even recognized by MacOS when plugged in into the back of my iMac
[13:51] <alexandrdvorkin> i get the message right away IGNOR INITIALIZE or EJECT
[13:51] <gnrp> run dmesg on the OSX
[13:51] <gnrp> open a terminal and run the command `dmesg`
[13:51] <gnrp> !paste
[13:52] <alexandrdvorkin> ok let me plug in the USB drive and run the dmesg
[13:59] <alexandrdvorkin> zsh: event not found : pastebinit
[13:59] <alexandrdvorkin> so any how i just open the https://dpaste.com
[13:59] <alexandrdvorkin> or pastebin.com
[14:00] <alexandrdvorkin> my imac is slow to open the browsers it has only 4GB RAM
[14:03] <alexandrdvorkin> dpaste.com suppost to give the addy but it does not
[14:06] <alexandrdvorkin> safari does not return the output of the paste
[14:06] <alexandrdvorkin> it pastes it but doesnt give the address
[14:07] <alexandrdvorkin> let me try chrome
[14:10] <alexandrdvorkin> just a sec
[14:14] <alexandrdvorkin> https://pastebin.com/qsT01Lwh
[14:15] <alexandrdvorkin> got it?
[14:16] <gnrp> yep, that works
[14:17] <gnrp> hm, ok, but I don't have the information. Sorry.
[14:17] <gnrp> apparently, running `diskutil list` is what would give the information
[14:17] <alexandrdvorkin> what you mean
[14:18] <alexandrdvorkin> ok
[14:19] <alexandrdvorkin> a sec
[14:20] <alexandrdvorkin> https://pastebin.com/auW6k9BA
[14:22] <gnrp> ok
[14:22] <gnrp>  /dev/disk2 is your USB drive
[14:22] <gnrp> so you can do `dd if=/dev/disk2 of=/dev/null bs=4k status=progress` and wait if some errors show up
[14:23] <gnrp> note howeer that this will not necessarily show all errors. It is just one thing to quickly check for a certain kind of error
[14:24] <alexandrdvorkin> checking
[14:26] <alexandrdvorkin> dd: /dev/disk2: Input/output errorransferred 69.003s, 960 kB/s 
[14:28] <alexandrdvorkin> but if xubuntu crashed it could also mean bad HDD but i repartitioned
[14:29] <gnrp> ah, there oyu have it though
[14:29] <gnrp> there is an error with the USB drive
[14:30] <alexandrdvorkin> ok so i will get a new usb
[14:30] <alexandrdvorkin> flash drive
[14:31] <alexandrdvorkin> which error 
[14:32] <gnrp> you can run dmesg again now actually
[14:34] <alexandrdvorkin> so what the partition table for the Xubuntu should look like 50000MB / 10000MB swap 20000MB EFI is ok?
[14:35] <gnrp> I would say less EFI
[14:35] <gnrp> actually, EFI is used for both anyway, so there is not much to decide
[14:36] <alexandrdvorkin> so 10000MB EFI
[14:36] <gnrp> I normally say that swap is not needed for modern computers anymore, but that's also just one school of thought. And when oyu have only 4GB RAM, maybe some swap is good
[14:36] <gnrp> 4GB or 8GB would certainly be enough thouhg
[14:36] <gnrp> depends on how you use that computer
[14:36] <gnrp> the question to me is more whether 50GB suffice or whether you need more
[14:37] <alexandrdvorkin> ok
[14:37] <gnrp> when 50GB (or rather, 45GB) are ok - count down maybe 10GB for a system with lots of software, so 35GB for data, then go with it
[14:37] <alexandrdvorkin> so just create 50000MB / and 80000MB EFI and no swap that should do?
[14:38] <gnrp> you have 500GB, why so stingy with space for Xubuntu? ;)
[14:38] <gnrp> EFI should be fine with 1GB
[14:38] <gnrp> but put some swap
[14:39] <alexandrdvorkin> but you said 4000 or 8000 EFI
[14:40] <alexandrdvorkin> ok 50000Mb / 10000MB swap and 1000MB EFI
[14:40] <gnrp> ah, sory, I meant swap
[14:40] <gnrp> I'd do 8GB swap, 1GB EFI and the rest for the system
[14:40] <gnrp> or let Xubuntu decide itself
[14:41] <alexandrdvorkin> well i have to select to which drive to install the xubuntu its dual boot 
[14:42] <alexandrdvorkin> do i select Something else as an install option
[14:42] <alexandrdvorkin> or it might install it onto a wrong drive
[14:42] <alexandrdvorkin> and corrupt my OSX
[14:44] <alexandrdvorkin> if i let xubuntu decide wont it install onto the first partition onto which the OSX is installed by default
[14:46] <gnrp> I can't really help you with that. I don't know how to use an Apple for Linux or how they boot
[14:46] <alexandrdvorkin> ok but thanks for help
[14:47] <alexandrdvorkin> what is the command to eject the USB flashdrive
[14:48] <alexandrdvorkin> or i will just unplug it its bad anyway
[14:49] <alexandrdvorkin> got to bounce now
[14:49] <alexandrdvorkin> thx everyone
[19:06] <alexandrdvorkin> hi guys
[19:07] <alexandrdvorkin> can someone tell me is the xubuntu 22.04 will work on my 4GB RAM iMac2013 with the same speed as Xubuntu 18.04 
[19:11] <alexandrdvorkin> can anyone tell how to use torrent to download xubuntu
[20:48] <sbsaylors> has anyone used timeshift successfully without the "Live USB" only issue?  I can do it np on ubuntu 22.04, but xubuntu seems not to work even on fresh installs.