JFox762 2017-03-03 20:45:07
ok
JFox762 2017-03-03 20:45:11
when i try to boot from the USb
JFox762 2017-03-03 20:45:17
it doesnt seem to recognize it as a boot disk
manvam 2017-03-03 20:46:09
dgtlchlk: so that translates to "Every Sunday at 5:30am"
alkisg 2017-03-03 20:46:12
JFox762: how did you create the usb stick? dd? rufus? unetbootin?
dgtlchlk 2017-03-03 20:46:18
manvam: yes
manvam 2017-03-03 20:46:20
correct?
manvam 2017-03-03 20:46:22
thank you!
manvam 2017-03-03 20:46:27
This one right? 30 5 * * 0
dgtlchlk 2017-03-03 20:46:48
that or 30 5 * * 7, though 7 is a bit more non standard. might not work with every cron
manvam 2017-03-03 20:47:18
im using crontab -e with ubuntu server 16.04
manvam 2017-03-03 20:47:39
i just want it to auto update itself
manvam 2017-03-03 20:47:41
ohh yea
manvam 2017-03-03 20:47:44
last question
dgtlchlk 2017-03-03 20:47:45
sure fire way to find out, try it and set the date ahead
manvam 2017-03-03 20:47:49
do i need to use 'sudo'
dgtlchlk 2017-03-03 20:48:05
to set a user crontab entry? no
manvam 2017-03-03 20:48:08
like "30 5 * * 0 sudo apt-get update"
dgtlchlk 2017-03-03 20:48:15
oh
manvam 2017-03-03 20:48:37
no, when typing it out, do i type "30 5 * * 0 sudo apt-get update && sudo apt-get dist-upgrade -y"
smahan83 2017-03-03 20:49:03
JFox762, you need an image writer software to replace the normal filesystem on the thumbdrive
ducasse 2017-03-03 20:49:23
manvam: put it in roots crontab, then you don't need sudo
dgtlchlk 2017-03-03 20:49:29
manvam: 16.04 already has a daily apt-get update
manvam 2017-03-03 20:49:49
ohh ea, im running as root
manvam 2017-03-03 20:49:52
forgot to mention
manvam 2017-03-03 20:49:56
so i guess not
dgtlchlk 2017-03-03 20:50:07
theres a system service for it already
manvam 2017-03-03 20:50:39
this is my full command
manvam 2017-03-03 20:50:40
"30 5 * * 0 apt-get update && apt-get dist-upgrade -y && apt autoremove && reboot"
dgtlchlk 2017-03-03 20:50:50
thats not really a good idea
ducasse 2017-03-03 20:50:55
manvam: if you want automatic upgrades, just use unattended-upgrades
dgtlchlk 2017-03-03 20:50:59
unattended dist-upgrades can go bad
manvam 2017-03-03 20:51:19
so how would i do this?
dgtlchlk 2017-03-03 20:51:22
by hand
manvam 2017-03-03 20:51:37
im talking about unattended-upgrades
dgtlchlk 2017-03-03 20:51:47
https://help.ubuntu.com/lts/serverguide/automatic-updates.html
manvam 2017-03-03 20:53:00
ohh wow so it already has that built in
manvam 2017-03-03 20:53:02
but wait
manvam 2017-03-03 20:53:07
some updates may require reboot
manvam 2017-03-03 20:53:24
the thing about apt-get update is that it updates software
manvam 2017-03-03 20:53:37
does unattended-upgrades do that or only to the system?
ducasse 2017-03-03 20:53:42
manvam: read the docs, it can auto-reboot
dgtlchlk 2017-03-03 20:53:50
also, the system is software
dgtlchlk 2017-03-03 20:53:57
so thats a moot line to draw
manvam 2017-03-03 20:54:10
I know but what about apache, mysql, php, and such?
dgtlchlk 2017-03-03 20:54:15
what about them?
manvam 2017-03-03 20:54:24
does unattended-upgrades take care of them too?
ducasse 2017-03-03 20:54:33
of course
dgtlchlk 2017-03-03 20:54:39
you can specify "any" package
manvam 2017-03-03 20:54:48
ohh wow! extremely useful! how do i know if its working?
manvam 2017-03-03 20:54:57
like any "service" thing i can call like apache2?
dgtlchlk 2017-03-03 20:54:59
heh, you really are in over your head
manvam 2017-03-03 20:55:17
i came from Windows to Ubuntu because i want complete control
manvam 2017-03-03 20:55:21
Windows 10 really blew it for me
manvam 2017-03-03 20:55:36
Microsofts policy that "we will update on our time" is fucking me over hard
pickle_ 2017-03-03 20:55:44
winblow$
dgtlchlk 2017-03-03 20:55:49
thats changing anyway but
dgtlchlk 2017-03-03 20:55:50
eh
JFox762 2017-03-03 20:55:53
I dont seem to be bothered by it so much
JFox762 2017-03-03 20:56:00
why is that a problem for so many?
manvam 2017-03-03 20:56:14
On my normal general laptop, sure. Microsoft can update
JFox762 2017-03-03 20:56:18
i mean I'm not a huge fan of microsoft... but I've never really had an issue with windows updating constantly
JFox762 2017-03-03 20:56:34
I have to use Windows for gaming
manvam 2017-03-03 20:56:46
Before, I used to host the actual programs (apache, etc...) on Windows itself
JFox762 2017-03-03 20:56:50
I wish all the games I love to play were available on linux
manvam 2017-03-03 20:57:04
but due to the bad timing and conflicts, Windows fucking blows in that department
manvam 2017-03-03 20:57:08
So im running a VM
manvam 2017-03-03 20:57:11
Ubuntu VM
JFox762 2017-03-03 20:57:12
alkisg
ducasse 2017-03-03 20:57:18
!language | manvam
ubottu 2017-03-03 20:57:18
manvam: Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList
JFox762 2017-03-03 20:57:19
alli did was move the iso to the disk
manvam 2017-03-03 20:57:27
Ohh, im very sorry
JFox762 2017-03-03 20:57:31
to the usb drive
alkisg 2017-03-03 20:57:47
JFox762: that doesn't make the drive bootable, you need to follow the wiki page instructions
alkisg 2017-03-03 20:57:58
JFox762: when you download ubuntu, it has a link for how to make a usb stick
manvam 2017-03-03 20:58:05
Anyway, back to my question: how can i change the time of unattended-upgrades because...
manvam 2017-03-03 20:58:14
I tried going into "nano /etc/apt/apt.conf.d/50unattended-upgrades"
alkisg 2017-03-03 20:58:17
JFox762: what is your current OS, windows? https://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows
manvam 2017-03-03 20:58:22
and well, theres no place to set the time
JFox762 2017-03-03 20:58:36
10
alkisg 2017-03-03 20:58:50
JFox762: ok, read that page that I linked above ^
ducasse 2017-03-03 21:04:40
manvam: https://ubuntuforums.org/showthread.php?t=1965730
smahan83 2017-03-03 21:06:23
manvam, are you one of those who boast with a year+ uptime?
manvam 2017-03-03 21:07:04
if ur saying about "uptime" as in when was the last time i had to access the server
manvam 2017-03-03 21:07:08
i never got a full year
manvam 2017-03-03 21:07:24
3 months max so far until i had to go in to modify files to fix something
ducasse 2017-03-03 21:08:32
manvam: uptime = time since last reboot
manvam 2017-03-03 21:08:46
ohh, idk. I dont care when the server reboots
rstudio_HALP 2017-03-03 21:08:47
Ubuntu 16.10, can't get rstudio to run unless using launching w/ sudo. Halp?
manvam 2017-03-03 21:08:56
I just need it to work when i need it
manvam 2017-03-03 21:09:11
it can reboot all night if it has to install the new security patches
manvam 2017-03-03 21:09:23
as long as when I use it, my server is working, im fine
manvam 2017-03-03 21:09:30
of course, i would hope its fully patched too
manvam 2017-03-03 21:09:38
and that I dont need to manually update it myself
SaltyKawaiiNeko 2017-03-03 21:10:12
hi
SaltyKawaiiNeko 2017-03-03 21:10:39
what is the best way to fully cutsomize a Ubuntu image and then quickly deploy it to a lot of identical computers?
manvam 2017-03-03 21:10:44
anyway im off for the night, thank you very much
SaltyKawaiiNeko 2017-03-03 21:11:02
create an ISO + Clonezilla, OEM install...?
SaltyKawaiiNeko 2017-03-03 21:11:46
maybe using Fully Automatic Installation (FAI)? http://fai-project.org/
rstudio_HALP 2017-03-03 21:12:18
Launch a program, get this error: "TypeError: undefined is not an object (evaluating 'window.desktopHooks.notifyRCrashed')"
alkisg 2017-03-03 21:12:33
SaltyKawaiiNeko: one quick way that I'm using is to create a VM however you want it, and then dd the result to the clients
SaltyKawaiiNeko 2017-03-03 21:13:13
"dd the result to the clients". how exactly?
alkisg 2017-03-03 21:13:15
SaltyKawaiiNeko: I also have a usb stick that I sometimes use to boot+clone the installation that I have there
alkisg 2017-03-03 21:13:25
dd is a command that copies a disk to another disk
SaltyKawaiiNeko 2017-03-03 21:13:31
i know what dd is
alkisg 2017-03-03 21:13:36
dd if=/dev/sda of=/dev/sdb bs=1M
SaltyKawaiiNeko 2017-03-03 21:13:38
but these computers have no OS
alkisg 2017-03-03 21:13:48
Then gparted /dev/sdb to grow the partition, if needed
alkisg 2017-03-03 21:14:07
You can boot them via usb stick or netboot them, I use ltsp for netbooting
SaltyKawaiiNeko 2017-03-03 21:14:10
i have to create some kind of installaton media to work with them
rstudio_HALP 2017-03-03 21:14:22
If any of you guys can offer some help, I'd be beyond appreciative.
SaltyKawaiiNeko 2017-03-03 21:14:32
netboot? hmmm
SaltyKawaiiNeko 2017-03-03 21:15:07
can you please describe a way that doesn't require a network at all? just using CD/DVDs, USB sticks, etc.
alkisg 2017-03-03 21:15:38
SaltyKawaiiNeko: sure, make an installation to a usb stick, customize it, then boot the client with that, and dd from usb to hard disk
SaltyKawaiiNeko 2017-03-03 21:16:45
to install it to the USB i just need to perform a regular install in a ext4 partition inside the USB, is that correct?
alkisg 2017-03-03 21:16:50
Yes
alkisg 2017-03-03 21:16:58
Also make a swap partition so that dd is easier
SaltyKawaiiNeko 2017-03-03 21:17:18
woah i'll need a bigger stick for this, i have a lot of spare 4GB sticks but that won't be enough :/
alkisg 2017-03-03 21:17:29
8 gb is enough
alkisg 2017-03-03 21:17:33
The swap can be just 64 mb
JFox762 2017-03-03 21:17:35
so im trying to install Linux on my 2nd hard drive I just got...
alkisg 2017-03-03 21:17:38
You can easily resize it with gparted after dd
JFox762 2017-03-03 21:17:52
Do I have to format, and partition that hard drive before loading the boot drive?
SaltyKawaiiNeko 2017-03-03 21:17:53
to clone the swap, i just dd it like the main partition and expand it?
alkisg 2017-03-03 21:18:29
SaltyKawaiiNeko: you clone the whole stick, so sdb1=ext4 goes to sda1, and sdb2=swap goes to sdb2, and then with gparted you resize them in 10 seconds to fill the whole disk
alkisg 2017-03-03 21:18:41
SaltyKawaiiNeko: that way you won't have to bother with either fstab or grub
alkisg 2017-03-03 21:19:07
It's really just a dd and 10 secs for gparted resize
alkisg 2017-03-03 21:19:28
You dd the whole sdb to sda, so all partitions get transferred
SaltyKawaiiNeko 2017-03-03 21:19:54
yeah sounds very convenient
SaltyKawaiiNeko 2017-03-03 21:20:00
thanks a lot ^^
alkisg 2017-03-03 21:20:10
np; but you'd like the network more :D
alkisg 2017-03-03 21:20:18
It's extremely easy to set it up
SaltyKawaiiNeko 2017-03-03 21:20:30
i do, but we're still setting up the network
alkisg 2017-03-03 21:20:45
Note that the stick should be just enough to fit your OS, don't buy a 64gb one and need to dd all of it, it will take a lot of unneeded time
SaltyKawaiiNeko 2017-03-03 21:21:11
we have the switches and all the cables mounted in the wall but the router isn't giving IPs, and we're still missing things in some parts
alkisg 2017-03-03 21:21:34
Giving IPs with dnsmasq is 1 line
SaltyKawaiiNeko 2017-03-03 21:21:38
yeah i'll buy a 8GB stick :)
alkisg 2017-03-03 21:22:04
You could probably also use the 4 gb for the initial setup, it should fit...
SaltyKawaiiNeko 2017-03-03 21:25:05
i have it all ready, thank you a lot alkisg <3
alkisg 2017-03-03 21:25:13
np
JFox762 2017-03-03 21:27:56
so i selected "install ubuntu"
JFox762 2017-03-03 21:28:00
and as soon as I select that
JFox762 2017-03-03 21:28:03
it blanks out the screen
JFox762 2017-03-03 21:28:09
and my monitor shuts off o_O
JFox762 2017-03-03 21:28:50
followed shortly by a sound on my speakers
JFox762 2017-03-03 21:28:59
that sounds like a bongo being tapped
JFox762 2017-03-03 21:29:19
but still ... screen is blank, and monitor is receiving now signal
alkisg 2017-03-03 21:31:08
JFox762: if you press caps lock now, does the keyboard led blink?
k1l_ 2017-03-03 21:31:23
sound like nomodeset is needed. is it a nvidia card?
JFox762 2017-03-03 21:31:36
its a gtx 970
JFox762 2017-03-03 21:31:56
i tried to plug in my monitor to my motherboard
JFox762 2017-03-03 21:31:59
dvi
JFox762 2017-03-03 21:32:05
and thtat didnt pull imageeither
k1l_ 2017-03-03 21:32:07
!nomodeset | JFox762
ubottu 2017-03-03 21:32:07
JFox762: A common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter
k1l_ 2017-03-03 21:32:37
you need that for the install and 1st boot of the installed os. then install the nvidia driver from ubuntu and you should not need that anymore
JFox762 2017-03-03 21:33:02
if i jsut remove the graphics card
JFox762 2017-03-03 21:33:04
for the install
alkisg 2017-03-03 21:33:05
If you plug your monitor to your motherboard, reboot for it to take effect
alkisg 2017-03-03 21:33:16
The bios initializes the connected card
JFox762 2017-03-03 21:33:57
so i need to remove my graphocs card?
alkisg 2017-03-03 21:34:18
Noone said that
alkisg 2017-03-03 21:34:50
Try to reboot while having the monitor connected to your motherboard card
alkisg 2017-03-03 21:34:58
If that doesn't work, see the link about how to use nomodeset
smahan83 2017-03-03 21:37:23
Linux (even Ubuntu) is not for the faint of heart
JFox762 2017-03-03 21:40:13
how do i modify the kernal from windows?
lufeng 2017-03-03 21:40:23
lufeng 2017-03-03 21:40:23
itsgokul 2017-03-03 21:40:33
itsgokul 2017-03-03 21:40:44
itsgokul 2017-03-03 21:42:18
itsgokul 2017-03-03 21:42:18
B105PH3RE 2017-03-03 21:43:10
JFox762: you shouldn't have any issues installing, btw what version are you trying to install and flavor?
B105PH3RE 2017-03-03 21:44:06
why can't I see itsgokul and lufeng talking?
B105PH3RE 2017-03-03 21:44:12
just blanks
alkisg 2017-03-03 21:44:20
That's what they're typing :)
B105PH3RE 2017-03-03 21:44:31
weird
B105PH3RE 2017-03-03 21:44:43
of some secret crypto thing haha