(or simple delete the swap and partion andre create it again - but remember to activwate the swap agin (last step). With som linux clients you often need to enlarge the extended partion, move the swappartion, shrink the extended partion and enlarge the root partion. In gparted and possibly most other tools, LVM and Windows dynamic disc is not supportedīoot the virtual machine with gparted or similar tool, enlarge the partion and optionally the file system. Use gparted or similar tool (recommended) Enlarge the partition(s) in the virtual diskĭepending on the installed guest there is several diffent ways to resize the partions You will be presented with the option of increasing the disk size:Ģ. You can also select your VM from the list > Hardware > Hard Disk > Disk Action > Resize Linux should see the new size online without reboot with kernel >= 3.7 Windows should see the new size online without reboot with last virtio drivers. Linux should see the new size online without reboot with kernel >= 3.6 You can resize your disks online or offline with command line:Įxemple: to add 5G to your virtio0 disk on vmid100: Shrinking disks is not supported by the PVE API and has to be done manually.Īnother page (deleted) with overlapping content was Resizing disks | Archive qm command SystemRescueCD comes very handy for it, just add its iso as cdrom of your VM and set boot priority to CD-ROM. If you reduce (shrink) the hard disk, of course removing the last disk plate will probably destroy your file system and remove the data in it! So in this case it is paramount to act in the VM in advance, reducing the file system and the partition size. If you enlarge the hard disk, once you have added the disk plate, your partition table and file system knows nothing about the new size, so you have to act inside the VM to fix it. When you resize the disk of a VM, to avoid confusion and disasters think the process like adding or removing a disk platter. Resizing guest disk General considerations 3.2 Online for Linux guests without LVMġ.Enlarge the filesystem(s) in the partitions on the virtual disk Enlarge the partition(s) in the virtual disk Not Debian-based, so apt-get install doesn't work Samba share not displayed on remote Windows /etc/samba % cat /etc/samba/smb.conf Scripts are located in /etc/init.d/ How to install applications? Just to recover files, you can ignore this warning. Nobody:x:65534:65534:nobody:/var/empty:/bin/false How to slow down fans? How to save changes (config files, etc.)? "Partition x does not start on physical sector boundary." Smbd: Unable to open printcap file /etc/printcap for read! Why can't su to nobody to check Samba /etc/samba % su /etc/samba % whoami Q&A Samba: How to get rid of this error message in the logs? To access the host from a remote Windows computer, as an easy way to extract nobody whoami vi /mnt/share_name/test_file exit whoamiĬomplete NETWORK CONFIGURATION AND PROGRAMS to explain how to configure Samba Test that you can write as "nobody": su.Make sure /etc/passwd contains nobody, /etc/group contains nogroup,Īnd the directory you wish to share is owned by nobody.nogroup:.Here's how to configure Samba so you can read files from a remote Windows Both sourceĪnd dest may be local or remote. Of course you can also use SystemRescueCd as an SSH client to connect toĪn SSH server: just use ssh or scp source dest. You can stop it with /etc/init.d/sshd stop. The ssh server is automatically started but you can type the following commandĪnyway: /etc/init.d/sshd restart. No easier way than buiding a custome ISO and burning a new USB keydrive? Setting up an SSH server Rootpass=test, to assign a root password and use SSH later Saving changes Running, use "ifconfig -a" to display the IP address which the DHCP Nonm to disable the Network-Manager serviceĭodhcp to have DHCP assign an IP address One the system is up and Make sure the options are typed before the "-" part, which separates Use mkdir /mnt/mydir and mount on /mnt/mydir instead." Boot options Important: "Never mount anything on /mnt ! It would freeze the system. This is a quick guide on how to use SRCD to boot from a USB keydrive, and launchĪn SSH server and Samba so as to copy files from the local hard disk to a remote The most well-know Linux distributions that aim at recovering a dead computer. Quick Guide to SystemRescueCD Introduction
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |