[SOLVED] Problem in moving /var to new partition

Hi,
I setup a new systemd Arch instalation on an SSD and migrated successfully from my old initscripts based HDD setup. I have 2 problems now, one leading to another.
I wanted to move /var to a partition on HDD and followed the following steps.
Created a new reiserfs partition for var on my HDD using gparted. Labelled it as "var"
Rebooted to emergency mode and mounted it. (I remounted root as read-write)
# mount /dev/sda8 /mnt/new_var
Copied var contents to new_var
# cd /var
# cp -Rax * /mnt/new_var/
# cd /
# mv var var.old
# umount /mnt/new_var
# mkdir var
# mount /dev/sda8 /var
Added the following line to /etc/fstab
LABEL=var /var reiserfs defaults 0 1
When I reboot after this, systemd is timing out waiting for a var partition. Here is an pic taken during boot.
I restored the old var using the emergency shell and could reboot properly. I tried the same thing as a normal user using sudo after the system was up. (During the moving, I got sudo warnings because the sudo folder in /var/db wasnt there.)
With the new var partition in place, I proceeded to install a few packages. But when I rebooted, I the same thing happened again and had to get into emergency shell and restore the old var.
However, after this, the packages which I installed in the interim are not available in pacman database.
So,
1. How can I move /var to a separate partition and still keep systemd happy?
2. Is there a way to rescan or rebuild the pacman database? Will syncing the 2 different var setups that I've solve the problem? If so, how can I sync them?
Last edited by kungsu (2012-11-04 14:54:25)

I'm thinking in collision propabilities here. How probably might the device node change? I have machines that keep doing this without a real reason. I'd prefer labels on such machines. Other machines don't - without a real reason as well. I'd prefer device node notation on such machines. Labels can be changed manually, new partitions can be added and USB sticks with labled partitions can be inserted. While the USB situation should not be a big deal, both, labels as well as device nodes can be subject to changes, collisions and other arbitrary events. The only thing that is unlikely to change (for no obvious reason), be altered by accident or made collide with another one, are UUIDs.
I would not say using lables is bad, it's just that if you already have an issue, why not rule that out? It seemed to have solved the issue, it can be as easy as playing safe sometimes. Furthermore, the reason why I recommended to change the label from "var" to something else, is how common "var" is. It is like using a keyword in a programming language as a variable name, it may or may not work, so why not make it a habbit of not using such meta-keywords at all?
EDIT: There is no particular reason, I suspect the lable isn't set correctly. Maybe there is a problem with the partition table - that's where I'd suspect the LABLE to be stored.
Or maybe you just did the whole by-label thing wrong.
"/dev/disk/by-label/var" instead of LABEL="var"…
Last edited by Awebb (2012-11-04 15:27:43)

Similar Messages

  • Version 33, problems when moving tab to new window, then if you open a new tab in that window it doesn't switch to it unless you use Ctrl-Tab?

    Version 33, problems when moving tab to new window, then if you open a new tab in that window it doesn't switch to it unless you use Ctrl-Tab.

    Type '''about:preferences'''<enter> in the address bar.
    Select '''General.''' Look for '''Tabs.'''
    Turn on '''When I open a link in a new tab, switch to it immediately'''

  • [Solved] Problem to boot Windows XP since partitions as been resized

    Hello,
    I have a problem with my computer since I resized partitions, I was needed more space for windows, so the partition as been extended and the Archlinux one reduced. Partition assignation still the same,
    sda1 /boot
    sda2 swap
    sda3 /
    sda4 Windows
    Arch still working fine and the Windows partition is accessible from Arch, and files still in place. But my Windows refuse to boot it just stop after the grub2 command line with just a blinking cursor.
    Any idea to solve the issue ??
    Thanks in advance
    Last edited by Cheeeesetoo (2011-02-02 19:23:38)

    Cheeeesetoo wrote:Tell me if I'm right, it's the MBR who is corrupted ?? if yes I can use fdisk -mbr from windows cmd....
    Windows does not play nicely with others.  If you use Microsoft tools to "fix" the install, it will likely overwrite the mbr causing grub to do away. fdisk -mbr will certainly do that.  Should that occur, you will need to reinstall grub on the MBR in order to get back to Linux.
    As others have pointed out, resizing the Windows partition can cause it to go brain-dead as it makes assumptions about where things are on the disk.  I believe, and have no proof, that Microsoft does this in part to make it difficult to move their OS to "unauthorized" new hardware.  As far as Windows is concerned, the new partition size is an indication it is not on the same hardware and, therefore, you must be trying to violate their copyright.
    Have you considered just running windows in a virtual machine and being done with it?

  • Problem with moving itunes to new computer

    I recently bought a new computer and when i downloaded Itunes some of my songs did not come through complete. About 50 songs in my library will randomly stop playing in the middle of the song and move on to the next song. I downloaded the latest version of itunes.  When I go to my library and play a defective song if i force it to fast forward it will play the remaining part of the song so the music is there. So far the only solution to my problems is an expensive one. only thing I can think of to do is delete the affected songs and pay to redownload them. Is there another way to resolve this issue? When I first noticed the problem itunes did let me redownload 3 songs for free then when I went to do it again ( because I have alot a music and haven't discovered ALL the defective songs yet. I cant find them till they play and I notice it) but when I went to redownload song I already paid for they wanted to charge me again.

    Thanks for your advice.
    Unfortunately it did not solve the problem.
    I’m now convinced that my problem is related to the Intel Viiv Technology.
    In an article at tweakdown.com, http://www.tweaktown.com/articles/937/index.html , they proclaim that if you have a computer with Intel Viiv Technology "you’re locked out of iTunes".

  • Problem in moving database to new host

    Hi,
    I'm moving database from linux to windows and it perfectly moves as there is no endian formate issue between two OS. Now my problem is when I run below script
    RUN
    SET NEWNAME FOR DATAFILE 1 TO 'C:\app\Administrator\oradata\orcl\system01.dbf';
    SET NEWNAME FOR DATAFILE 3 TO 'C:\app\Administrator\oradata\orcl\undotbs01.dbf';
    SET NEWNAME FOR DATAFILE 2 TO 'C:\app\Administrator\oradata\orcl\sysaux01.dbf';
    SET NEWNAME FOR DATAFILE 4 TO 'C:\app\Administrator\oradata\orcl\users01.dbf';
    SET NEWNAME FOR DATAFILE 5 TO 'C:\app\Administrator\oradata\orcl\example01.dbf';
    SET NEWNAME FOR DATAFILE 6 TO 'C:\app\Administrator\oradata\orcl\apps_data01.dbf';
    SQL "ALTER DATABASE RENAME FILE
    ''D:\test\redo01.log''
    TO ''C:\app\Administrator\oradata\orcl\redo01.log'' ";
    SQL "ALTER DATABASE RENAME FILE
    ''/u01/app/oracle/oradata/orcl/redo02.log''
    TO ''C:\app\Administrator\oradata\orcl\redo02.log'' ";
    SQL "ALTER DATABASE RENAME FILE
    ''/u01/app/oracle/oradata/orcl/redo03.log''
    TO ''C:\app\Administrator\oradata\orcl\redo03.log'' ";
    SET UNTIL SCN 743262;
    RESTORE DATABASE from 'C:\app\Administrator\flash_recovery_area\ORCL\backupset\2010_10_03\o1_mf_nnndf_TAG20101003T121537_6bjcf7bj_.bkp';
    SWITCH DATAFILE ALL;
    RECOVER DATABASE;
    datafiles get renamed successfuly but it gives error on remaning redolog files as error stack of RMAN is given below
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    sql statement: ALTER DATABASE RENAME FILE''D:\test\redo01.log''TO ''C:\app\Admin
    istrator\oradata\orcl\redo01.log''
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 10/06/2010 20:30:43
    RMAN-11003: failure during parse/execution of SQL statement: ALTER DATABASE RENA
    ME FILE'D:\test\redo01.log'TO 'C:\app\Administrator\oradata\orcl\redo01.log'
    ORA-01511: error in renaming log/data files
    ORA-01516: nonexistent log file, datafile, or tempfile "D:\test\redo01.log"
    Now I have created all dummy redolog to redo01.log,redo02.log and redo03.log on location D:\test, but it is still giving errors
    what could be the problem of this as it seems that RMAN can rename files that it get from backupset but unable to read redolog files on the given path. I'm using 11gR1.
    Looking for reply
    Regards,
    Usman

    Dear user8812764,
    Welcome to the OTN forums.
    Please see the error explanations;
    ORA-01511: error in renaming log/data files
    Cause: An error occurred during the ALTER DATABASE RENAME FILE command.
    Action: Check the error stack for detailed error information.So now you need to check the accompanying error;
    ORA-01516: nonexistent log file, datafile, or tempfile "string"
    Cause: An attempt was made to use ALTER DATABASE to rename a log file, datafile, or tempfile; or to change attributes of a datafile or tempfile (e.g., resize, autoextend, online/offline, etc.); or to re-create a datafile. The attempt failed because the specified file is not known to the database's control file or is not of a type supported by the request.
    Action: Specify the name or number of an existing file of the correct type, as appropriate. Check the relevant V$ table for a list of possible files.By the way why do you have different redolog for group 1?
    SQL "ALTER DATABASE RENAME FILE
    ''D:\test\redo01.log''
    TO ''C:\app\Administrator\oradata\orcl\redo01.log'' ";
    SQL "ALTER DATABASE RENAME FILE
    ''/u01/app/oracle/oradata/orcl/redo02.log''
    TO ''C:\app\Administrator\oradata\orcl\redo02.log'' ";
    SQL "ALTER DATABASE RENAME FILE
    ''/u01/app/oracle/oradata/orcl/redo03.log''
    TO ''C:\app\Administrator\oradata\orcl\redo03.log'' ";There should be really an inconsistency here with your redolog naming conventions.
    Hope That Helps.
    Ogan

  • [REINSTALL] moved /var to another partition - now everything is borked

    Ah, I reckon I might  have shot my install
    I was running out of space and seeing that /var took up some 3GB I decided to move it to another partition and adjust the fstab accordingly. It all worked but on reboot hal didn't start. I tried to reinstall it with pacman and now I am told:
    error: database path is undefined
    error: could not register 'core' database (could not open database)
    Am I shot???
    Last edited by toad (2009-04-18 23:15:15)

    All that's in /var/cache/pacman/pkg are packages. You can keep packages if you're afraid something will break and only rolling back to older packages will fix it (which for some people it does), but there are some mirrors out there that update slower than others (so the thing is to pick a mirror that syncs often, so if you really need to downgrade, you can grab the older packages from a slower mirror for example).
    I clean out my package cache periodically. If something breaks and I need to roll back (which happened to me with the bluetooth upgrade) I usually check the web CVS frontend for the PKGBUILDs and rebuild what I need.
    In general, there's no reason to hold on to your cache - and certainly not that big a cache. If you keep it under a GB you should be safe, generally that covers most if not all packages you installed, one version back. You'll have to sift, though.

  • [SOLVED] Cloning boot and var partitions to a new drive for booting

    Ok first of all here's my setup:
    fakeraid (dmraid) / and home on an OCZ Revodrive
    boot with GRUB on a flash drive (since fakeraid doesn't support grub)
    var and downloads/media folder on a 500GB WD Caviar drive
    When I originally installed Arch I had the Caviar drive in my home server in a RAID5 array, so that's why I opted to install boot and grub on a flash drive simply for booting.  Now that I have the drive in my desktop I've cloned the flash drive's partitions and MBR using dd:
    #dd if=/dev/sde of=~/MBR.img bs=512 count=1
    #dd if=/dev/sde1 of=~/boot.img
    #dd if=/dev/sdc1 of=~/var.img
    I then backed up my downloads/media partition, then removed the partition table, then used dd to put the img files on the Caviar drive.
    #dd if=~/MBR.img of=/dev/sdc bs=512 count=1
    #dd of=~/boot.img of=/dev/sdc1
    #dd of=~/var.img of=/dev/sdc2
    I also created labels for the filesystems and put those in fstab.
    I'm able to mount both partitions, however I can't boot from the drive.  I get a 'grub hard disk error' (no error number) when I put it as my first drive in the BIOS. 
    I can still use the flash drive as the first hard drive in the BIOS and boot from it, then it mounts the dmraid root partition and boots successfully.  It is also able to mount the var and boot partitions in fstab. 
    Basically the only problem is that the MBR is somehow wrong.  I then tried booting back into an Arch live USB and installing GRUB from the prompt:
    grub
    grub>setup (hd4,0) (in this case the Caviar drive's boot partition was /dev/sde1
    So essentially what I'm asking is how GRUB handles the MBR.  Is it specific to the partition table of the drive in which it resides when it's originally installed?  For instance, since I had an 8GB flash drive with 2 partitions when I installed GRUB, is the backed up MBR no good for a 500GB drive with 3 partitions?
    I have everything backed up so I can start with a fresh /boot and /var if need be....I'm just not sure where to start. 
    Thanks in advance.
    Last edited by DarksideEE7 (2011-02-13 23:25:31)

    Sorry, I forgot to mention that I tried to install GRUB from the GRUB shell in a live Arch USB.  It failed on a few non-critical parts, and succeeded on the last part. I'm going to try again shortly, possibly I did something wrong.  GRUB is able to find the stage files using:
    #grub
    grub>find /grub/stage1
    grub> find /grub/stage1
    (hd0,0)
    (hd5,0)
    grub>
    (hd0,0) is the desired boot drive, while (hd5,0) is the current bootable flash drive with /boot and GRUB installed.
    Here is the output of fdisk -l:
    WARNING: GPT (GUID Partition Table) detected on '/dev/sde'! The util fdisk doesn't support GPT. Use GNU Parted.
    Disk /dev/sde: 2000.4 GB, 2000398934016 bytes
    256 heads, 63 sectors/track, 242251 cylinders, total 3907029168 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
    Disk identifier: 0x00000000
    Device Boot Start End Blocks Id System
    /dev/sde1 1 3907029167 1953514583+ ee GPT
    Disk /dev/sdb: 60.0 GB, 60022480896 bytes
    255 heads, 63 sectors/track, 7297 cylinders, total 117231408 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
    Disk identifier: 0xedb72db9
    Device Boot Start End Blocks Id System
    /dev/sdb1 * 2048 206847 102400 7 HPFS/NTFS
    /dev/sdb2 206848 117227519 58510336 7 HPFS/NTFS
    Disk /dev/sdd: 40.0 GB, 40018599936 bytes
    255 heads, 63 sectors/track, 4865 cylinders, total 78161328 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
    Disk identifier: 0x00000000
    Disk /dev/sdd doesn't contain a valid partition table
    Disk /dev/sdc: 40.0 GB, 40018599936 bytes
    32 heads, 32 sectors/track, 76329 cylinders, total 78161328 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
    Disk identifier: 0xb8372fcd
    Device Boot Start End Blocks Id System
    /dev/sdc1 32 21484543 10742256 83 Linux
    /dev/sdc2 21484544 156317695 67416576 83 Linux
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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
    Disk identifier: 0x8497e059
    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 206847 102400 83 Linux
    /dev/sda2 206848 42149887 20971520 83 Linux
    /dev/sda3 42149888 976773167 467311640 83 Linux
    Disk /dev/dm-0: 80.0 GB, 80035053568 bytes
    32 heads, 32 sectors/track, 152654 cylinders, total 156318464 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 65536 bytes / 131072 bytes
    Disk identifier: 0xb8372fcd
    Device Boot Start End Blocks Id System
    /dev/dm-0p1 32 21484543 10742256 83 Linux
    Partition 1 does not start on physical sector boundary.
    /dev/dm-0p2 21484544 156317695 67416576 83 Linux
    Disk /dev/dm-1: 11.0 GB, 11000070144 bytes
    255 heads, 63 sectors/track, 1337 cylinders, total 21484512 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 65536 bytes / 131072 bytes
    Alignment offset: 49152 bytes
    Disk identifier: 0x00000000
    Disk /dev/dm-1 doesn't contain a valid partition table
    Disk /dev/dm-2: 69.0 GB, 69034573824 bytes
    255 heads, 63 sectors/track, 8392 cylinders, total 134833152 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 65536 bytes / 131072 bytes
    Disk identifier: 0x00000000
    Disk /dev/dm-2 doesn't contain a valid partition table
    Disk /dev/sdf: 8086 MB, 8086618112 bytes
    249 heads, 62 sectors/track, 1023 cylinders, total 15794176 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
    Disk identifier: 0x8497e059
    Device Boot Start End Blocks Id System
    /dev/sdf1 * 62 200693 100316 83 Linux
    /dev/sdf2 200694 15794175 7796741 83 Linux
    I'm using dmraid, so just to be clear I've configured the raid using:
    #modprobe dm_mod
    #dmraid -ay
    Then I saw the array stored in /dev/mapper/silXXXXX.  I then created partitions for /boot, /, and home.  At that time I was hoping to get GRUB working with the AUR package grub2-dmraid.  I wasn't able to get it working for some time, so I just went ahead and installed boot and GRUB to a separate USB flash drive.
    Here is the output of df -h:
    Filesystem Size Used Avail Use% Mounted on
    udev 10M 268K 9.8M 3% /dev
    /dev/mapper/sil_bgbgdjaddicbp1
    11G 5.3G 4.3G 56% /
    shm 6.0G 584K 6.0G 1% /dev/shm
    /dev/mapper/sil_bgbgdjaddicbp2
    64G 38G 23G 63% /home
    /dev/sda1 95M 16M 75M 18% /boot
    /dev/sda2 19G 142M 19G 1% /var
    /dev/sda3 439G 148G 269G 36% /home/l33/Torrents
    none 1000M 132K 1000M 1% /tmp
    shm 6.0G 584K 6.0G 1% /dev/shm
    /dev/sde1 1.8T 1.1T 665G 62% /mnt/Green
    and cat /etc/mtab
    proc /proc proc rw,nosuid,nodev,noexec,relatime
    sys /sys sysfs rw,nosuid,nodev,noexec,relatime
    udev /dev devtmpfs rw,nosuid,relatime,size=10240k,nr_inodes=1022975,mode=755
    /dev/mapper/sil_bgbgdjaddicbp1 / ext4 rw,noatime,barrier=1,stripe=32,data=ordered
    devpts /dev/pts devpts rw 0 0
    shm /dev/shm tmpfs rw,nosuid,nodev 0 0
    /dev/mapper/sil_bgbgdjaddicbp2 /home ext4 rw,noatime 0 0
    /dev/sda1 /boot ext2 rw 0 0
    /dev/sda2 /var reiserfs rw,noatime 0 0
    /dev/sda3 /home/l33/Torrents ext4 rw,noatime 0 0
    none /tmp tmpfs rw,nosuid,nodev,noatime,size=1000M,mode=1777 0 0
    shm /dev/shm tmpfs rw,nosuid,nodev,size=6G 0 0
    rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
    nfsd /proc/fs/nfsd nfsd rw,noexec,nosuid,nodev 0 0
    /dev/sde1 /mnt/Green ext4 rw 0 0
    Also I don't have a /proc/mdstat.  That's only for mdadm RAID setups, right?  It's been quite some time since I've used mdadm so I can't remember.
    EDIT:
    So I booted into a live Arch USB and entered the grub shell.  I ran:
    #grub
    grub> root (hd3,0)
    Filesystem type is ext2fs, partition type 0x83
    grub> setup (hd3)
    Checking if "/boot/grub/stage1" exists.....no
    Checking if "/grub/stage1 exists.......yes
    Checking if "/grub/stage2 exists.......yes
    Checking if "/grub/e2fs_stage1_5 exists....yes
    Running "embed /grub/e2fs_stage1_5 (hd3)".....25 sectors are embedded.
    succeeded
    Running "install /grub/stage1 (hd3) (hd3))1+25 p (hd3,0)/grub/stage2 /grub/menu.lst".......succeeded
    Done.
    Last time I recall more errors than this, then it reporting that one was a non-critical error, so I think the problem may be solved.  More to come.
    Last edited by DarksideEE7 (2011-02-13 23:18:44)

  • HI Everyone! Please Help me to solve problem my Macbook Pro Mid2009. First problem is my Macbook has a noise sound when i first opened but when I used it around 30min it stop the sound. Next i can't create new partition it appeared: couldn't modify

    Hi Guys! I can not create new partition on my MacBook Pro. I don't what just happened  on it. Before i could but these fews day i can't. When I try to create new partition it said: Partition failed.  couldn't modify partition map because file system verify failed.   My HHD is samsung sata 640GB.
    When I went to iONE  (Apple store in cambodia) they check for me and they said my HHD is no problem. So please help with this.
    Thanks you so much......! any ideas please send to [email protected] or [email protected]

    I've just scanned my logs and I've found a lot of failed connections to teamviewer but I do not have this app installed. Can you suggest me a way to stop these connections? I found tons of messages like this:
    21/10/14 14:45:31,851 com.apple.xpc.launchd[1]: (com.teamviewer.service[1428]) Service could not initialize: Unable to set current working directory. error=2, path=/Applications/TeamViewer.app/Contents/Resources: 14A389: xpcproxy + 12907 [1227][1016C726-9ACF-3A24-9C51-A279F5C6B167]: 0x2
    21/10/14 14:45:31,851 com.apple.xpc.launchd[1]: (com.teamviewer.service) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
    21/10/14 14:45:37,239 com.apple.xpc.launchd[1]: (com.teamviewer.teamviewer[1430]) Service could not initialize: Unable to set current working directory. error=2, path=/Applications/TeamViewer.app/Contents/MacOS: 14A389: xpcproxy + 12907 [1227][1016C726-9ACF-3A24-9C51-A279F5C6B167]: 0x2
    21/10/14 14:45:37,239 com.apple.xpc.launchd[1]: (com.teamviewer.teamviewer) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
    thx

  • How to fix Grub after moving arch to new drive [SOLVED]

    I moved my Arch install (/ and /home partitions) to a new drive and I was wondering how to fix Grub so that it knows /boot is on the new drive.  What I've done thus far is
    create partitions on the new drive and dd my current / and /home partitions to them.  The new partitions are bigger than the current ones, so I also re-sized the filesystems to fill the new partitions.  My disk/partition setup is the following
    /dev/sda1        2048 488392703 488390656 232.9G  7 HPFS/NTFS/exFAT   (Storage)
    /dev/sdb1  *         2048    206847    204800  100M  7 HPFS/NTFS/exFAT   (System reserved)
    /dev/sdb2          206848 102402047 102195200 48.7G  7 HPFS/NTFS/exFAT   (Windows 7)
    /dev/sdb3  *    102402048 141472127  39070080 18.6G 83 Linux   (Current Arch /)
    /dev/sdb4       141472128 250069679 108597552 51.8G 83 Linux   (Current Arch /home)
    /dev/sdc2  *       206848 105064447 104857600   50G 83 Linux   (New Arch /)
    /dev/sdc3       105064448 234441647 129377200 61.7G 83 Linux   (New Arch /home)
    After I resized the filesystems, I then created a new grub.cfg file (on /dev/sdb3) that is aware of the new Arch system.  I can boot to both my current and new Arch installs and run them fine, but ultimately I want to remove the current Arch install so I can make more room for my Windows 7 install.  What do I need to do to grub, so it knows to use the new Arch system.
    Last edited by tlawren (2014-08-17 21:42:46)

    @Xyne - Thanks!  Installing grub on my /dev/sdc did the trick.  Because I dd'ed my old setup to a new drive, /boot/grub was already populated, so all I had to do was install and configure grub on the new drive via the following. 
    grub-install --target=i386-pc --recheck --debug /dev/sdx
    grub-mkconfig -o /boot/grub/grub.cfg
    I used os-prober to find the other OS's (Windows 7 and my old Arch).  After some testing, I will wipe my old Arch setup and then resize Windows into the free space.

  • Index problem during the creation of a new partition

    We have a range partitioned table, with a local spatial index on each partition. While trying to use the alter table command to add a new partition we get the following errors.
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Error in R-tree: [mdrcritbl]
    ORA-13231: failed to create index table [MDRT_D789CC$] during R-tree
    creation
    ORA-29400: data cartridge error
    ORA-01031: insufficient privileges
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_9I", line 7
    ORA-06512: at line 1
    ORA-06512: at "LPDAACECS_PART.UPDATE_METADATA", line 1937
    ORA-06512: at "LPDAACECS_PART.UPDATE_METADATA", line 3625
    ORA-06512: at line 1

    I just wanted to expand on this for the sake of others who may need a bit more detail, having just resolved my similar problem.
    In Oracle Enterprise Manager, in the left-hand tree view, expand Security then Users inside the relevant Databases entry.
    Then select the name of the user/schema which needs to be able to perform the required task (in my case, create a spatial index from within a stored procedure).
    On the System tab in the right-hand pane, highlight
    Create Any Table
    Create Any Sequence
    Create Any Index
    (depending on the task that needs to be performed)
    Click the arrow to move these items into the "Granted" area. Click apply and your prayers have been answered. Mine were, anyway!
    Regards
    Stuart

  • Problem in Creating New partition in Pavilion dm4 1217TX

    I have a hp Pavilion dm4 1217TX model laptop. I want to partition the hard disk (640GB) to separate the OS to the data. I think this is a very basic safety feature that will save my data in case of Windows failure (which is a very common problem). I have already split the C Drive and the new condition of my hard drive is
    System           199 MB       Primary
    C                        70 GB       Primary
    Unallocated   494 GB       Logical
    Recovery           32 GB       Primary
    HP Tools        103  MB      Primary
    Now I can't create partition in the Unallocated space because of 4 Primary Partition it already has. Now what can I do ? I can't understand that why it comes with four Primary Partition and without any Extended partition.

    Hi, there, I have the same problem with you, because of the OEM of the laptop, they have partitioned our hard drive in advanced, however this partition is not logical. As we know, when we install Windows7, the system partition and system reserved partition are set as primary partition without doubt, but how could they make the HP tools and other partition as primary partitino too. I'm very unhappy with this. I don't know WHAT are they thinking about. Every one who has a bit comptuer knowloage knows the rules of createing new partitions in Windows.  In my situation, I could only copy the data on recovery to C drive, then delete it. and recreate logical partition, then copy it back. Hope this could also help you.

  • NEW QuickTime 7.3.1 should solve problems with cd playback in iTunes 7.5

    FINALLY all the problems within iTunes 7.5 as described by so many users seem to be completely solved from today by the very new version of QuickTime, check for update 7.3.1!
    AND the cd-drive doesn't rev up so frightening any longer!
    AGAIN a happy Apple user/fan! :-))
    Regards and Good luck!
    mini x
    (Sorry for my 'painful' English!)

    I encountered a kernal panic for CPU 0) unable to find driver for this platform: "PowerBook 5,2")
    I believe that driver is munged on the HD, or the HD is munged, seen several just like that on 2.5" drives, never on a 3.5"er btw.
    If you can copy/retrieve your important data, I think you need to Zero the internal HD & start over, though if Permissions get repaired on it, you might try a reinstall of the latest big Combo Update... 2nd an Archive & install.

  • Problem after moving to new house

    I previously had no problem with wireless Airport Express connected via cable modem.
    Now I've moved to a new house and cannot get it to work. Same Internet Service Provider. The green light on AX is on. Internet Connect utility says I am connected to AX, and that AX is connected to the internet via ethernet (?). My MacBook recognizes the AX name and says it's connected wirelessly. But then I open Safari and cannot connect to the internet.
    I've reset AX by pressing the little reset button, and also reset it through Airport Utility. No luck.
    Finally, my wireless connection works fine through a neighbor's system.
    The only thing I know of left to try is connecting via an ethernet cable, which I don't have now.

    Oh, and I can use AX to play music wirelessly just fine.

  • [Solved] Integrating new Partitions into the Filesystem

    Hello,
    I reinstalled arch a couple days ago. I'm not using GPT with
    /var, /boot, / , and /home partitions.
    However, during the installion, i didnt add /var, /boot, and /home to my fstab [ i assumed genfstab would do this]
    Thus, i've only been using one of my partions, my root partition.
    So, now that i've discovered this, i would like to use them [20gb is not enough for me lol]
    However, i've already installed lots of programs and the /var, /boot/ and /home directories on my root partition are full of stuff.
    So how do i integrate these partitions into my filesystem? I need to copy all the files from the /var, /boot, and /home directories onto the
    /var, /boot, and /home partitions.
    I could just mount each onto a dummy directory, copy the files onto their respective partition, umount, then remount onto the correct directories.
    Is that the safest sequence of steps to take? If not what is?
    Thank you
    Last edited by fawkes5 (2013-04-24 08:13:47)

    lol. Didn't see the arch wiki post on this exact issue. The steps i outlined are those suggested by the wiki.
    Add new partitions to an existing system
    Should this be marked for deletion?
    Last edited by fawkes5 (2013-04-24 01:39:43)

  • How to Reconnect Offline Pictures Moved to New Partition

    I recently partitioned my C drive and moved My Pictures (not using PE Organizer) to the new partition ("J" Drive) to separate data files from program files.  I now have 25,000 pictures that are offline. How do I reconnect to the folders containing these pictures?
    Windows 7 Home Premium
    Photo Elements 9

    Above mentioned workflow is absolutely correct, but here is some info which will help you in understanding it better through detailed steps - http://bit.ly/Jo9zhc

Maybe you are looking for

  • File not found error 43 message. What is this?

    I transferred a project to a friends logic and everything transferred fine except for the fact that every time we start the tune we get the notification: File not found, result code = -43. After we click through the first error code window another po

  • Macbook pro mid 2011 video card problems

    Hi. I have a Macbook pro late 2011 and a have problems with my graphic card. I read 150 pages about this problem in apple forum, but don't receive any solutions to resolve a problem.

  • Settting up a wireless network in HP 18 All-In-One desktop PC (1101IX)?

    How can I set up a wireless network in my HP 18 All-In-One desktop PC (1101IX)?

  • Showing pdf file into an RTF report

    Hi all, At the end of my report I need to show a PDF file that I get from the table fnd_lobs, so in my xml I had a BLOB tag with the PDF. I know that this is possible with images using this: <fo:instream-foreign-object content type="image/jpg"> <xsl:

  • How would I create for example a happy face?

    I would I go so doing/creating lets say a happy face using drawRect and lines and such? I know how to get The eyes and the circle. But not the mouth smiling. I also wanna try to do it when I click a button it will frown instead of smile. Which is eas