[SOLVED]Should /boot partition be formated in ext2 or ext4?

I used to format /boot partition in ext2 when installing Arch Linux.
Can /boot partition be formatted in ext4?
Is there any advantage when using ext4 over ext2 in /boot ?
I heared that ext2 is more stable than ext4.
Last edited by yuanzhi (2012-12-22 06:01:10)

You can use anything you like for a separate /boot partition, provided both Linux and your boot loader can read it -- ext2, ext4, XFS, HFS+, FAT, etc. Some of these filesystems do have limitations, though. For instance, since FAT doesn't support symbolic links, you can't do something like link a kernel with a generic name to one with a more specific name. I've seen some configurations that rely on such things, and they wouldn't work with FAT.
As to ext2fs vs. ext4fs specifically, ext4fs won't have many advantages; its journal and other advanced features will be of little importance on such a small partition. Ext4fs might be a tiny bit faster, especially if you've got an EFI-based system and are using the EFI filesystem drivers, but this effect will usually be so small that it qualifies as negligible. I'm not sure about reliability, but I'd expect that any reliability problems with ext4fs would be pretty well eliminated by now.
Personally, I've been using ext2fs on most of my systems' /boot partitions until recently. I've begun using FAT or ReiserFS more recently, but only because I'm using EFI and am loading my kernels off of these partitions. In this environment, FAT is better because it's the EFI's native filesystem, and ReiserFS has a speed advantage over ext2fs or ext4fs because of quirks of the add-on EFI drivers for these filesystems. These are rather specialized reasons to favor these filesystems, though. FWIW, Fedora, which uses a separate /boot partition by default, has been using ext4fs on its /boot for a while now.

Similar Messages

  • [SOLVED] dual boot partitions

    I have four partitions for my arch install.  Does this mean that I won't be able to dual boot another distribution without having to reinstall arch?  There can only be 4 partitions right?  Or is there some way around it?
    Thanks
    Last edited by acidic (2012-04-20 11:06:23)

    There can be only 4 primary partitions  on a disk. However, one of the partitions can be made 'extended'. In that you can have any number of logical partitions. So there is no problem for multibooting. I believe Windows and BSD need a primary partition for installation.  Obviously one of the primary partitions has to go. You can install full Arch system on one partition. I am not sure if this can be done without need for reinstalling arch. Following link of full system backup may be of help:
    https://wiki.archlinux.org/index.php/Fu … with_rsync
    Also see:
    https://wiki.archlinux.org/index.php/Ad … Partitions
    Output of 'sudo fdisk -l' will show you if all your partitions are primary or there is an extended one also. You may post the output here.
    If there is a swap partition, that can be deleted, converted to extended, logical partitions made in extended, one of them made swap, and other distributions can be added. This should not cause any loss of data but this will require partitions to be resized.
    Last edited by rnarch (2012-04-19 11:40:59)

  • I want to install Windows but Mac showed message that related partition should be in NTFS format. In which way I could format windows partition.

    I want to installWindows but Mac showed message that related partition should be in NTFS format.In which way I could format windows partition.

    Go back and re-read the guide which is also part of and in the Apple Boot Camp Assistant.
    Boot Camp Installation Guide
    Boot Camp FAQ
    Windows 7 FAQ
    Apple - Support - 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)

  • [SOLVED] Longwinded beginner - Dual-boot & partition questions

    Hello,
    I'm interested in installing Arch Linux alongside Windows XP (dual-boot). I have little previous linux experience, although I have rented some servers that have used it in the past, as well as compiling some stuff with it while at University (studying Computer Science). Nevertheless, I am relatively confident that if I can still boot into XP, I will be able to acccustomise myself and like the fact that this distribution seems to be hands-on and leaves a lot up to the user.
    I've been reading the Beginner's Guide and the dual boot guide, and I would like to get started, however, I'm not going to go ahead with this until I am certain that I will be left with a system that can still boot into Windows XP. I assume that it'll take me a while to get to grips with Arch, and in the meantime it would be massively inconvenient if I couldn't work/play/etc...
    What I already know
    Anyway, currently I have a 250GB hard drive that I use for Windows (as well as 3 other hard drives full of stuff). I have partitioned the drive with Windows XP on it with gparted like so:
    (in order)
    UNALLOCATED                         32GB
    SDB1 (Windows XP)                 50GB
    SDB2 (Downloads)                  150GB
    I hope to use the unallocated space to hold linux (and then have access to my other windows drives in the future, using ntfs-3g), however, I am a little confused over what partitions I 'should' have and how large they should be, considering that I will use the OS to mainly develop, browse the web, listen to music, etc...
    I was thinking:
    /boot    -- ext2         -- 100MB
    /          -- ext4         -- 15GB
    swap    --                -- 1GB
    /home  -- ext4         -- 12GB
    /var     -- ReiserFS   -- 4GB
    Questions
    • Is 30GB too little, even though most of my stuff is on other NTFS hard drives?
    • How large should / be? I've read that it contains /bin, /dev, /etc and others. How do I know how much space these need? Am I misunderstanding things?
    • Is a /var partition unnecessary? How large should it be?
    • 10GB for /home, 1GB for swap, 100MB for /boot?
    • Do I need a /tmp or /usr? This is a single-user machine, but I don't want it to get messy!
    • I was thinking of giving /boot ext2, and /var ReiserFS, and then giving every other partition ext4. That okay?
    • Do I need to set these partitions up when installing, or can I set them up in advance with gparted - it might be simpler.
    • Due to already having 2 NTFS primary partitions on the hard disk, I presume that some of the above will need to be logical partitions in an extended partition? How is this done?
    Once the partitions have been set up, and linux is installed, I presume it's just a matter of completing the rest of Part I of the guide, and then ammending /boot/grub/menu.lst to include 'Windows XP'? At that point I am able to restart Windows XP, and only delve into Arch when I want to continue with the configuration, fixing, and so on...
    Sorry for the wall of text, and thanks for your patience. (:
    Last edited by Bedtimes (2009-09-27 14:21:55)

    That's the thing, I expect that I'm doing something wrong with the GRUB loader - and I admit my hard disk layout has been quite strange for a long time before installing linux.
    Basically, it currently looks like this:
    /dev/sda1    ntfs    Music           250GB
    /dev/sdb3    ext2   /boot           120MB
    /dev/dsb4    extended
    ---- /dev/sdb5    linux-swap       1GB
    ---- /dev/sdb6    ext4    /           20GB
    ---- /dev/sdb7    ext4    /home   12GB
    /dev/sdb1    ntfs    Windows XP  50GB
    /dev/sdb2    ntfs    Downloads    150GB
    /dev/sdc1    ntfs    TV & Movies   950GB
    • This list is in order that the entries appear on the hard disk, hence /boot is in the first 1024 cylinders of the hard disk, but as you can see the sdb numbers are actually in the chronological order that I created them.
    • I used an extended partition with logical partitions inside since I had read that there was an issue with more than 4 partitions in a hard disk, and I already had 2 NTFS partitions.
    • When it asked me to install GRUB to the MBR, I installed it to SDB as opposed to SDBx as it asked me to in the manual. This is the drive that contains /boot!
    • I just managed to amend something in the menu.lst, in order that I can boot into Windows XP. Therefore my machine is not totally fucked up any more. (: Unfortunately, what I changed doesn't make sense to me, since I would have expected Windows XP to be on a different hard disk.
    The contents of sdb3:
    grub    kernel26-fallback.img    kernel26.img
    lost+found    System.map26    umlinuz26
    When typing the command /sbin/blkid:
    /dev/sda1: UUID="D0..." LABEL="Music" TYPE="ntfs"
    /dev/sdb1: UUID="A8..." LABEL="Windows XP" TYPE="ntfs"
    /dev/sdb2: UUID="557..." LABEL="Downloads" TYPE="ntfs"
    /dev/sdb3: UUID="2676..." TYPE="ext2"
    /dev/sdb5: UUID="0474..." TYPE="swap"
    /dev/sdb6: UUID="0886..." TYPE="ext4"
    /dev/sdb7: UUID="519becf..." TYPE="ext4"
    /dev/sdc1: UUID="46AC59" LABEL="TV & Movies" TYPE="ntfs"
    Inside /boot/grub/menu.lst:
    timeout 5
    default 0
    color light-blue/black light-cyan/blue
    # (1) Windows XP
    title Windows XP
    rootnoverify (hd0,0)
    chainloader +1
    # (2) Arch Linux
    title Arch Linux
    root (hd1,5)
    kernel /boot/vmlinuz root=/dev/disk/by-uuid/0886... ro vga=773
    initrd          /boot/kernel26.img
    # (3) Arch Linux (Fallback)
    title Arch Linux (Fallback)
    root (hd1,5)
    kernel /boot/vmlinuz root=/dev/disk/by-uuid/0886... ro vga=773
    initrd          /boot/kernel26-fallback.img
    edit: I'm able to access all of the installation partitions with gparted-live's terminal (by mounting the devices I need to access into folders in my root folder), so is there anything else you want me to check/change in order to find my linux root/boot partition?
    Last edited by Bedtimes (2009-09-27 12:54:24)

  • Screwed up MBR and boot partition, can't fix it [SOLVED]

    Hi,
    I have been defeated. Been trying to fix my computer the whole day and know I'm lost.
    It's a long story, but my whole system got screwed when I tried installing windows on top of arch (I didn't get it to install, but I don't care anymore).
    I was able to install GRUB2, I tried configuring it with grub.cfg , but when trying to boot it says it's missing kernel, boot partition has linux2.6, and I was using linux 3, I'm not really sure how to get the kernel I was using, should it be in my root partition? .
    I'd like to get my system as it was before, I have root , var and home partitions and not sure how.
    Thanks
    Last edited by exuberant (2011-12-31 10:27:47)

    Thanks for your reply.
    I was using Arch, I last updated a few days ago.
    The kernel that's on the boot partition is from a debian live cd I had laying around.
    It is not possible I have more than one boot partition. I have 1 hard drive, but plenty of free space.
    Windows wanted to use the start of my disk, so I used gparted to move 20 gb free space at the beginning. Creating a partition in the beginning also caused all partitions numbers to move up (sda2->sda3), when I gave up on windows, I tried moving everything forward like it was before, but it didn't work. Then I remembered that when installing grub, installers check for other mount points, but that didn't work, and instead overwrote my boot partition. So know I've got a temporary debian system installed(sda9) and a boot partition that won't boot Arch.
    This is my fdisk output: sda5 is arch sd6 var and sd7 home
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000080
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          12       96358+  83  Linux
    /dev/sda2              13         401     3124642+  82  Linux swap / Solaris
    /dev/sda4            2744       14648    95619073    5  Extended
    /dev/sda5            2744        4203    11719680   83  Linux
    /dev/sda6            4239        5212     7815168   83  Linux
    /dev/sda7            5227       10326    40957952   83  Linux
    /dev/sda8           10393       13432    24411136   83  Linux
    /dev/sda9           13432       14648     9764864   83  Linux

  • (SOLVED) Dualboot Windows + Arch Linux (Windows boot partition)

    Hi,
    I have 4 partitions.
    sda1: Windows boot partition (ntfs) - This has always been there
    sda2: Windows Installation
    sda3: HP_Tools - I need to keep this for warranty
    sda4: Arch Installation
    I want to use GRUB to have a dualboot option at startup. Do I need to install GRUB to the boot partition which is NTFS, this should be ext3 according to the tutorial.
    Or can I just install grub on the Arch installation in the /boot folder?
    Thanks already!
    Last edited by AlexCogn (2012-10-02 15:02:10)

    Scimmia wrote:
    AlexCogn wrote:When I do that Windows just starts.
    Then you didn't install grub to the MBR. Don't forget, installing the package isn't enough, you actually have to install grub to sda as a separate step.
    So
    # grub-install --target=i386-pc --recheck /dev/sda
    # cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
    and then
    # grub-mkconfig -o /boot/grub/grub.cfg
    I forgot the installation ... I'm trying it in half an hour, thanks already for you help guys!

  • HT5628 i was installing windows 8 on mac by boot camp and after i put the windows code and choose the partition i formatted the boot camp sector it said windows can not install on this sector because it is gpt

    i was installing windows 8 on mac by boot camp and after i put the windows code and choose the partition i formatted the boot camp sector it said windows can not install on this sector because it is gpt

    Reinstalling Mavericks depends on several factors:
    if you erased your recovery partition
    what OS originally came on your Mac.
    I'll assume you don't have a backup available that you made before your mishap,  because you didn't mention it.
    That's really the take home message here: have a backup!
    If you still have your recovery partition:
    boot into the recovery partition (command R at restart)
    use the recovery partition to reinstall Mavericks. see: OS X: About OS X Recovery
    if you do not still have your recovery partition, then it depends on whether your Mac originally came with installer disks or not.
    If it originally came with installer disks, you would boot from the installer disks, erase your HD, and then reinstall the OS that is on the installer disks, and then upgrade as necessary until you get to Mavericks.
    If your mac did not originally come with installer disks, but you managed to erase your recovery partition, then you can try to boot into internet recovery (option-command-R at restart), and use internet recovery to erase your HD and reinstall the OS that originally came with your computer, and then upgrade to Mavericks if you need to. See: Hands on with Mountain Lion's OS X Recovery and Internet Recovery | Macworld
             (the reference refers to ML but it applies just as well to Mavericks).

  • [SOLVED] My /home and /boot partition show on my desktop; not mounted

    I'm guessing these two fie systems aren't mounted  and the computer is seeing them as separate volumes?
    So I guess I made a mistake during the install. This kind of explains a few things because when updating my kernel GRUB wasn't being updated as if the /boot partition wasn't mounted. I had to completely reinstall GRUB to have it point to the right kernel.
    Is there a way to fix this and get these mounted how they need to be? Probably something with my fstab file?
    When I installed I mounted my root, created /mnt/boot and /mnt/home, then mounted those to their own partitions that I had created.
    I generated my fstab and checked it, and everything looked fine. I just don't know why everything else is just fine, but /boot and /home aren't mounted?
    My partition scheme is GPT and looks like
    /dev/sda1 -- bios boot
    /dev/sda2 -- /boot
    /dev/sda3 -- /
    /dev/sda4 -- /swap
    /dev/sda5 -- /home
    I used UUIDs if that makes any difference.
    Thanks.
    Last edited by stevenmw (2014-11-06 16:41:12)

    All right. I did what bstaletic said, and performed option 3 of his suggestions. My fstab file is restored but now when I start lightdm I get to my login screen, login, and have a black screen with just a cursor. All I did was run the install media, mount each partition (starting with root first). Then I turned my swap on.
    After that, I ran
    genfstab -U -p /mnt > fstab
    I checked the fstab file, it looked like this
    # /dev/sda3
    UUID=c2d39ee2-e1c4-4989-9937-91fad2951d67 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sda2
    UUID=9cd92417-c4c0-40c7-9de3-3b65b896e36b /boot ext2 rw,relatime 0 2
    # /dev/sda5
    UUID=db8633d3f-0cb2-49dc-9792-356ad37ace58 /home ext4 rw,relatime,data=ordered 0 2
    # /dev/sda4
    UUID=00d4f1cd-cc6c-4dd3-B4c7-67da333205ea none swap defaults 0 0
    So I unmouted everything and turned swap off and went back into my system. The fstab file matched the output above. I started lightdm so i could get into xfce to see if the volumes were no longer on my desktop. However, now I get a black screen with a cursor. I let it sit for a while, but I ended up going into a tty and rebooting. Same issue. Black screen and cursor. I can see and login to lightdm just fine, but not my xfce DE.
    I did try reinstalling lightDM and xfce4 and xfce4-goodies. Not xorg though. I'll try reinstallign it and see what that does.
    Last edited by stevenmw (2014-10-15 20:01:51)

  • Can't see boot partition using Nautilus [SOLVED]

    I have a separate boot partition, ext2, sda10, for my Arch install. However, I can't browse in with Nautilus from my Arch install. I can with my Ubuntu installs on this computer though. I have tried with both regular and root users.
    My Arch install uses sda10,11,12 for boot, root, and home.
    [jeff@Arch2009p2 ~]$ mount
    /dev/sda11 on / type ext3 (rw)
    none on /dev type ramfs (rw,relatime)
    none on /proc type proc (rw,relatime)
    none on /sys type sysfs (rw,relatime)
    /dev/sda10 on /boot type ext2 (rw)
    /dev/sda12 on /home type ext3 (rw)
    /dev/sda6 on /media/sda6 type ext3 (rw)
    /dev/sda7 on /media/sda7 type ext3 (rw)
    /dev/sda8 on /media/sda8 type ext3 (rw)
    /dev/sda9 on /media/sda9 type ext3 (rw)
    none on /dev/pts type devpts (rw)
    gvfs-fuse-daemon on /home/jeff/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=jeff)
    Any ideas what I'm doing wrong?
    Last edited by jeff story (2009-06-24 20:57:08)

    sda10 is already mounted.
    [root@Arch2009p2 jeff]# mount /dev/sda10 /mnt
    mount: /dev/sda10 already mounted or /mnt busy
    mount: according to mtab, /dev/sda10 is already mounted on /mnt
    [jeff@Arch2009p2 ~]$ mount
    /dev/sda11 on / type ext3 (rw)
    none on /dev type ramfs (rw,relatime)
    none on /proc type proc (rw,relatime)
    none on /sys type sysfs (rw,relatime)
    /dev/sda10 on /boot type ext2 (rw)
    /dev/sda12 on /home type ext3 (rw)
    /dev/sda6 on /media/sda6 type ext3 (rw)
    /dev/sda7 on /media/sda7 type ext3 (rw)
    /dev/sda8 on /media/sda8 type ext3 (rw)
    /dev/sda9 on /media/sda9 type ext3 (rw)
    none on /dev/pts type devpts (rw)
    gvfs-fuse-daemon on /home/jeff/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=jeff)
    /dev/sda10 on /mnt type ext2 (rw)
    Last edited by jeff story (2009-06-24 20:35:03)

  • [solved] Encrypted root partition decrypts, not recognised on boot

    Hello everyone
    As per the wiki entry on system encryption with LUKS, I have an unencrypted boot partition (sda1) and a second encrypted partition (sda2) containing everything else, including root. This is on an eeepc 901 (I'm posting here, though, as I understand this as a mounting issue rather than laptop/netbook specific).
    I have just done a full system upgrade, including moving to kernel 2.6.34-ARCH. Now, although I am prompted for the passphrase, which is accepted. I subsequently see the following:
    ::Checking Filesystems [BUSY] fsck.ext2: No such file or directory while trying to open /dev/mapper/root
    /dev/mapper/root:
    The superblock could not be read or does not describe a correct ext2 filesystem.
    If the device is valid and it really does contain an ext2 filesystem (and not swap or
    ufs or something else), then the superblock is corrupt, and you might try running
    e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
    Runnig ecfsck -b 8193 /dev/mapper/root simply results in that error message being repeated. Googling and searching the forum only really found this thread to be anything similar. As per the suggestions there, the encrypted partition is last in /etc/fstab and the <options> value is populated:
    /dev/sda1 /boot ext2 defaults 0 1
    /dev/sdb1 /mnt/sdb1 vfat rw #This is an sdhc card permanently inserted
    /dev/mapper/root / ext2 defaults 0 1
    /etc/crypttab is entirely commented out, as it advises the root partition needs to be defined in the initramfs.
    I can decrypt and open the partition using systemrescuecd, and fsck confirms the partition is clean. Equally, I can access the decrypted partition from the maintenance shell I get dumped into.
    I'd be very grateful for any suggestions.
    Last edited by Sagittar (2010-07-17 03:40:49)

    Thanks for responding. I can confirm /dev/sda2 is ext2: after mounting both partitions with the -r flag, df -T reports ext2 file systems. (The theory is that ext2 helps prolong the life of the SSD in the eee pc. Not that that's entirely relevant here.)
    I can't see a way of booting off sysresccd with root=/dev/sda2 without decrypting /dev/sda2 first. I am able to do that from Grub. Is there something I'm missing?
    However, when I pay more attention to what happens on sysresccd when I decrypt the partition, I get the following:
    % cryptsetup luksOpen /dev/sda2 root
    Enter passphrase for /dev/sda2:
    device-mapper: remove ioctl failed: Device or resource busy
    Key slot 0 unlocked.
    So, although I can then mount /dev/sda2 (or, to be precise, /dev/mapper/root) as normal, my guess is that the third line is a big clue as to why my normal boot process fails. I am pursuing that now.

  • [SOLVED] boot partition does not output on genfstab.

    I have installed Arch Linux 5 or 6 times and even had desktop environments. This is a first for this to happen. I do not have a way to copy and paste so I cannot reproduce all code.
    I have 4 partitions. They are:  /, home, boot, and swap. This is new for me and I am a bit confused. I did a search and found this, but no luck for me.
    https://bbs.archlinux.org/viewtopic.php?id=118114
    Unfortunately, this is not helping me, or I just do not see it.
    The root, the home and the swap partition output normally. It looks like this:
    # /dev/sda2
    UUID=**************************** / ext4 rw,relatime,data=ordered 0 1
    # /dev/sda4
    UUID=**************************** /home ext4 rw,relatime,data=ordered 0 2
    # /dev/sda3
    UUID=**************************** none swap defauults 0 0
    The boot partition is just not there. So i did this:
    lsblk -f | grep sda1
    and appended the UUID from this output to the fstab and made a new fstab listing.
    The boot partion of fstab reads:
    # /dev/sda1
    UUID=lots_of_alpha_numbers /boot ext4
    My questions:
    How do I know what options to add for the boot partition?
    Why would cause this not to show up?
    What options do I put for /boot - the same as / and /home (rq,relatime,data=ordered)?
    What order should the /boot partion load? All other installs it did root as 1, home as 2 and boot as 2.
    I have installed Arch Linux successfully at least 5 times and never had this issue. So I am wondering If manually adding this is covering up a bigger problem.
    Last edited by AcousticBruce (2015-05-18 17:11:22)

    I want to make clear what happened. Because I made the same mistake again, it dawned on me what is happeneing.. I went back to the wiki and found that it was there all along.
    After creating the partitons I made 2 directories.
    # mkdir -p /mnt/boot
    # mkdir -p /mnt/home
    And here is where MY mistake was...
    # mount /dev/sda1 /mnt/boot
    # mount /dev/sda4 /mnt/home
    # mount /dev/sda2 /mnt
    What happened,  because of the ORDER that I mounted, the mount points of /mnt/boot and /mnt/home were comprimized and because they are subdirectories of /mnt. I got careless because I was getting good at installing Arch without the wiki and because I did not understand a fundemental of the system it was messed up.
    I went back after I figured out my problem and saw that the mount and partitons wiki was useful and would have prevented if I was a bit more observent.
    It clearly states: "The / (root) partition must be mounted first: this is because any directories such as /boot or /home that have separate partitions will have to be created in the root file system. The /mnt directory of the live system will be used to mount the root partition, and consequently all the other partitions will stem from there. If the root partition's name is sdxR, do: 
    This was a good learning experience for me.

  • Lost data on /boot partition [solved]

    Lost data on /boot partition. Is there a way to recover it with Archlinux CD?
    Last edited by primez (2010-04-08 18:45:53)

    i think the easiest is to chroot into your installation, and then do a pacman -S kernel26

  • Boot partition wiped out - how to recreate grub's files [SOLVED]

    Boot partition got wiped out on my system. 
    /dev/sda1 #root
    /dev/sda2 #boot
    /dev/sda3 #swap
    /dev/sda4 #home
    I'm in an ubuntu live CD and doing this via VNC.  I am chrooted into /dev/sda1 (arch) and I have mounted /boot and regenerated the kernel images.  There is a /boot/grub/menu.lst and a /boot/grub/system.map but that's it.  If I look at my functional system (another pc) I see a ton of extra grub files:
    $ ls /boot/grub
    fat_stage1_5 stage1 xfs_stage1_5
    ffs_stage1_5 minix_stage1_5 stage2
    default iso9660_stage1_5 more.lst stage2_eltorito
    device.map jfs_stage1_5 reiserfs_stage1_5 ufs2_stage1_5
    e2fs_stage1_5 menu.lst splash.xpm.gz vstafs_stage1_5
    How can I get them back?  I thought that a pacman -S grub would do it, but nothing...??
    Last edited by graysky (2010-05-16 16:51:10)

    *!@*  I must have read that page 3 times over and missed that 3 times over.  Thank you!
    EDIT: made the wiki article a little more obvious!
    Last edited by graysky (2010-05-16 16:55:41)

  • [SOLVED] Setting default boot partition on Macbook Pro w/ no dual boot

    I'm trying to install Arch on a new Macbook Pro 13", but I fear I've become somewhat confused by all the instructions in the wiki.
    I have no interest in dual booting, so I left the mac's existing boot and recovery partitions alone and set up a new filesystem and boot partition. I installed rEFInd on the new boot partition and ran refind-install successfully. Installing Arch seemed to go perfectly as well.
    My issue is that when I reboot the computer, it still tries to boot from the original boot partition, which fails because OS X is no longer installed. Does anyone have anyone idea how I boot from the rEFInd partition instead?
    Last edited by whitebrice (2015-05-31 04:31:21)

    Thanks for the quick reply. I tried deleting  the original boot partition, but I still had my problem. I ended up wiping all the existing partitions and trying again with gummiboot instead of rEFInd. It works now.

Maybe you are looking for

  • Delete video from iPod touch

    So i was experimenting with the iPod touch and I noticed you can delete videos directly from the iPod. 1) Access Videos 2) swipe finger from left to right across the name of a single video (groups wont work) 3) Delete Command Will appear in red My qu

  • Customer Statement and DI API Invoices

    Hi, We are running SAP Business One 2007A PL5. We have a number of invoices that have been created by the DI API used by the Radio Beacon/SAP interface.  These invoices are not appearing on the customer statement. The only noticable difference in the

  • Getting Error ORA-06550

    I am created a web service on top of complex type PL/SQL API, I am trying to test the service by passing all the parameters, but I am running into the following errorr i have checked all the APIS are valid only <?xml version="1.0" encoding="UTF-8"?>

  • HT204302 Problem Downloading one episode

    Have current iTunes - Windows 7. Downloaded all of Season 2 - Downton Abbey - Episode 6 WILL NOT download in HD  "Error 50"  - Tried everything suggested on support - Nothing woeks. Exceedingly frustrating. Help if you please??!! Thanks!

  • Why does mail auto send a blank reply?

    Why does Mail auto-send a blank reply to every new email I receive?