[SOLVED] Moving boot, home and var partition post-install

I've installed my whole Arch on a single 10GB partition because of low disk space. But now that I've gained a lot of disk space, I want to move /boot, /home and /var to separate partitions.
I'm going to use live CD, so everything will be unmounted.
home and var:
  I assume it's just a matter of moving files and changing fstab.
boot:
  I assume, I'll have to move all files to new partition and re-install grub/burg.
Is there anything more to it?
Last edited by Camus (2011-12-01 11:37:32)

You need to edit your fstab file, copy files to the new partitions (check for permissions!), and restore grub(2), see wiki.
If you do not have custimized Arch, you could do a reinstall, but I'm not responsible for that tip. So be sure to have a backup or something like that.

Similar Messages

  • I recently brought a mac and downloaded windows with the help of boot camp and by mistake i installed windows 7 ultimate version whereas i had the cd and serial key of windows home premium i started installing windows home premium from windows 7 cont...

    I recently brought a mac and downloaded windows with the help of boot camp and by mistake i installed windows 7 ultimate version whereas i had the cd and serial key of windows home premium i started installing windows home premium from windows 7 ULTIMATE then after the exctraction of files and everything the windows setup came and my mouse and keyboard stopped working and i dont know how to open mac os x there is no option anywhere?? what shall i do pls help!!!!if there are any keyboard shortcut key to open mac os x or boot camp pls mention.

    For Boot Camp issues please repost in the Boot Camp forum located by clicking Boot Camp

  • [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)

  • Dual boot Arch and Windows XP (arch installed first) [solved]

    I recently moved over to arch from Ubuntu, and would like to install Windows XP so that I can dual-boot between the two. However, my arch install created four partitions on my disk, and I can not create another one.
    I would rather not have to reinstall arch, as setting it back up would take days on my current network connection. Is this possible? While I have installed XP over Ubuntu in the past (and am more than able to reform the MBR after the XP install) I have absolutely no experience with disk-partitioning, so concise instructions would be very much appreciated.
    errata: my laptop has 4 gigs of RAM, so I don't think I need the SWAP partition. I am hesitant to delete it outright however.
    this is a Gparted screenshot, running off of a Ubuntu live CD. The 60 gigs of unallocated space is where I was hoping to install windows.
    Last edited by spotdart (2009-02-05 17:13:55)

    What's on /dev/sda4?  If you can blow away the last partition, turn the whole thing into an extended partition and then you can set up as many logical partitions as you want inside the extended partition.  I suppose Arch is probably on sda4 and if that is the case you could move arch to sda3 first--there are lots of posts in the forum about how to move an installation of arch from one place to another.
    Edit: Beat to the punch again.  Yeah like he said you might want to delete the swap partition and then incorporate it into the 1st or third partitions so you can free up that last one.
    Last edited by bgc1954 (2009-02-05 15:27:21)

  • Problems with Boot Camp and Drive Partition

    First of all, let me preface this by saying I have in the past successfully partitioned my drive and installed Windows, but it was a while back and I can remember it was frustrating, but I don't remember the exact details. Also, I apologize for the rambling nature of this problem, but I'm trying to give as much relevant information as possible and walk through the steps I took to get where I am now.
    Feel free to skip ahead to the end, the main problem seems to be I tried to create a 300 GB partition, but it didn't take or something. Now my storage is reflecting I've lost 300 GB, but it won't recognize the existence of the new partition.
    Let me just walk through what I did. I deleted my previous partition because I was having some difficulties with a few programs and the partition ended up being too small and I wanted to make a bigger one anyway. I only use it for gaming and didn't care about any of the saved games so I just deleted the partition and figured I'd start over from scratch.
    Before I begin, some technical details about the computer I'm working with. I don't know how much of this is necessary, but here it is:
    It's a 27-inch late 2012 iMac with a 3.4 GHz Intel Core i7 processor with 24GB RAM running OSX 10.9.4
    The storage space is a little more difficult as that is part of the problem I'm running into, which I'll get to in a minute.
    Anyway, I have a Windows 7 Professional install DVD and a burned CD called Boot Camp, which I think is the drivers from last time I installed Windows (a year and half ago?), but since I needed Superdrive for the install DVD I just used an XHD I had to put the drivers on (like I said, I don't remember how I did it last time). I go through Boot Camp and look at how much space I have and how big I want to make my partition.
    Side note: Last time I made my partition, I'm fairly certain I set it to 200 GB, but the partition size actually came out to something like 112 GB or something significantly less. I didn't know what happened, but figured it would still be enough space and it had been such a hassle I didn't bother doing it again.
    Supposedly I have a 1 TB HD, and I can't remember exactly what it said when I partitioned the drive this time, but it definitely said I was using less than half of my capacity and I had plenty of room, so I opted to go for a 301 GB partition (the slider wouldn't let me do exactly 300) which still left me with around 300 GB of space left over on my Mac partition I want to say. I went ahead with it and it started partitioning the drive with the blue line moving very slowly and after an hour or so it was like 80% across but no longer making progress. I looked online and people said that shouldn't happen. I cancelled the partition and the Disk Utility showed the partition, but said it was unmounted or something.
    I restarted my computer thinking maybe I'd try and see what would happen if I tried to boot it up as if I had Windows installed. I also at that moment remembered that I'd had a similar problem last time because I had my XHD plugged into my USB port so I unplugged that and held down OPT. It then showed me my Mac HD drive and a CD icon that said Windows, so I clicked on that figuring maybe I could install it after all.
    It led me through a Install manager and it got to the point where it asked what drive/partition do you want to install Windows in, I recognized the screen and remembered I was supposed to choose a certain one, but couldn't remember which one and none of the sizes seemed to match the storage I had allocated to the partition. One was about 200 GB and since the last time I did it my partition came out 100 GB smaller than I had set it for I thought maybe that was it.
    However, it said I couldn't install on that drive for some reason (I can't remember exactly what it said). So I restarted again and figured I'd go back and see what I did wrong and start over. When I check Disk Utility it no longer sees any partition (mounted or unmounted or anything) and that the entirety of my HD is dedicated to Mac HD.
    The problem is, now I'm getting weird reports about the size of my drive, the amount used, and the space available. Disk Utility tells me I have 1.12 TB capacity, 301 GB available, and 819 GB used. That doesn't even add up. Furthermore, when I click get info on Macintosh HD, it tells me I have 810 GB capacity, 364 GB available, and 446 GB used. When I click on About this Mac and go to System Report and storage I get this:
    Macintosh HD
    Available: 364 GB
    Capacity: 810 GB
    Logical Volume Group:
         Name: Macintosh HD
         Size: 1.12 TB
         Freespace: 301 GB
    Physical Volumes:
         disk0s2:
         size: 121 GB
         disk1s2:
         size: 999 GB
    Now I really don't know what to make of it. That 301 GB free space makes sense as the partition I tried to create and if I add that to the 446 GB used on my Mac partition, plus the 364 GB available, that adds up to 1.12 TB (roughly, I've rounded off these numbers).
    But how come Disk Utility doesn't recognize the partition then? What should I do from here?
    I couldn't find anyone asking this exact type of question or running into this same problem before, so I hope I'm not asking about something that's already been answered. If that's the case, if you could direct me to where I can find the answer I'd be appreciative.
    Otherwise, any help or light that can be shed would be most appreciated.
    Thanks!

    The problem seems to have gone away. I did click on repair disk in Disk Utility, I'm not sure if that did anything, but now when I run Boot Camp Assistant it is showing me the correct free space, so I don't know what happened. Oh well.
    Still having trouble getting the **** thing to partition, but that topic is covered extensively elsewhere.

  • Home and personal partition in different places

    If there is something that i hate is to have the .config files with my personal files in home.
    Is there a way to mount a partition with the home and separated another partition with my files? I readed it in the wiki, but i don't know how to do it.

    What do you have in /home then? You can have separate /docs , /data etc.
    https://wiki.archlinux.org/index.php/Dotfiles
    https://wiki.archlinux.org/index.php/Libetc (see the note)

  • Moving Oracle Home from Disk Partition to SAN Partition

    Hi,
    We have one task that, we have currently running 10.2.0.1 instance on Disk Partition. We are going to move that Oracle Engine to SAN Partition.
    Can I copy all the files from disk partition to san partition? or any other procedure to do so? if any document or link, can you please point me to that

    thanks friend....now i understood.. we have Oracle Home and Database Files in single disk partition (/oradata)
    (a) we will create new partition wihch is pointed to san -- /new_oradata
    (b) Copy the files from /oradata to /new_oradata
    (c) umount /oradata
    (d) mount the SAN Partition (/new_oradata) to /oradata
    Now we are having /oradata partition mountpoint in SAN
    thanks buddy.... I think this procedure will work fine.....

  • Recovery CD - clean install and new partitions or install over old OS?

    I have a T400s running Windows 7. While using the factory recovery tool, the restore was interrupted. The OS wouldn't boot and the F11 function was disabled.
    I ordered the recovery CDs, which will arive today. Now, there are 3 partitions on my ThinkPad: a boot partition, the OS partition, and the recovery CD partition. My question is this. Will the Recovery CD do a clean install ... wiping all 3 partitions and reinstalling the entire OS and recovery partitions to the factory state? Or will it simply reinstall the OS in the OS partition, leaving everything else alone? Thanks.
    P

    Since you'll have the Recovery Media, you could elect to simply remove the recovery partition.  This can be done through Disk Management (right-click Computer in Start Menu and choose Manage).  The drive should be set up with the Service Partition, the C: partition, and then the Q: partition.  If you delete the Q: partition you can then extend the C: partition.

  • [SOLVE] Dual Boot Windows and ArchLinux with Syslinux

    Ok, i installed ArchLinux on my laptop with Windows XP (syslinux) and I cannot find get Windows to boot or mount it. I have tried to do what i can to do this but cannot. I Installed XP first like a should and something i think might be needed to know is after i created the partitions scheme (10Gb (boot partition), 50GB (XP), 80GB(was unallocated)). The installation disk formated both 2 partitions in NTFS but i installed XP on the second and Windows reported them as C and D drives. Windows being D. Thought that was bit werid thinking Windows installed the mbr on that partition. When I installed ArchLinux, it did have the boot flag set on 10GB (or C drive).
    Since I installed ArchLinux, I have been unable to find a solution to mounting/booting to Windows. Installed NTFS-3G and that didn't work when i tried mount /dev/sda3 windows and i did created a folder named windows but got ...
    mount: wrong fs type, bad option, bad superblock on /dev/sda3,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so.
    Tried dmesg | tail and got
    [ 76.524133] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
    [ 179.468499] ACPI: \_SB_.PCI0.LPC0.ACAD: ACPI_NOTIFY_DEVICE_CHECK event: unsupported
    [ 705.472330] 8139too 0000:02:03.0 enp2s3: link down
    [ 717.380879] 8139too 0000:02:03.0 enp2s3: link up, 100Mbps, full-duplex, lpa 0x41E1
    [ 726.447184] 8139too 0000:02:03.0 enp2s3: link down
    [ 727.596128] ACPI: \_SB_.PCI0.LPC0.ACAD: ACPI_NOTIFY_BUS_CHECK event: unsupported
    [ 732.616138] 8139too 0000:02:03.0 enp2s3: link up, 100Mbps, full-duplex, lpa 0x41E1
    [ 733.848832] 8139too 0000:02:03.0 enp2s3: link down
    [ 834.062062] 8139too 0000:02:03.0 enp2s3: link up, 100Mbps, full-duplex, lpa 0x41E1
    [ 2131.449211] perf samples too long (2534 > 2500), lowering kernel.perf_event_max_sample_rate to 50100
    This is when i run sudo lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 149.1G 0 disk
    |-sda1 8:1 0 9.8G 0 part /boot
    |-sda2 8:2 0 1K 0 part
    |-sda3 8:3 0 53.6G 0 part
    `-sda5 8:5 0 85.7G 0 part /
    sr0 11:0 1 1024M 0 rom
    My syslinux is
    LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda5 rw
    INITRD ../initramfs-linux.img
    LABEL windows
    MENU LABEL Windows
    COM32 chain.c32
    APPEND hd0 3
    NOTE: chain is in the same directory with syslinux
    I really think Windows got corrupted but not sure. Thought about repairing the mbr on windows and booting to it then reinstall syslinux but really don't want too.
    Thanks in advance
    Last edited by jag-ster (2014-11-27 02:12:12)

    Here is the partition table:
    /dev/sda1 one HUGE linux /boot primary partition (assuming ext4)
    /dev/sda2 "name" of the extended partition
    /dev/sda3 primary Windows partition (assuming NTFS)
    /dev/sda5 logical Linux root partition (assuming ext4)
    /dev/sda1 to /dev/sda4 are either all primary, or three primary and one extended. After /dev/sda4 all partitions are logical. If you're still wondering why is there no /dev/sda4, it's because you have 2 primary and one extended, so /dev/sda4 is reserved for another primary partition.
    Windows problem:
    The /dev/sda1 which Windows named C: is Windows equivalent of linux /boot. When you told linux to place its /boot on /dev/sda1 it formated boot files of Windows. Now you have Windows OS with no kernel. In other words there is no way to boot Windows if you don't reinstall it. Actually there is a way, but you would than screw up Arch.
    Mounting problem:
    You can never mount extended partition, only logical (an extended partition is made of logical partitions). You want to do:
    sudo mount /dev/sda3 -t NTFS-3g -o rw,uid=YourUserName /path/where/you/want/this/partition/mounted
    EDIT:
    Try it this way:
    - Backup all your data
    - Delete every partition
    - Start Windows installation
    - Make only one partition (c:/ for Windows)
    - Let Windows make another partition
    - Make one more so you could have a data partition, which does not need to be formated to reinstall Windows
    - Start Arch installation
    - Get to partitioning
        =Partitioning=
        - /dev/sda4 extended (take the rest of the drive)
        - /dev/sda5 logical /boot 512MiB
        - /dev/sda6 logical /          20GiB
        - /dev/sda7 logical /home (the rest)
    Making a separate /home partition will come in handy when reinstalling Arch (any linux distribution), or switching between distros, because it is the equivalent of D:/ in Windows. Also consider LVM.
    Last edited by bstaletic (2014-02-28 23:25:33)

  • [Solved]Dual booting Arch and Fedora

    i was hoping to partition like this:
    /boot (same for both)
    /root (arch)
    /swap (same for both)
    /root (fedora)
    /home (same for both)
    this doing is according to: bbs.archlinux.org/viewtopic.php?id=97121
    as both are using grub2, i don't think having same /boot would coz any trouble
    and about /home, having uid and gid 500 for both arch and fedora would not cause any trouble,eh?
    how do i change uid and gid from 100 to 500 on first boot in arch?
    thnz in advnc 
    Last edited by eric17 (2012-05-25 18:25:04)

    eric17 wrote:guys!..ran into a new one
    now that, i have gpt table(want to try it for the first time), so bootloader doesn't install in MBR, so how to install it on /dev/sda1(no seperate for boot)?
    there is no method to change the location from sda to sda1(as installer discourages it)
    if it is so important to have it in MBR, then how do I force it while 'Install bootloader'?
    first i created bios_grub(1mb) on /sda1 through fedora installation(as without it, after installing arch, fedora was showing error that there is no boot storage device 1 or somethin like that)
    then, through Gparted:
    /root /sda2   fedora
    /root /sda3   arch
    /swap           both
    simple ext4 data partion (later i would create folders in it and bind them to each distro's home
    then installed arch without bootloader in end....after that fedora and it installed grub 1.99 on /sda
    now, both are booting fine
    thnx to every one

  • [Solved] Moved from location and internet connection stopped working.

    Hello everyone, this is my first post in the forums and first time using arch so please bear with me. I recently bought an Asus UX51, formatted it and installed arch linux with the help of the beginner's guide. After overcoming several problems (preinstalled raid, nvidia optimus to name a few) I managed to get it running, installed a DE and was using wireless connection just fine with
    # ip link set wlp3s0 up
    # wifi-menu wlp3s0
    Everything was going fine until I came for a holyday's week to my parents house and tried to connect to their wireless network to no avail. I have WAP in my house, same do they in their house (in which I'm right now).
    I have been trying the past 2 days with netctl, and even the manual method described in the wiki , googled, etc. I'm already out of ideas so I decided it was time to ask for help. If it's of any use, wifi-menu scans the network properly, and # netctl status wlp3s0-interface_name returns this:
    Also read somewhere in the forums to try # journalctl -b , this is what I get on the last page:
    When I try #ping, I get the following after having to wait around 15 secs :
    ~$ ping google.com
    ping: unknown host google.com
    I even tried booting from an USB with an arch iso, just to try getting a wired connection, mount my arch installation and download some other network manager just to see if I got any luck, but not even that worked (in my house, just by connecting the cable before booting I would automatically have internet access when booting with the iso, but it didn't work here...).
    Any help would greatly be appreciated.
    Last edited by contiver (2013-08-01 18:06:48)

    I got it running !
    Just followed the manual guide once more, but managed to bypass some problem I had the first time I tried (you could say I was a bit lost by the command in the wiki but managed to understand it a bit more this time)
    I believe the setup my parents have here is pretty messed up, other people get similar problems from time to time with the network, but I don't really understand much to mess with it so I'd rather leave it like it is.
    In case it's of any use to anybody I'll leave here how everything was left in the end in my laptop.
    Used:
    wpa_passphrase foobarssid foobarpassword
    to generate:
    network={
    ssid="foobarssid"
    #psk="foobarspassword"
    psk=f5d1c49e15e679bebe385c37648d4141bc5c9297796a8a185d7bc5ac62f954e3
    I copy pasted that on my /etc/wpa_supplicant.conf ,which had a line at the start which seems was a leftover from the time I tried before (when I tried using wpa_supplicant it failed and complained about it in the error msg).
    After that I used
    wpa_supplicant -B -iwlp3s0 -c/etc/wpa_supplicant.conf
    After that I used
    dhcpcd -A wlp3s0
    That failed because it said that there already was a dhcpcd process running, I killed it, tried again and it all went fine. Tried ping and kept answering "unknown host". Tried rebooting and that's when # ping google.com  started to behave like it should. Tried browsing a bit and no problems whatsoever.
    Thanks a lot for the help!

  • 8.1.6 and designer 6i post install problem - please help

    Hello all,
    I installed designer following the install guide extremely closely. The install went off without a hitch. However, when I try to create and ERD, or any diagram, I receive this error:
    Message
    ORA-01400: cannot insert NULL into ("REPOS_OWNER"."I$SDD_DIAGRAM_SEGMENTS"."IRID")
    Message
    ORA-01400: cannot insert NULL into ("REPOS_OWNER"."I$SDD_DIAGRAM_SEGMENTS"."IRID")
    Message
    RME-02124: Failed to execute SQL statement: insert into I$SDD_DIAGRAM_SEGMENTS (DIAGRAM_REF, SEQUENCE, GRAPHICAL_DATA, PARENT_IVID, PAC_REF) values (:diag_id, :seq, :data, :diag_ivid, :diag_id)
    I'm fairly new to Oracle but I did have designer 6.0 working on 8.1.5.
    Does anyone have any suggestions?
    Thanks,
    Damon

    The same happened to me. It turns out that it had something to do with old windows registry entries that let the repository install program know that I had designer 6.0 previously installed on my system. The install apparently isn't wise enough to know that it is installing 6i. It checks the registry for the first Designer version identified and decides what repository components you need based on that. 6i uses the standard repository components (6.0 versions) and some new stuff.
    If you read your install documentation carefully (Chapter 2, Step 14, Item 2), you will note that you need to select two components to install. If the repository
    admin utility is <prior-version-aware> it neglect to even display one of those options and its easy to blow right past that screen without realizing something is amiss (that's what I did ;-P ).
    Hope this gets you going,
    As with any Oracle product install
    -- Good Luck!! --
    Sandi
    null

  • [SOLVED] Grub boots to rescue mode err: unknown filesystem every drive

    So I installed Arch and it all seemed to go reasonably well (well, had a little trouble installing GRUB to begin with, but I think that's just because I needed a BIOS boot partition at the start of the drive). I installed it onto a 4TB I have, which due to its size has a GPT partition table even though my mobo (Gigabyte GA-P67A-UD4-B3, don't think it matters though) uses a regular old BIOS. Initially it was two partitions, the Microsoft reserved partition then a big NTFS data partition. I shrunk the NTFS partition and then made (in this order on the disk, starting at third) an ext4 partition for /boot, a swap partition, and a big btrfs partition (in which I created subvolumes for /, /etc, /home and /var). GRUB wouldn't install (I forgot the exact error) but what I could find suggested it was because there needed to be room for it at the start of the disk, so I deleted the Microsoft reserved partition (Windows is installed on an SSD, and its bootloader is on another hard drive entirely, so I didn't think I needed it) and created an empty partition with the right code using gdisk, then I could install GRUB to the 4TB HDD.
    Unfortunately, when I try to boot into GRUB it immediately comes up with error: unknown filesystem and dumps me at the GRUB rescue prompt. Using ls, I can see my HDDs and their partitions, but whenever I try to use (for example) ls (hd0,gpt3)/ - which I think should probably be the ext4 boot partition, but it does this for everything - it just says error: unknown filesystem again.
    This seems pretty close to (if not exactly the same as) my problem, so I tried what he suggested, but when I tried to run the command he says worked, (grub-install --recheck --disk-module=native /dev/sda) - and don't worry, I didn't do that blindly, I know /dev/sda is my 4TB HDD - I just get the error grub-install: --disk-module: (PROGRAM ERROR) Option should have been recognized!?. So I'm all out of ideas and I've been trying for a few hours. Please help me, before I go insane... more insane. I can boot the USB drive I used to install Arch and chroot into my installation, but I haven't found a way to actually boot the installation yet.
    SOLVED: Apparently the partition I was using for /boot was too far back on the drive (past the first 2TB). When I shuffled partitions around so that the /boot partition was near the start of the drive (it starts at sector 2048 now!) that seemed to fix it.
    Last edited by Slashee the Cow (2015-04-12 15:36:51)

    Tried using insmod btrfs in the grub rescue shell last night. Didn't work, can't remember if the insmod command itself gave me an error or whether it still couldn't see any files or anything. Tried it again today, but that was after I converted /dev/sda3 back to ext4 and mounted it at /boot (since it being ext2 wasn't working, and not using it wasn't working, so I figure what's the harm) and I just got error: unknown filesystem.
    Anyway: using grub-install from outside chroot seems to work (still can't use --disk-module), but grub-mkconfig just generates this:
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod ext2
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root ec4cf3cd-d72d-4988-a2ce-421f45d52824
    else
    search --no-floppy --fs-uuid --set=root ec4cf3cd-d72d-4988-a2ce-421f45d52824
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    if [ "${grub_platform}" == "pc" ]; then
    menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
    search --fs-uuid --no-floppy --set=root ec4cf3cd-d72d-4988-a2ce-421f45d52824
    linux16 /boot/memtest86+/memtest.bin
    fi
    ### END /etc/grub.d/60_memtest86+ ###
    I'm not an expert on GRUB configuration files, but I figured that even if that didn't just boot me straight to the rescue shell, it wasn't going to boot anything... other than memtest86+ maybe. So I went back into chroot and run grub-mkconfig and it generated this:
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_gpt
    insmod btrfs
    set root='hd0,gpt5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 b21e6211-5e7a-4769-9f53-b9b5d554a242
    else
    search --no-floppy --fs-uuid --set=root b21e6211-5e7a-4769-9f53-b9b5d554a242
    fi
    font="/root/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b21e6211-5e7a-4769-9f53-b9b5d554a242' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt3'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 184916fd-57a7-48cf-858e-93a5d339ade2
    else
    search --no-floppy --fs-uuid --set=root 184916fd-57a7-48cf-858e-93a5d339ade2
    fi
    echo 'Loading Linux linux ...'
    linux /vmlinuz-linux root=UUID=b21e6211-5e7a-4769-9f53-b9b5d554a242 rw rootflags=subvol=root quiet
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux.img
    submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-b21e6211-5e7a-4769-9f53-b9b5d554a242' {
    menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-b21e6211-5e7a-4769-9f53-b9b5d554a242' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt3'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 184916fd-57a7-48cf-858e-93a5d339ade2
    else
    search --no-floppy --fs-uuid --set=root 184916fd-57a7-48cf-858e-93a5d339ade2
    fi
    echo 'Loading Linux linux ...'
    linux /vmlinuz-linux root=UUID=b21e6211-5e7a-4769-9f53-b9b5d554a242 rw rootflags=subvol=root quiet
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux.img
    menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-b21e6211-5e7a-4769-9f53-b9b5d554a242' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt3'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 184916fd-57a7-48cf-858e-93a5d339ade2
    else
    search --no-floppy --fs-uuid --set=root 184916fd-57a7-48cf-858e-93a5d339ade2
    fi
    echo 'Loading Linux linux ...'
    linux /vmlinuz-linux root=UUID=b21e6211-5e7a-4769-9f53-b9b5d554a242 rw rootflags=subvol=root quiet
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux-fallback.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows Vista (loader) (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-4E94BAB294BA9C41' {
    insmod part_gpt
    insmod ntfs
    set root='hd1,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 4E94BAB294BA9C41
    else
    search --no-floppy --fs-uuid --set=root 4E94BAB294BA9C41
    fi
    chainloader +1
    menuentry 'Windows Vista (loader) (on /dev/sde1)' --class windows --class os $menuentry_id_option 'osprober-chain-CEF01053F010445D' {
    insmod part_msdos
    insmod ntfs
    set root='hd4,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos1 --hint-efi=hd4,msdos1 --hint-baremetal=ahci4,msdos1 CEF01053F010445D
    else
    search --no-floppy --fs-uuid --set=root CEF01053F010445D
    fi
    chainloader +1
    menuentry 'Windows Vista (loader) (on /dev/sde5)' --class windows --class os $menuentry_id_option 'osprober-chain-4E94BAB294BA9C41' {
    insmod part_msdos
    insmod ntfs
    set root='hd4,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos5 --hint-efi=hd4,msdos5 --hint-baremetal=ahci4,msdos5 4E94BAB294BA9C41
    else
    search --no-floppy --fs-uuid --set=root 4E94BAB294BA9C41
    fi
    chainloader +1
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    ### END /etc/grub.d/60_memtest86+ ###
    Still didn't work though.
    I don't know grub config, but is the UUID specified in
    linux /vmlinuz-linux root=UUID=b21e6211-5e7a-4769-9f53-b9b5d554a242 rw rootflags=subvol=root quiet
    supposed to be the UUID for /boot or /? Because the UUID there is for the btrfs partition being mounted at / (which I guess would explain why it has the correct subvol listed, which I'm not sure if it's necessary, given that should be the default subvolume). So... that's probably alright (just something that stood out to me).
    As for installing grub on another disk: I suppose I could try, though I'd rather keep it on one drive if I can (sometimes it gets complicated enough having Windows and my Windows bootloader on different drives... I should probably try moving the Windows bootloader to the SSD where Windows is installed. Would it matter which drive? The options are:
    sda: 4TB, GPT table, the one I'm having problems with now
    sdb: 2TB, MBR table, nothing in boot sector AFAIK
    sdc: 240GB SSD, GPT table, would rather not use it since Windows is installed on there, even if its bootloader isn't
    sdd: 1TB, MBR table, nothing in boot sector AFAIK
    sde: 500GB, MBR table, has the Windows bootloader so I'd rather not mess that up (although given it's the smallest and I have no free SATA ports, it'll be next to go when I need more space, so I might want to move the bootloader)
    (sdf and sdg which appear in lsblk earlier are just USB flash drives, and I'd rather not have to rely on having to use one of them to boot Linux).
    As for repartitioning /dev/sda: as long as I can do it non-destructively, sure. Well I mean non-destructively for the NTFS partition, which is mostly full of Steam games (and I might have enough room on other drives and portable drives to keep the rest safe), but on my crappy Australian internet connection (aren't they all) it'd probably take me a couple of weeks to redownload them. I don't mind if I have to get rid of the Linux partitions, I already tried going through the install again once before to try to get it to work, another time isn't going to matter. So I guess I could try using gparted to delete the Linux partitions, move the NTFS partition to the end of the disk, and recreate the Linux partitions in front of it (although moving that much data might take a while, so I'd probably want to do it overnight). For reference, right now it's:
    128MB of unformatted space (where the Microsoft reserved partition was, but now it's flagged as a BIOS boot partition, even though it's far bigger than it needs to be for that, I didn't feel like moving the other partitions back just to claim less than 128MB)
    ~2.7TB NTFS data partition (important)
    ~1GB ext4 /boot partition
    8GB swap partition
    ~1TB btrfs partition with subvolumes mounted at /, /home, /etc and /var

  • Dual Booting Windows and Solaris

    Hi
    how do i dual boot windows and solaris
    Do i install windows first and then solaris or do it the other way around..?
    how do i make sure that Windows and Solaris appear in my boot options..?
    Is their a guide on doing this...?
    Thanks
    Liam

    Hey I did a quick google search for you. So I havent tried this method myself but it sounds reasonable.
    The text below is from the following link:
    http://www.hccfl.edu/pollock/AUnix1/DualBoot.htm
    "Solaris boot loader
    Partition the drive to leave at least 2GB of space available for Solaris;
    more drive space is desirable.
    As with Linux, install Windows first then Solaris.
    Do not use the Installation CD but boot and install
    from Software CD 1.
    If you accept the default partitioning scheme which
    the installer provides you will soon run out of space in
    your / and /usr partitions since only enough space is
    allocated to install the system.
    All extra space is allocated to /export/home.
    A typical installation on a 4.5GB partition might look
    something like this:
    Filesystem Size Used Avail Use% Mounted on
    /dev/dsk/c0d0s0 900M 536M 310M 64% /
    /dev/dsk/c0d0s1 334M 109M 192M 36% /var
    swap 671M 8.0k 671M 1% /var/run
    swap 671M 8.0k 671M 1% /tmp
    /dev/dsk/c0d0s5 845M 222M 565M 29% /opt
    # (FAT32 partition):
    /dev/dsk/c0d0p0:1 5.0G 3.3G 1.6G 66% /c
    /dev/dsk/c0d0s7 1.1G 92M 954M 9% /export/home
    /dev/dsk/c0d0s4 752M 225M 474M 33% /usr/local
    The Solaris boot selector enables you to choose either
    Solaris or Windows with Solaris as the default.
    (I prefer grub or lilo!)
    To mount FAT under Solaris:
    # mount -F pcfs /dev/dsk/c0d0p0:c /dos (or �:1�?)
    And the vfstab file:
    /dev/dsk/c0d0p0:c - /dos pcfs - yes -
    To create a GRUB boot floppy, follow these steps:
    $ mkfs -t ext2 /dev/fd0
    $ mount /dev/fd0 /mnt/fd0
    $ mkdir /mnt/fd0/boot /mnt/fd0/boot/grub
    $ cp /boot/grub/stage[12] /boot/grub/grub.conf \
    > /mnt/fd0/boot/grub
    $ /sbin/grub --batch <
    Hope this helps!
    /Oscar

  • Shouldn't /var/run and /var/run/lock point to absolute paths?

    I have a setup with my 'var' on a separate partition that causes /var/run and /var/run/lock to point to nothing each time I upgrade the filesystem package and I wonder if this is a bug.
    Mounted at /mnt/data is a luks encrypted partion where I keep my home and var as subdirectories. Two symlinks point to them from root:
    # ls -al /
    lrwxrwxrwx 1 root root 14 Apr 21 2011 home -> /mnt/data/home
    lrwxrwxrwx 1 root root 13 Apr 21 2011 var -> /mnt/data/var
    Each time I upgrade the filesystems package however I end up with /var/run and /var/lock pointing to  '../run' and ../run/lock', which in my case are the non-existing /mnt/data/run and /mnt/data/run/lock.  I have to delete the symlinks and make them link to the absolute  /run and /run/lock. Is there a reason the symlinks are relative instead of absolute?
    [edit]
    (this should have been posted in 'Pacman & Package Upgrade Issues' instead of here.)
    [edit]
    Last edited by rwd (2012-06-24 18:14:08)

    Thanks! After using bind mounts and  reinstalling the filesystems package the relative links work. Still I wonder why using bind mounts instead of symlinks is the 'correct' way. The only advantage I see is to have the ability to use mount options, which In my case I don't need.

Maybe you are looking for