Debian Configuration :: /tmp Move To A Different Partition

Jun 13, 2011

I got a mistake during my installation on my server. I put the "/tmp" folder to the 2nd disk without thinking. My 2nd disk has only this folder and partition. How can I move the "/tmp" folder to my first disk in a different partition safely? It would be great if I won't destroy the server.

I would like to do the following:

1. move "/tmp" to disk 1 (sda). I will resize the "/home" partition(reduce) and put the "/tmp" there.

2. I will put "/backup" on the disk.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Fstab Configuration - Cannot Move To Trash - Only Permanently Delete Files From The Windows Partition

Jan 16, 2011

I edited fstab so that my Windows disk partition will be automatically mounted when I log on. However, when I delete a file from said partition, I am told that the item(s) cannot be moved to trash - I can only permanently delete files from the Windows partition. Here is how I configured in fstab: Code: /dev/sda1 /media/Vista ntfs nls=iso8859-1,umask=000 0 0 I suspect I mis-configured the options. Can anyone see an issue?

View 1 Replies View Related

Debian :: Move Files From Old Partition?

Aug 21, 2010

Had a bit of a partition nightmare during an install, involving my home directory.

My partitioning looks like this and my install is still completing:

sda1=/boot
sda2=/
sda3=swap
sda4=/home

My old home partition and data is located in a partition that I preserved, called /homebak and is on sdb.

Once my install is complete, what is the best way to move the data from /sdb1 (homebak) to my newly created /home?

For the record, I tried to copy the partition during set-up, but something wasn't happy.

I've got my important files backed-up, but would prefer not to lose about 5 gigs of music and video.

View 8 Replies View Related

Debian Configuration :: Can Move SSD From Old To New Laptop Without Formatting?

Jun 30, 2015

I have been using debian from the past 3 years on a dell inspiron 1520 (2007 model). Yesterday i bought a dell inspiron 5548 (Early 2015). I have and ssd drive in old laptop that i want to move to the new laptop. To my knowledge i think i can replace the 1TB hard drive on new laptop with ssd, remove or reinstall or update drivers so the ssd will just run fine on new laptop without having to reinstall all the stuff and customization. Should i recompile the kernel in linux for new hardware? AFA windows 7(Dual booting Debian 8 and Windows 7), i think removing and reinstalling drivers will work fine.

Hardware: Old laptop specs: - New laptop
-------------------- - ---------------
Processor: Core 2 duo 2Ghz - Core i5 5th gen. 5200U
RAM: DDR2 667MHz - DDR3 1600MHz
Graphics: Intel GMA X3100 - Intel 5500 / AMD M265 2GB Graphics
Chipset: Mobile Intel GM965 Express chipset - Intel 9 series chipset

View 7 Replies View Related

Debian :: Trying To Restore / Move Windows 7 Installation Partition

Jan 18, 2016

I had an older PC on which I had two SATA drives and an IDE one and on the latter I had Windows 7 installed (I kept it on that drive since I'm not using Windows 7 that often, I'm primarily using Debian as my daily go-to OS), but since then I got a new PC which has no connectivity for IDE, so I had to decommision the drive, and before I did that, I backed up the Windows 7 partition (and the second partition which I used mostly for storing sofware and stuff that I wouldn't want to get wiped after a fresh Windows install) using dd.

Not reading up on this on the internet, doing so with the intention to restore the partition image on the same spot on the disk, but since the SSD is larger than the IDE drive, I made the partitions on it bigger, so there's no chance the Windows 7 partition to be on the same spot on the disk. I tried booting into Windows 7 from GRUB after it successfully detected the Win7 install on the second partition on the SSD, but it just leaves me with a blank screen with a blinking white cursor, so I'm guessing it's not going to fly again. So my question to you: is it possible to ressurect the Windows 7 installation, avoiding having to reinstall Windows? (which would severly complicate things, having to backup and wipe the Debian install I have on the first partition...)

So far I've tried this to fix the Windows 7 install by pointing at the right disk "coordinates": [URL] ...., but I can't seem to get it to work, all I get is some error in regards to not being able to detect the disk's geometry (I think it was the number heads I couldn't figure out to input in the command line), so I couldn't fix it.

View 2 Replies View Related

Debian Configuration :: File Don't Move To Samba Trash Directory

Aug 26, 2015

I work in a compagny and i encounter a problem with the samba trash.When i delete a file from our network directory, the file don't move to the samba trash directory. But, the server create the same samba tree like the orginal file. It's more simple with a example.This is the file i delete to my samba tree S:departementgestion_informatiqueinformatiquecommut est.txt.This is the samba tree that the server create at the moment when i delete my file : @IPcorbeilledepartementgestion_informatiqueinformatiquecommun

The problem is here : We want the file test.txt into this trash tree and it isn't.This is the Samba trash configuration :

# Samba Trash
#--------------------------------------------
# http://samba.org/samba/docs/man/Samba3-HOWTO/VFS.html

[code]....

The samba trash work for an another site of our company.

View 0 Replies View Related

Debian Configuration :: Make Boot Partition Within LVM In Debian Usin Preseed?

Mar 16, 2011

I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition.

### Partitioning.
# you can specify a disk to partition. The device name can be given in either
# devfs or traditional non-devfs format. For example, to use the first disk

[code]....

View 1 Replies View Related

Software :: Convert Primary Partition To Logical (ie Move It Inside The Extended Partition)?

Nov 29, 2010

Around 2008 i seem to remember PartEd on the command-line was able to rescue deleted partitions and gave a choice of whether to recover the partition as a Primary or Logical Partition. I have tried testdisk but didn't really grok what i was doing. I successfully moved a "Windows Recovery" partition to the end of my hard-drive, immediately after the drive's Extended Partition.

View 3 Replies View Related

Debian Configuration :: Know If A Partition Is Misaligned?

Jan 12, 2011

Under GNU/Linux. I am talking about this. How do I know if a partition is misaligned?

View 14 Replies View Related

Debian Configuration :: How To Add More Space To A Partition

Jul 13, 2011

My laptop has /dev/sda5 mounted on /. It has 10GiB and almost full. I formated Windows XP partition and it is now /dev/sda1 ext4 45GiB free space.When I mounted /dev/sda1 to root (/) directory, df commands showed still the original partition size. (81% used).

View 3 Replies View Related

Debian Configuration :: How To Resize Mounted Partition On LVM

Oct 24, 2015

I would like to resize the /home partition but it is mounted and when umount is run, it errors with 'busy'.

System Configuration:

I installed jessie on a laptop with one SSD. I used guided partitioning and selected the whole drive with multiple partitions. The /home now takes up 420 GB. I would like to reduce that to 20 GB to make room for another partition.

What are the methods reduce this partition?

View 8 Replies View Related

Debian Configuration :: DNS And Resizing Encrypted Partition

Feb 27, 2016

I have Debian and Virtual Box with another Debian. I have resized max size of vdi file with VBoxManage modifyhd but now I need to resize partition on virtual machine's system. I've downloaded GParted and I can run machine from this ISO as CD. Partition is encrypted on machine.Unfortunately GParted doesn't start with X so I have to use it in terminal. I can see partitions:

Code: Select allroot@debian:/# fdisk -l
Disk /dev/sda: 80 GiB, 85899345920 bytes, 167772610 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3914....

[code]....

So I though maybe I need to use this (URL...). I couldn't find similar tutorial about Debian or GParted but OK, it's just executing these commands, not modifying its source.list.But I cannot even do the update:

Code: Select allroot@debian:/# sudo apt-get update
Err: http://free.nchc.org.tw/debian sid InRelease
  Temporary failure resolving 'free.nchc.org.tw'
Err2: http://free.nchc.org.tw/drbl-core drbl InRelease
  Temporary failure resolving 'free.nchc.org.tw'
Reading package lists... Done
W: Failed to fetch http://free.nchc.org.tw/debian/dists/sid/InRelease  Teporary failure resolving 'free.nchc.org.tw'
W: Failed to fetch http://free.nchc.org.tw/drbl-core/dists/drbl/InRelease  Temporary failure resolving 'free.nchc.org.tw'
W: Some index files failed to download. They have been ignored, or old ones used instead.

So I check my internet connection. VirtualBox has 'attached to NAT' and before I run out of space on virtual machine, Debian could access internet. So it's only something about this GParted. I have modified /etc/resolv.conf with vi (even vim is not available). And it has two valid nameservers. I haven't restarted anything, as I'm not sure if I need to, after modifying resolv.conf file.But even in that case I cannot ping anything from GParted:

Code: Select allroot@debian:/# ping www.google.com
ping: unknown host www.google.com

How can I access internet from GParted and resize encrypted partition?

View 8 Replies View Related

Ubuntu :: Move Grub From One Partition To Another Partition?

May 8, 2010

I don't know if this is possible however would like to know how to move grub from one partition to another.I may not have explainded that very well. I have a computer that i use to checkout different linux distros, however since the introduction of grub2 things have become difficult. I have a number of primary partitions on the one hdd If I install a o/s that uses grub on a partition and another partition has a o/s that uses grub2 then on startup the o/s with grub2 no longer appears on the grub start up screen so I cannot boot into the grub2 o/s. The reverse is ok i.e. if I install a grub2 o/s after a grub o/s all appear on the grub start up screen.

This leaves me in the situation where I have to always reinstall a grub2 o/s after i install a grub o/s. Hope that makes sense! This is why it would be easier (I hope) to be able to move grub from one o/s to another. I must admit I don't really understand it all that well and I know that mbr plays a role in it, however I think it's correct that the mbr can remain on an o/s yet grub is on another?

View 4 Replies View Related

Debian Configuration :: Resizing Partitions - Put To The Root Partition

Jan 23, 2016

Is there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.

View 11 Replies View Related

Debian Configuration :: Mount Options Of Root Partition

Apr 28, 2016

I made a mistake in Gnome Disk utility tool. Instead of changing the options for a USB key, I changed the options of the root partition.

In Initial state, automatic options were desactivated. I just activated them. And after desactivacting them, I realized my mistake and switched back to "non automatic options".

By doing this, I suppose that defaults values were used since now, the system starts in command line mode and no more in graphic interface mode.

When I try the "startx" command, I get a "read-only" error.

With the command "sudo mount -o rw,remount /" the graphic interface is started.

Below is the configuration of the partition under the gnome disk utility tool :

"Mount at startup" is checked
"Show in user inteface" and "Require additional authorization to mount" are unchecked

Mount options : nosuid,nodev,nofail,x-gvfs-show
Mount point : /mnt/eb11d4d6-75db-XXXx-XXXx
Identify as : /dev/disk/by-uuid/eb11d4d6-75db-XXXx-XXXx
Filesystem type : auto

I do not want to change anything that could leat to a critical error. So what do you think I should do ?

View 1 Replies View Related

Debian Configuration :: Use A Whole Disk Or A Partition In RAID Array?

Aug 31, 2010

concerning Linux, mdadm, and creating RAID Array's in Debian. I've done a lot of reading and research on RAID both on this board and elsewhere (The Linux Documentation Project's Software-RAID HOWTO is especially good), but I've run across something that no one seems to explain, and I'm not sure why. I'm instructed to create partitions on the drives I wish to add to my array. These partitions inevitably take up the whole disk, and are always have their system IDs set to "Linux raid autodetect". What I don't understand is why, after creating these partitions, some guides then go on to create an array (say a RAID5 one) with just the disks themselves as members, while others go on to create the RAID5 array with the previously created partitions as members. E.g.,

mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
vs.
mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1

What's the advantage of using one over the other?

View 3 Replies View Related

Debian Configuration :: Merge The Root And Home Partition?

Jan 18, 2011

I have the partition like below. Now i want merge the /home partition into /dev/sda1 partition .

[Code]...

View 4 Replies View Related

Software :: NFS Configuration Between Fedora & Debian On Vfat Partition?

Mar 14, 2010

I have performed NFS installation on debian(as server) and fedora(as client). I made tests for 2 directories. The first one(from a debian home/somedir directory worked perfectly) but the second one not. This second directory is a hard disk partionned on fat32(vfat in my /etc/fstab file).

I have no error with both command :
Code:
exportfs
in debian and
Code:
mount -a

[Code].....

View 3 Replies View Related

Debian Configuration :: Custom Amnesic Live CD With Persistent Partition

Nov 9, 2015

I want to customise an amnesic Debian environment (like Kali Live CD) with everything (Users, background, icons, etc.) set up to work the way I need. This OS should be inside a memory stick, and, most important, it has to have an encrypted partition I can mount and unmount whenever I want to save persistent data.

View 5 Replies View Related

Debian Configuration :: Copying / Moving Root Filesystem To Another Partition?

Mar 4, 2010

My root filesystems flooded so I'm trying to move it to another (bigger) partition but I'm not sure of the best method. I just tried to use "dd if=/dev/sda1 of=/dev/sda6" to copy it but all that did was give me a brand new partition with no freespace available presumably because the filesystem is smaller than the partition. Is it possible to make the filesystem bigger?

View 8 Replies View Related

Debian Configuration :: How To Browse Partition On Network Windows Machine

May 31, 2010

I have a external harddisk attached to my linux PC.I have a laptop having windows 7 on my network.I want to to be able to open up the folder in the external harddisk(linux partition) and check the files from my laptop. People suggest samba. But I am not able to configure correctly. Please excuse me and give me few detailed instructions.

View 4 Replies View Related

Debian Configuration :: Give Grub Access To Encrypted Partition

Apr 30, 2011

My partitions are set up as follows:

[code]...

I installed Ubuntu successfully using rescue mode on the alternate cd, and let Ubuntu use an internal boot and home. At the final stage grub refused to install to the MBR, and then refused to install to my /boot partition on /dev/sda2. It said: No boot loader has been installed, either because you chose not to or because your specific architecture doesn't support a boot loader yet. You will need to boot manually with the /vmlinuz kernel on partition /dev/mapper/volumegroup-natty and root=/dev/mapper/volumegroup-natty passed as a kernel argument. Returning to debian, I did a update-grub, which detects Windows and Ubuntu:

[code]...

How do I make grub decrypt the LUKS partition before attempting to load the Ubuntu kernel?

View 3 Replies View Related

Debian Configuration :: Windows 7 Won't Read NTFS Partition Created By Raspberry Pi

Jan 10, 2016

I have a Western Digital 3TB USB drive connected to a Raspberry Pi 2 running Raspbian Jessie. I created an 30GB ext4 system partition and a NTFS Data partition using the remainder of the drive. I formatted the NTFS partition as follows:

sudo mkfs.ntfs -Q -L Data /dev/sda2

The drive works fine on the Pi but when I connect it to a Windows 7 pc the pc doesn't recognise the format of the Data partition and can't access it.

On the Pi I ran:
$ sudo fdisk -l /dev/sda2

Disk /dev/sda2: 2.7 TiB, 2968557453312 bytes, 724745472 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

[Code] .....

Partition table entries are not in disk order.

View 14 Replies View Related

Debian Configuration :: Fastest Partition Scheme Filesystem For Flash Media?

Nov 11, 2010

I thought this might interest someone out there:[URL].. I used SD cards with MBR formatted as ext2 for backup. After I read these articles, I reformatted my cards with GUID Partition Table and ext4 format. Now I make my backup in half the time!

View 2 Replies View Related

Debian Configuration :: Jessie (Stable) 8.4 Update Unknown Partition Table Message

Apr 17, 2016

I update Jessie "stable" 8.2 to 8.4 and now I get 5 minute interval kernel messages:

Apr 18 06:39:52 OraHost kernel: [131985.494726] sdc: unknown partition table
Apr 18 06:45:03 OraHost kernel: [132295.755942] sdc: unknown partition table
Apr 18 06:50:03 OraHost kernel: [132595.946564] sdc: unknown partition table
Apr 18 06:55:13 OraHost kernel: [132906.139327] sdc: unknown partition table
Apr 18 07:00:23 OraHost kernel: [133216.340555] sdc: unknown partition table

I believe this has something to do with an mdadm update which was included in the release. When I configured the array, I didn't partition the disk devices, so maybe that has something to do with it. I am thinking of rebuilding the array and partitioning prior to build, but a quick fix would be referable.

And also something appears to have happened to the raid device since the update.

Prior to update, the array was /dev/md0 - now it is /dev/md/0 which is a symbolic link back to /dev/md0.

mdadm --detail --scan now reports /dev/md/0 where previously it reported /dev/md0

I created a new RAID1 array on a fresh system and immediately after the create, these messages appear at 5 minute intervals.

View 0 Replies View Related

Debian Configuration :: Multiple Partition Setups Other Than Resistance To Data Loss In Crashes?

Feb 25, 2010

What are the advantages of the multiple partition setups other than resistance to data loss in crashes? Is there any other reason to have a special partition just for your boot directory (kernel files and config) than surviving a major crash?

Also, is it possible to make the Debian installer accept an existing set of partitions? Or even alter the size of the automatically created partitions? Does expert mode let you control the partitions? How many other very detailed things would I have to know to use expert mode, though?

View 6 Replies View Related

Ubuntu :: Move /var And /tmp To One Partition?

Mar 24, 2010

I have installed Ubuntu 9.10 Server on a flash based USB memory stick, so I wanted to move /var and /tmp to a partition on a hard drive (one partition with both /var and /tmp and symlinks from / to those). I read this guide here [URL].. but it failed after restarting the server. I then found out that ubuntu must have /var/run on the root file system [URL].. so that was why it did not work.

My workaround for this was to create /var and /var/run on the root file system, mount my partition to /var and then symlink /tmp to /var/temp. It now works as I wanted, both /var and /tmp on the same partition. But is there a better way to solve this? Can there be any problems with /tmp->/var/temp?

View 2 Replies View Related

General :: Move Partition In GParted?

Apr 10, 2010

The following is a screenshot of GParted run on my system. There is a small unallocated space at the beginning of the list. This 1 MiB space is kind of annoying and I'd like to merge with any other partition except /dev/sda1, /dev/sda6 and /dev/sda4. When I right click on the unallocated partition, the only available operation is "New". And, if I click on "New", I get the following error message.

It is not possible to create more than 4 primary partitions

how to go about merging the small unallocated space with other partitions?

View 3 Replies View Related

General :: Move The Srv Directory To Another Partition?

Jun 28, 2010

When installing Ubuntu (10.04) I chose the /home to be installed in a separate partition.I would now like to move the /srv directory into the same partition. The problem I found is that Ubuntu did not make a /home directory inside the partition itself. It just places the account directories in the partition and mounts it to /home. So I cannot just easily move the /srv folder into the partition.

How can I:

Move those account directories into a home folder inside the partition Make that new home folder the default /home folder. ditto with the /srv folder, or any I choose in the future.

View 3 Replies View Related

Ubuntu :: Cannot Move /var/www To Other Device - Partition / Fix It?

May 5, 2010

I'm trying to move the /var/www dir to another partition (another hard drive even, though I doubt that makes a difference) because my file system partition is rather small. But when I do I get "403 -forbidden" and in the logs "Permission denied: /home/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable". If I move it anywhere within the partition (and adjust the conf) I don't get this problem. Using Ubuntu 10.04 Desktop x64. I haven't had any problems with this in earlier Ubuntu-versions.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved