I'm trying to install Centos7 on my MSI laptop, with disk is SSD via USB boot. During the installing time, is not responding to me any message. See image below.
enter image description here
How did you make the USB? Check the wiki:
You must write to the entire device and not a partition on it (so,
/dev/sdb not /dev/sdb1)
When asked for the media to install from, select "hard disk" and then
the device corresponding to the USB key.
Make sure you select as destination the device corresponding to the
USB key (/dev/sdb in the above example) and not a partition (such as
/dev/sdb1)
Make sure you not using unetbootin, it wouldn't work!
Related
When attempting to forcely uninstall a software from the server, I switched off these two components from MSCONFIG.EXE:
MSConfig Screenshot
After rebooting the server, it doesn't respond anymore to RDP connections.
The Google Cloud Panel shows that the server is running, has an internal and external IP Address, but I cannot access it by any means. I already rebooted, stopped and started it many times.
This is the output for SERIAL PORT #1:
SeaBIOS (version 1.8.2-20181112_143635-google)
Total RAM Size = 0x00000000f0000000 = 3840 MiB
CPUs found: 1 Max CPUs supported: 1
found virtio-scsi at 0:3
virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0
virtio-scsi blksize=512 sectors=104857600 = 51200 MiB
drive 0x000f2a30: PCHS=0/0/0 translation=lba LCHS=1024/255/63 s=104857600
Booting from Hard Disk 0...
I am able to connect to SERIAL PORT #2, to try a deeper troubleshooting, but the first message after connection is this:
Computer is booting, SAC started and initialized
And when trying to open CMD command, this is the response:
SAC>cmd
Error: Unable to launch a Command Prompt. The service responsible for launching
Command Prompt channels has not yet registered. This may be because the
service is not yet started, is disabled by the administrator, is
malfunctioning or is unresponsive.
Does anyone know how to recover this server?
Thanks!
You unselected "Load system services". This means that nothing is loaded in Windows. The services that are required so that you can access the system remotely are not running.
You have two options:
Mount the disk on another Windows system, mount the registry and change the settings for these two items (I don't rember but this information is on the Internet). Then unmount the registry and create another VM with the disk.
Create a new instance and attach this disk as the second disk drive. Copy all the data from the second drive to the first drive. You will loose system settings, applications, etc but at least you can save your data.
I have to develop functionality wherein, when USB storage device is connected to Linux machine, my password window will popup. And if user enters the password correctly, device will be proceeded for mounting. If password is wrong device should not be accessible to user. It's like endpoint protection for Linux operating systems.
How can we achieve this in Linux user space only?
Here I don't want to go for kernel mode programming as it is very much time consuming and involves issues related to distribution wide compatibility.
Also the solution should be generic to all kernel versions and Linux distributions.
Thanks in advance.
To restrict any external USB storage media,
blacklist the driver responsible for supporting USB mass storage.
For example on Ubuntu, add the following lines to the end of the file /etc/modprobe.d/blacklist.conf.
# disable usb storage access
blacklist usb_storage
On subsequent reboots usb storage devices will not be supported until the driver is loaded first (which only a superuser can do).
Note that ONLY a superuser account can modify this blacklist file in the first place.
Now you could simply remove the kernel module for USB mass storage as a superuser
rmmod usb_storage
Only a superuser can now modprobe or insmod the usb storage driver to enable USB storage media.
One could write a GUI application running as a superuser that can prompt the user for a password and load/remove the usb_storage.ko as required.
Do note that the application now becomes the target of attacks and depending on how it stores/verifies the password, it could be easily bypassed by a reasonably motivated "attacker".
Also note that with this approach, it is an ALL or nothing feature i.e. once authenticated, then any USB storage media will be accessible on all USB ports until they are disabled back again by unloading the usb_storage.ko module.
To protect data within external USB media,
start using encrypted storage devices with the help of dm-crypt or ecryptfs.
Essentially you need to encrypt the external USB storage media first. Subsequently when it is connected to the system, depending upon the configuration:
the user has to run a couple of commands on the terminal (and provide the password)
OR
the system prompts for the password and once provide, attempts to mount the encrypt disk.
Refer to the following wiki for a step-by-step guide to creating encrypted external disks, and configuring an Ubuntu Linux machine such that it prompts for password and auto-mounts encrypted disks when connected.
I've got a decent PC that I'd like to install xenserver on, but it's also my primary workstation. Wondering if it's possible to access guests directly from the host machine -- meaning, can I use the monitor, input devices, etc that are attached to the host, to interact with the guests.
Currently setup as a dual boot Linux and Windows machine. I need them both running simultaneously while still being able to treat the host like a workstation. Already using Virtualbox, which is great but not what I'm aiming for.
I've searched high and low for an answer to this question. Maybe I wasn't searching with the right terms. I've found a package in the Ubuntu repos that adds an entry in grub along the lines of 'Ubuntu with Xen Hypervisor', but that was on a test machine that couldn't actually run Xen.
Normally, I'd just wipe this puppy and find out for myself, but there are really good reasons why I can't just jump into it this time, so I'm turning to the community.
Thanks for any and all info!
You can use a simple text console on the host to interact with the guests
xe console vm=guest
but I don't know of a way to access a graphical interface from the host.
I've got an install of ESXi 4.1 running on my server, I also have a external network HDD that stores all my music/images etc, I've tried adding the HDD to the server, the disk is recognized by ESXi/VSphere, but its telling me I have to format the disk in order to use it.
Is this correct? I what to be able to add this HDD to an existing VM as a 2nd HDD, so then I can map the drive and share it on my network. Is this possible without wiping?
Thanks,
james.
Where is the message comming from the VM guest operating system or ESXi?
What guest operating system are you using?
You should not need to format the hard disk to work in a guest VM if it has already been formatted with NTFS or FAT32 etc..
ESXi 4.1 supports pass-through for USB devices. Please check http://kb.vmware.com/selfservice/documentLinkInt.do?externalId=1022290 and http://kb.vmware.com/selfservice/documentLinkInt.do?externalID=1021345 for support details on USB devices.
Is there a way to detect whether I'm in VirtualBox's seamless mode from a guest machine? Or is there any command line option from VBoxControl.exe to detect this that I'm not seeing?
If that can't happen, can I programatically detect if a guest is in seamless mode from the host?
There are several ways;
check what API access you have to the information reported by the device manager; if you are on a VBox guest, you'll find a couple of unusual devices (VBOX CD-ROM, VirtualBox Graphics Adapter, VBOX HARDDISK, VirtualBox system device). Already the PC's hostname is "VIRTUALBOX".
Another, quite similar source of information is the systeminfo command. Also there, several specific parameters would contain names or values defined by VBox
You could also check if VBox additions are installed; they leave trace in the program directory, in the registry reg:\HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\VirtualBox Guest Additions and as a running task in the task manager.