|
I've had a clonezilla server setup on ubuntu 12.04 for some time now and it has been working great. I just got in a batch of new Lenovo T430's and when I go to boot them via PXE boot and try to make an image, it get halfway through the initialization process and then I loose all video signal. The system is still up and running, as I did a test from the server and told it to make the image and the image was created fine. I just don't like not being able to see the output on the client. Any ideas?
|
# ? May 1, 2013 12:59 |
|
|
# ? Jun 11, 2024 11:41 |
|
Maybe the nvidia Optimus graphics doing some funny stuff like switching to the wrong GPU? I've been dabbling around with T420/T430ies and Linux at work, and the Optimus part generally makes things more complicated. Try to force "Internal Graphics only" in the BIOS and see if it makes a difference.
|
# ? May 1, 2013 13:53 |
|
kyuss posted:Try to force "Internal Graphics only" in the BIOS and see if it makes a difference. Ill take a look back through the bios and see if I see that option again. I don't recall it when I looked before but I might have overlooked it. I was able to get it to boot without issues into PartedMagic. So I just used that to create an image to my clonezilla server. So worst case if I can't get the video to work, once I have a good working image I can just tell the server to re-image all the client automatically when they connect. Not the greatest, but it should work.
|
# ? May 1, 2013 14:40 |
|
Saint Darwin posted:I'm trying to copy a user's data off of one machine that's about to be wiped into a folder on a netapp; I have the directory NFS mounted on the client machine. I've tried both rsync (twice) and cp and both ways the data on the backup server is reported to be 1 gig less than the data on the original box. I've done diff on both directories and I see no rhyme or reason for it missing some of the files that aren't showing up. I HAVE to get everything off this box and I need it done as soon as possible, I wanted this reimaged and returned yesterday. What the hell could I be doing wrong? Did you find a solution to this? I'm curious what was happening.
|
# ? May 1, 2013 15:09 |
|
hackedaccount posted:Did you find a solution to this? I'm curious what was happening. du --apparent-size showed that they did in fact match. The user has not complained that anything is missing and this is a guy who would have instantly discovered something.
|
# ? May 1, 2013 15:21 |
|
So this is odd, didn't see anything in the bios related to multi video cards on the Lenovo t430. I booted up another lenovo to restore and image to and it worked just fine.
|
# ? May 1, 2013 18:36 |
|
niss posted:So this is odd, didn't see anything in the bios related to multi video cards on the Lenovo t430. I booted up another lenovo to restore and image to and it worked just fine. They can have either integrated video or integrated+NVIDIA. If it wasn't in the BIOS options maybe it only has integrated video.
|
# ? May 1, 2013 18:44 |
|
Bob Morales posted:They can have either integrated video or integrated+NVIDIA. If it wasn't in the BIOS options maybe it only has integrated video. Thats the odd part, they are both the same and one worked fine the other didn't. oh well
|
# ? May 2, 2013 12:40 |
|
This may be as good of a place as any to ask, where would be a good place to sell a laptop running Ubuntu? I think people on Craigslist get scared when they see it isn't a Windows or Mac and I didn't get any hits listing it on SA Mart. Am I stuck with ebay?
|
# ? May 2, 2013 15:52 |
|
Scruffy the janitor posted:This may be as good of a place as any to ask, where would be a good place to sell a laptop running Ubuntu? I think people on Craigslist get scared when they see it isn't a Windows or Mac and I didn't get any hits listing it on SA Mart. Am I stuck with ebay? Why not sell it as a no-OS system?
|
# ? May 2, 2013 15:56 |
|
Scruffy the janitor posted:This may be as good of a place as any to ask, where would be a good place to sell a laptop running Ubuntu? I think people on Craigslist get scared when they see it isn't a Windows or Mac and I didn't get any hits listing it on SA Mart. Am I stuck with ebay? Does it still have a Windows sticker on the bottom? Re-install it. Or offer some nerd 20 bucks off if he re-installs it himself.
|
# ? May 2, 2013 16:10 |
|
Scruffy the janitor posted:This may be as good of a place as any to ask, where would be a good place to sell a laptop running Ubuntu? I think people on Craigslist get scared when they see it isn't a Windows or Mac and I didn't get any hits listing it on SA Mart. Am I stuck with ebay?
|
# ? May 2, 2013 16:11 |
|
mystes posted:Did it come with Ubuntu? If not, why don't you just reinstall Windows? It didn't, but I have no idea how to reinstall Windows since it doesn't have a CD drive and I'm not exactly computer savvy. My dad is the one who put it on there.
|
# ? May 2, 2013 16:17 |
|
Scruffy the janitor posted:This may be as good of a place as any to ask, where would be a good place to sell a laptop running Ubuntu? I think people on Craigslist get scared when they see it isn't a Windows or Mac and I didn't get any hits listing it on SA Mart. Am I stuck with ebay? A dumpster. Wait, damnit, this isn't YOSPOS. If it's a new enough model you may want to try Amazon, since people searching for that model will see it as a used option specifically for that, rather than just people searching for some sort of laptop on eBay.
|
# ? May 2, 2013 16:37 |
|
I feel really stupid for having to ask this, but I'm missing something really obvious here. One of my linux servers isn't mounting it's second partition on boot and I can't figure out why. It was all setup by default using Ubuntu's installation cd, so I'm not sure why it won't start on boot. Here's the fstab: code:
|
# ? May 2, 2013 16:39 |
|
Ah I didn't even think of Amazon. It's a Lenovo Thinkpad, you know, just in case anyone's interested.
|
# ? May 2, 2013 16:42 |
|
Frozen-Solid posted:The mount in question is the /srv mount point. After it's booted, if I just login and "sudo mount /srv" everything is fine. The defaults option is supposed to automount, isn't it? What's with the two bind types, that bind a folder to itself? I'm wondering if after /srv is auto mounted, those binds might be breaking it somehow. If I delete those, will that fix the problem? What is /srv a bind mount of? It's usually /pathoriginal/ /pathnew/ bind defaults,bind 0 0 Do a cat /proc/mounts after you do 'mount /srv' to find the source of the mount.
|
# ? May 2, 2013 16:45 |
|
3spades posted:What is /srv a bind mount of? It's usually /pathoriginal/ /pathnew/ bind defaults,bind 0 0 No idea. All of that was setup at install as far as I know. I never mess with fstab. 3spades posted:Do a cat /proc/mounts after you do 'mount /srv' to find the source of the mount. code:
code:
Frozen Peach fucked around with this message at 16:56 on May 2, 2013 |
# ? May 2, 2013 16:54 |
|
Scruffy the janitor posted:It didn't, but I have no idea how to reinstall Windows since it doesn't have a CD drive and I'm not exactly computer savvy. My dad is the one who put it on there. Note that if Windows is actually still installed along with Ubuntu you could just get rid of Ubuntu and resize the Windows partition.
|
# ? May 2, 2013 16:55 |
|
Frozen-Solid posted:No idea. All of that was setup at install as far as I know. I never mess with fstab. You're misconstruing your bind mount (/dev/disk/by-uuid...) with by-uuid not linking to the right drive letter. sdb1 matches the UUID in fstab. The "defaults" option has nothing to do with automounting. Being in fstab means it will be automatically mounted. "defaults" means "rw,relatime,user_xattr,barrier=1,data=ordered" Those bind mounts are less than useless. Remove them. And you may want to try to figure out what added them. Does the modification time of fstab match the install time of the system? I'm guessing it does not. The syntax for those bind mounts is somewhat off, and bind mounting a directory to itself is useless. If it's something the Ubuntu installer does, you should file a bug.
|
# ? May 2, 2013 17:29 |
|
Frozen-Solid posted:
Sorry, I missed the actual mount in the sea of uuids, so /dev/sdb1 is /srv. Drop the bind mounts from fstab for /srv since its not a bind mount but a secondary disk already being called to mount itself.
|
# ? May 2, 2013 19:23 |
|
Are there any other PDF printer drivers other than cups and the stock Save As..? The stock takes 20 or so seconds to print in Draftsight while cups likes printing 2-4mb PDF files that are 1-300kb in Windows.
|
# ? May 3, 2013 00:33 |
|
What sort of quality settings do you have? I have tried a few test ones here just choosing print print to file and it is generating about 50kb files for a simple 300dpi A4 page with text and colour blocks. I think it can go as high as 1200dpi or even more if you set it to. Also are the PDFs generated just essentially images of the page or is the text etc separate elements?
|
# ? May 3, 2013 02:24 |
|
Varkk posted:What sort of quality settings do you have? I'm doing 300dpi A4. And yes, just images of the page, no seperate elements.
|
# ? May 3, 2013 02:54 |
|
I need a to have 100 users preferably all with the same password in openLDAP to use in performance testing software. My RedHat like distro has openLDAP 2.3.43 installed. Can anyone assist?
|
# ? May 3, 2013 12:26 |
|
epwvt posted:I need a to have 100 users preferably all with the same password in openLDAP to use in performance testing software. My RedHat like distro has openLDAP 2.3.43 installed. Can anyone assist? You can generate a simple ldif text file for input to ldapadd: code:
|
# ? May 3, 2013 16:16 |
|
epwvt posted:I need a to have 100 users preferably all with the same password in openLDAP to use in performance testing software. My RedHat like distro has openLDAP 2.3.43 installed. Can anyone assist? You want to batch create LDAP users? Can we help you? Probably not. You can help yourself, though. You probably want to either batch-create user LDIFs (easier), or add them all to one LDIF, then import it. Use Perl/Python/Ruby. code:
I don't know if you have CRYPT support compiled in, or if you're using a different password schema. I don't know your UID scheme. I don't know your user/group OUs. I don't know your DC. I don't know your username scheme. You'll need to provide a lot more information or muddle your way through it. Do you have an LDAP admin there? Is this a fresh setup that you can do whatever you want with?
|
# ? May 3, 2013 16:24 |
|
wolrah posted:You can certainly PXE boot from non-local hosts as long as the machine doing the booting has a valid gateway and a decent PXE implementation. At one point my customer-facing TFTP server for phone configs was also our in-house PXE boot server and sites with Linksys or Aastra phones use the same DHCP option 66 as PXE can use, so I would intermittently see a computer at a customer site try to boot from my server over the internet. I would certainly love to use a bridge for the VMs, but this is a laptop and I need the convenience of using wifi and vpns with NetworkManager. I have the pxeboot working with the VMs behind the libvirt default NAT network now. I had edited libvirt's default network xml correctly, but only now have I realized that I didn't stop/start the network to load my changes. Doh. However, it is still not able to download the pxelinux.0 file. It has the right URI, but it times out every time. I can boot another VM and use the tftp client to connect to the same tftp server, but 'get pxelinux.0' times out there as well. I am guessing this has something to do with the data transfer trying to happen on random ports? Shouldn't the connection tracking of the libvirt default network NATing accommodate this?
|
# ? May 3, 2013 17:17 |
|
covener posted:You can generate a simple ldif text file for input to ldapadd: ANyone else use brace expansion for stuff like this? I found out about it through climagic and basically you could do an iteration of numbers like this without a command like seq: code:
|
# ? May 3, 2013 17:32 |
|
Kaluza-Klein posted:I would certainly love to use a bridge for the VMs, but this is a laptop and I need the convenience of using wifi and vpns with NetworkManager. TFTP is a fairly stupid protocol, and you may not be connected when you think you are (no matter what the client says). says you're not actually making it to the TFTP server. Packet dump to verify.
|
# ? May 3, 2013 19:16 |
|
evol262 posted:TFTP is a fairly stupid protocol, and you may not be connected when you think you are (no matter what the client says). says you're not actually making it to the TFTP server. Packet dump to verify. Just looking at the tftp server logs: This is a VM running on the NATed libvirt network trying to connect: code:
code:
edit: http://ntrnt.com/huh.pcapng.gz ??? other people fucked around with this message at 20:10 on May 3, 2013 |
# ? May 3, 2013 19:29 |
|
Simple question, if I have 8gb of RAM and a solid state drive, can I install without a swap partition?
|
# ? May 3, 2013 23:01 |
|
Endymion FRS MK1 posted:Simple question, if I have 8gb of RAM and a solid state drive, can I install without a swap partition? Having a relatively small swap partition can't hurt, it's useful for both suspend-to-disk and also gives the kernel the option of paging out stuff it really doesn't care about. 1 GB would be more than sufficient here. Otherwise folks regularly run machines without swap, and if you have a few GB or more it's usually not an issue, depending on your workload.
|
# ? May 4, 2013 00:03 |
|
ExcessBLarg! posted:You can, but you need a swap partition if ever want to use suspend-to-disk. Alright thanks, I ended up going with 2GB anyways after some quick reading. New problem though. I'm doing a dual boot of Xubuntu and Windows 8, followed this guide pretty much to a t. However, I can't boot back into Xubuntu. I get a screen that looks like this: Edit: Nevermind, fixed it using a boot loader repair thing from Ubuntu support Endymion FRS MK1 fucked around with this message at 00:47 on May 4, 2013 |
# ? May 4, 2013 00:09 |
|
^^ Tip: If you plan to rw-mount the NTFS partition(s) in Linux, be sure to turn off the "fast startup" feature in Windows. Windows 8 by default will write temporary information to disk for a faster startup which, if accidentally overwritten, may result in data loss.
|
# ? May 4, 2013 09:21 |
|
kyuss posted:^^ As long as you don't touch hiberfil.sys you should be fine though right? e: I don't dual boot anymore but when I did I used one (back then fat32) data partition and just never mounted the windows system partition (or just ro if you needed a file off your windows c drive in linux). I suggest the same approach for dual booting. spankmeister fucked around with this message at 09:30 on May 4, 2013 |
# ? May 4, 2013 09:26 |
|
Kaluza-Klein posted:However, it is still not able to download the pxelinux.0 file. It has the right URI, but it times out every time. TFTP through NAT can be a bitch. Ugh, I forgot about that little "quirk" of TFTP. It's pretty much designed to break in NAT environments (mostly because it was designed in 1980 before NAT was a thing). Rather than make the packets larger with a session ID or something, TFTP effectively uses the ports involved as the connection identifier. Client picks a random port from the ephemeral range and uses it to send a UDP packet containing the request to the server. The server then responds by picking its own ephemeral port and sending from there at the client's port. NAT doesn't know this, so NAT is tracking the "connection" from client:random1 to server:69 and isn't expecting a response from server:random2 at client:random1. NAT has nowhere to send this and responds or simply ignores depending on configuration. There are a few ways to get TFTP through NAT reliably: 1. Tweaked client using a fixed port on the return side, port forward in NAT. This however prevents multiple simultaneous requests from the same client. 2. Full "DMZ Mode" as most home routers call it where anything not otherwise specified is forwarded to the client by NAT. This of course only works for one at a time. 3. TFTP-aware NAT. On Linux it's a kernel module, on pfSense it's a checkbox. I don't know the specifics of any given implementation, but a simplified functional version could just look for connections out to port 69 and open a hole for the outside host to get back in to the actual client on the client's source port. Obviously that simple of an implementation would be a security nightmare, but you get the idea. 4. TFTP Proxy. Basically putting a server on a machine that has access to both the inside and outside networks, typically the NAT box, and having it simply forward requests and responses to/from the real server. One of the VoIP NAT boxes I use does this, I set the internet IP of my config server and DHCP tells the phones to just connect to the router. Every time I'm dealing with TFTP and NAT it's on a box that does either 3 or 4 and both work great, so I had entirely forgotten that by default NAT hates TFTP. wolrah fucked around with this message at 19:30 on May 4, 2013 |
# ? May 4, 2013 19:23 |
|
wolrah posted:TFTP through NAT can be a bitch. Woah, thank you for that. I just got it working by loading nf_nat_tftp on the VM host. I had nf_conntrack_tftp, but was not aware of nt_nat_tftp.
|
# ? May 4, 2013 20:04 |
|
spankmeister posted:As long as you don't touch hiberfil.sys you should be fine though right? No. Fast shutdown (which is the default) terminates user sessions and then suspends the kernel to disk. That includes the current state of the Windows NTFS driver, which is storing in memory information about what's located where on the disk. So if you shutdown Windows 8, modify the filesystem in Linux, and then restart Windows 8, the saved NTFS driver state will potentially be stale, which means it can corrupt data.
|
# ? May 4, 2013 20:21 |
|
|
# ? Jun 11, 2024 11:41 |
|
Does anyone have any experience with Linux on ARM "TV-stick" computers like the MK808? There is a Linux build called "Picuntu" for this thing, but wanted to see if anyone had any experience with these before buying it. I really just want a cheap, low power device to run Tiny Tiny RSS on, and it apparently runs pretty rough on the raspberry pi.
|
# ? May 5, 2013 00:55 |