Tag Info

Hot answers tagged

18

Out of the box, you are guaranteed that iptables will start before the interface is brought up by the order of the startup scripts. Look at the "chkconfig" line in each startup script and you will see the runlevels it is "on" when active, the start order, and the stop order. You are not guaranteed that the interface will not be brought up if the iptables ...


9

You can boot using a Grub fallback entry. Add another stanza with either your new (or old) options, then choose the known-good as the fallback. Look into adding the panic=5 option as well (resets a system following kernel crash)


9

You can indeed use Grub to boot once only. You can also specify a fallback boot. Essentially, you use default saved at the start of your grub.conf, to indicate that you want to boot a saved entry by default. Then at the end of your experimental boot, use savedefault # to set the older boot options as the new saved value. So that every time you boot the ...


5

Reading regarding this on IBM support forums the suggestions to get it working are: Make sure you have latest Bios Ver. Make sure you have USB options selected in BIOS Insert USB and boot server Select F12 (Boot options) during boot up. USB will be displayed, select it and you will be prompted if you want to make it "Persistent" Boot. ...


5

You need, at minimum, After=network.target in the [Unit] section of your unit file, to ensure that the network is up before starting nginx. I have no idea why your unit file doesn't have it. Here is a complete example from my handy Fedora system, as shipped by Fedora: [Unit] Description=The nginx HTTP and reverse proxy server After=syslog.target ...


5

It means your server isn't up. It could have failed at any step in the boot process. On bare-metal hardware, an EL6 server should take between 4 and 10 minutes to boot. It's possible that updates could have caused this issue. This could also be a hardware error. Ask your hosting company to get an IP KVM on the server and see what's on the screen at the ...


4

Has anyone seen this before on SuperMicro Super Servers? Yes, this just happened to me. Right before the screen turns blue there is an error message (I had to record it on my phone and play the video back to read it): error: Invalid mode: text I booted off a USB drive, mounted the file system and changed /etc/default/grub. Comment out the line: ...


4

If you by Redhat mean the distribution, which was discontinued a decade ago, then it might be true, that it only supported initrd and not initramfs. But on newer distributions, the initrd names in /boot are just named like that for historical reasons. There was a period where distributions supported both. The kernel knew the difference and could tell the ...


4

I used a fedora 20 iso and hosted it out to an entire lab. you don't mention what OS you're using, but check out PXEboot. It requires you have access to your DHCP server, a TFTP server, and storage enough to host your files. This method works for about every linux distro. I posted a howto a while back on my blog using fedora 20 as the client os and RHEL7 as ...


4

A workaround is to edit /etc/fstab to use the _netdev mount option. From mount man page: _netdev The filesystem resides on a device that requires network access (used to prevent the system from attempting to mount these filesystems until the network has been enabled on the system). Other possibilities are to use the ...


3

The main problem, that the bootloaders are a little bit complex today, and practically they need to be booted as well. Even this "bootloader booting code" is too big for the around 300 byte of code in the MBR (master boot record). This is because the boot loaders are using normally an extra data area, around 10-30 kbyte, after the master boot record. On ...


3

No, you should use your operating specific way of removing old versions of the Linux kernel. (yum for RHEL based like CentOS or Fedora, apt-get for Debian based like Ubuntu and so on)


3

Copy the script to /etc/rc.d/rc.local, reboot and it will run at boot. E.g. [vagrant@localhost ~]$ cat /etc/rc.d/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local sudo touch ...


3

Looking at your kickstart: # The following is the partition information you requested # Disk Partioning clearpart --all --initlabel part /boot --size 64 --asprimary --ondrive=sda part pv.1 --size 286000 --ondrive=sda volgroup vg00 --pesize=65536 pv.1 The "part /boot --size 64" means exactly that. 64Mb /boot partition. Your problem lies with the ...


3

Something borked your winlogon.exe, probably a corrupt registry based on your details. Try boot to a last known good configuration. If that doesn't work, time to break out the backup and restore procedures.


3

I'm simply wondering if a Server 2012 Hyper-V VM can be sent over the network at startup through PXE boot. No, it cannot. For that matter, you can't do this with any other virtualization technology either. You simply can't "stream" an operating system over a network cable in the way you seem to be envisioning. can anyone suggest another method of ...


3

You could use /etc/rc.local, it is present on all of the systems you mention. It is executed after all of the other initialisation scripts, see the comments in the file for more information.


3

Use kexec to reboot your server. This skips the pre-boot procedures entirely, and reboots into a Linux kernel at the end of the Linux shutdown process, rather than resetting the hardware and going to POST. Unfortunately kexec is a bit cumbersome to use, so I wrote a script to make it easier to work with: kexec-reboot will allow you to choose a kernel from ...


2

Using grub-install /dev/sdX is probably how it is intended to be done. However, I just had to rescue a CentOS 6.4 server that had that setup, but now froze at boot after its other bootable RAID 1 disk was replaced some months earlier (the server had stayed on during the meantime). What solved the issue in my case was grub-install /dev/md0, where md0 is the ...


2

Please see KB2977012 for a Workaround and (in the future) solutions. Current status (2014/05/13): Microsoft is researching this problem and will post more information in this article when the information becomes available. Workaround: Start the computer from media for Windows RT 8.1, Windows 8.1, or Windows Server 2012 R2, select the Repair ...


2

Although the PHP error happens three seconds after Apache started up, it is still one second before MariaDB has finished starting up. It might be instructive to look at line 7 of the PHP file db_connect.php. I would wager it's trying to connect to the database using a socket, and since the database hasn't created the socket yet, you get a No such file or ...


2

Ok, never mind what I said in my other answer. You won't be able to boot into single-user mode if you are having problems with ZFS partitions anyway. What's funny is after I posted my answer, I had a problem with power again and I couldn't boot into my system, just like your problem. So here is what I did to get back in. I used a FreeBSD 10.0-RELEASE Live ...


2

Recommended way would be to install grub to a master boot record on each hard drive, that is sda and sdb. That way if one hard drive fails you will be able to boot from another one. Depending on your setup sometimes you may need to install grub to a specific partition rather than a master boot record. For example if you have another boot loader sitting on ...


2

The system boards on G3 ProLiant servers tended to fail in this manner: the fan sensors tended to go bad. Most of my G3 servers died near 5 or 6 years of service. It's an 11 year-old system. If you absolutely want another, pay $50 for another one on eBay or replace the system board.


2

I thought this was answered in: Combine 2 logical raid 0 drives to 1 logical raid 1 drive If you (or the previous admin) used software RAID on the hardware array, you really need to ditch it. There's no option to rebuild or do this the right way? Perhaps shape the hardware array the way you want it to look, then restore from backup? Outside of that, I ...


2

I would agree w/ what @ewwhite said insofar as you have a really non-ideal situation here. If the other admin was kind enough to mirror the "System Reserved" partition to the other disk you could probably get away w/ booting a Windows 2012 setup DVD and running: bootsect /nt60 ALL That'll write a Windows "6.0" MBR to the disk, which in turn will attempt to ...


2

Lines from rc.local are not executed in parallel. It will be executed in the same order like any other bash script. Don't guess why P2 didn't run, find out for sure by logging its output. For example: P1 > /tmp/P1.startup 2>&1 P2 > /tmp/P2.startup 2>&1 If P1 has to complete successfully before P2 runs then you will need to set an if ...


2

I'm answering my own question here, as I managed to fix it after a while. First thing I did was download the 'Recommended download (Floppy, CD & USB in one)' of Super Grub2 Disk from http://www.supergrubdisk.org/. This is a *.iso file, when it is finished downloading, rename it to an *.img. Next, plug an empty usb drive in your pc, download & ...


2

I doubt you're going to be able to track down a root cause. I threw the data into a disassembler and can say reasonably confidently that it isn't x86/x64 machine language, so I sincerely doubt it was any attempt by malware to make itself persistent across reboots. It looks, to me, like an in-memory data from an application (possibly just some random heap ...


2

Not sure if you have RAID or something there, but I think your problem is caused due to the fact that the disk with boot records is on a different position now, and the BIOS is trying to boot from the former position. Either re-swap the disk like they where before, or change your Boot Order Settings at BIOS. Maybe you disks are not correctly plugged in, ...



Only top voted, non community-wiki answers of a minimum length are eligible