Linux Partitions  - tmpfs

We have installed oracle linux 5.x using the custom partitioning and the OS installation was successfully completed and we were able to access the Linux OS without any issues.
But, while observing the /etc/fstab file, it has an additional partition entry which we have not created during the custom partition.
Why this below partition was created and purpose:
tmpfs /dev/shm tmpfs defaults 0 0
# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/u01 /u01 ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/swap /swap ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
[root@nfs-stg-db1 ~]#
Becuse of this OS additional partition the Oracale Database Alert Log file reporting ORA-07445 errors.
Please advise.

Thanks for your respose..
But we have commented this line in /etc/fstab file and re-booted the machine. Then restared the oracle database and the application without any issues and we are not receiving the ORA-07445 errors in database alert log file. Please check the oracle metalink note ID 1191471.1
#tmpfs /dev/shm tmpfs defaults 0 0
and now applicaiton is working fine without any issues.
Cause
You have set additional mount options on the shared memory device, /dev/shm, other than just the option named defaults.
Solution
If you see any other mount options in file /etc/fstab after the word "defaults" for /dev/shm,
such as nosuid, nodev, or noexec:
none /dev/shm tmpfs defaults,nosuid,nodev,noexec 0 0
then remove these options from the entry in /etc/fstab:
none /dev/shm tmpfs defaults 0 0
shut down the database instance, and reboot the system. Restart the database instance. The errors should no longer appear.
After executing the above action plan the issue has been resolved.
But our concern is, what this partition and why its created automaticall? if this partition is created automatically, it should also handle the oracle database.
Appreciate your advice.

Similar Messages

  • Lenovo G460 Windows 7 One Key Recovery with a Linux Partition

    Hi All,
    I recently bought a Lenovo G460 Notebook and installed linux on it to dual boot with WIndows 7. There was a problem with sound which I got fixed and everything is working fine now.
    My question is:
    Will me linux partition be there as it is If I recover the windows 7 partition using one key recovery?
    How to create a rescue disk from One key recovery?
    Thanks in advance.

    Hi nilankaraja,
    To create a rescue disk :: http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/onekey_recovery_46_user_guide.pdf
    On part of the Linux partition, are you asking if the partition will be saved ? Or is it something else?
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Grub & error trying to boot other linux partition

    My 40 gig hard drive is partitioned like this
    hda1 = Arch Linux partition (XFS file system, Grub installed to MBR)
    hda5 = swap partition for Arch
    hda6 = Vector Linux partiton (Reiser file system, LILO installed to superblock)
    hda7 = swap partition for Vector
    Here is my Grub menu.1st
    menu.lst            [B---] 51 L:[  1+40  41/ 41] *(1251/1251b)= <EOF>
    # Config file for GRUB - The GNU GRand Unified Bootloader
    # /boot/grub/menu.lst
    # DEVICE NAME CONVERSIONS
    #  Old /dev    DevFS                    Grub
    #  /dev/fd0    /dev/floppy/0            (fd0)
    #  /dev/hda    /dev/discs/disc0/disc    (hd0)
    #  /dev/hdb2   /dev/discs/disc1/part2   (hd1,1)
    #  /dev/hda3   /dev/discs/disc0/part3   (hd0,2)
    #  FRAMEBUFFER RESOLUTION SETTINGS
    #     +----------------------------------------+
    #          | 640x480 800x600 1024x768 1280x1024
    #      ----+-----------------------------------
    #      256 |   0x301   0x303    0x305     0x307
    #      32K |   0x310   0x313    0x316     0x319
    #      64K |   0x311   0x314    0x317     0x31A
    #      16M |   0x312   0x315    0x318     0x31B
    #     +----------------------------------------+
    # general configuration:
    timeout   10
    default   0
    color light-blue/black light-cyan/blue
    # boot sections follow
    # each is implicitly numbered from 0 in the order of appearance below
    # (0) Arch Linux
    title  Arch Linux  [/boot/vmlinuz26]
    root   (hd0,0)
    kernel /boot/vmlinuz26 root=/dev/discs/disc0/part1 ro
    # (1) Vector Linux
    title Vector Linux  [/boot/vmlinuz]
    root   (hd0,5)
    kernel /boot/vmlinuz root=/dev/discs/disc0/part6 ro
    The problem is I can't get Vector to boot. The "Uncompressing Linux" message is follwed by all the usual messages and then at the end thses lines pop up.
    VFS: cannot open root device "discs/disc0/part6" or 00:00
    please append a correct "root=" boot option
    Kernel panic:VFS: unable to mount fs on 00:00
    I have tried changing the grub parameters to try .../part7 and ....part5 but part7 should be the swap so that won't work naturally.
    Both had1 and hda6 are set as bootable btw.
    Can I get some insight as to what I am doing wrong???

    No problem.  I am glad I was able to help. 
    FYI,  In the grub entry for Vector you used the devfs (Arch) style (/dev/discs/disc0/partx) to define the root partition instead of the older dev system (/dev/hdax) that Vector expected.  Besides that there was nothing wrong with your grub entries.

  • TV on demand not working with FF on XP partition works fine with iexplorer or on Linux partition?

    I have been use firefox on XP and Linux for years and I watch and listen to the BBC iplayer as well as four on demand, five on demand ect. a few days ago this just stopped working.
    At first I thought it was the iplayer not working but tried looking at other site and they are not working. Youtube is fine though.
    When I switched to my Linux partition it works fine then I tried iexplorer and the sites works fine.
    I have explored at length for answers online and the only thing I have come up with is 'Npdsplay dll' plugin for FF but I appear to have the latest version.
    Should I try one of the fix tools online I am always a bit dubious about these downloads?
    Cheers Tony.

    There are a number of active threads concerning the latest Flash player plugin (11.3) and the latest Firefox (13). Not all users are experiencing the same issues, but things to check include the following:
    - Conflict with Realplayer Browser Record plugin (to disable this, open Add-ons from the orange Firefox button or the classic Tools menu and look under the Extensions and Plugins categories)
    - Conflict with Flash 11.3 Protected Mode (see [http://forums.adobe.com/thread/1018071?tstart=0 Adobe Forums: How do I disable Flash Player's protected mode for Firefox?])
    Scanning down the front of the forums probably will yield additional suggestions: https://support.mozilla.org/en-US/questions
    Please post back with your results.

  • How to give linux partition mackbook's drivers

    my problem is that I got a partition with linux and I CAN'T install drivers from installation Cd becouse there's no way to open .exe files by ubuntu...
    I would like to know HOW can I install macdrivers into linux partition.

    Hi Teugon,
    Apple offers two types of installer package types:
    .dmg - For Mac OS
    .exe - Windows XP/Vista/7
    Apple doesn't offer 3rd party support (.deb) for Linux nor is that recognizable OS for Boot Camp. So yes, I think your Linux related question would be better served via the countless number of communities that exist on the Internet. Besides, the previous posters above were just trying to help. Had the original question been phrased clearly perhaps there wouldn't have been such confusion. In a few seconds I was able to find all sorts of links regarding how to setup Linux on a Mac. Here's an example of one - http://sowerbutts.com/linux-mac-mini/

  • Linux Partitions

    Hello,
         I am a newbie to linux and need some basic help.  I have installed Oracle Linux and now want to create some virtual drive on my partitioned hard drive.  When I try to use fdisk I am getting no more sectors available on the 500 gig hard disk.  This should not be the case.
    This is the result of fdisk -l:
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x000372b3
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1          64      512000   83  Linux
    Partition 1 does not end on cylinder boundary.
    /dev/sdb2              64       60802   487873536   8e  Linux LVM
    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 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: 0xe37e2acd
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1      119817   962423808    7  HPFS/NTFS
    /dev/sda2          119817      121602    14336000    7  HPFS/NTFS
    Disk /dev/mapper/vg_oraclelinux-lv_root: 53.7 GB, 53687091200 bytes
    255 heads, 63 sectors/track, 6527 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x00000000
    Disk /dev/mapper/vg_oraclelinux-lv_swap: 8371 MB, 8371830784 bytes
    255 heads, 63 sectors/track, 1017 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x00000000
    Disk /dev/mapper/vg_oraclelinux-lv_home: 161.1 GB, 161061273600 bytes
    255 heads, 63 sectors/track, 19581 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x00000000

    I recommend some basic reading.  Partitioning with fdisk (old but good).  What you posted though clearly shows you used all of the /dev/sdb drive.  /dev/sdb2 starts on cylinder 64 and ends on 60802.  Oddly enough, that's one cylinder past the max and I don't usually see that.  Since /dev/sdb2 is using all the space, and you think you should have more then you need to use the LVM commands, you no longer should be thinking at the disk partition level.  Try running "pvs" and "vgs" to see what your volume manager devices are saying.  You may have space to create a new logical volume, which you would do with "lvcreate".
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x000372b3
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1          64      512000   83  Linux
    Partition 1 does not end on cylinder boundary.
    /dev/sdb2              64       60802   487873536   8e  Linux LVM

  • Removing Linux Partitions

    I installed linux on a separate partition and was dual booting it. For some reason it also created a huge number of extra partitions. Now after deleting the main linux partition it won't let me delete the other partitions (I'm actually not sure which are
    windows 8 partitions). Is there any way to extend the "C" drive to fill the unallocated space (as seen in the picture)? Which of the drives are necessary?
    Note: The extend drive option in DISKMGMT.MSC is grayed out, as far as I can tell this is because they are not next to each other. Is there a way to rearrange it?

    Hi,
    As I know, It won't be labeled since Windows doesn't understand the Linux file system, so you'll need to figure out which one it is by size and where it is on your hard drive. But, you can identify the Linux partitions because they have no label under the
    “File System” column, while Windows partitions will be identified by their “NTFS” file system.
    Since you can't extend the volume, you may also choose to create a new, separate partition instead of expanding your current Windows partition, if you like.
    And, I would like to suggest you try the steps from the link below to fix the issue:
    How to Uninstall a Linux Dual-Boot System From Your Computer
    http://www.howtogeek.com/141818/how-to-uninstall-a-linux-dual-boot-system-from-your-computer/
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Hope it helps.
    Regards,
    Blair Deng
    Blair Deng
    TechNet Community Support

  • Need my files on a damaged linux partition from Mac OS X

    Hi everybody !
    Just got my new MacBook Pro 15 inches today and it is absolutely great. I have problems transferring my documents from linux to my mac. I tried ext2fsx, but I have a critical error. I guess this is the same as for windows, meaning that it was badly unmounted under linux due to a brutal shut down. I cannot repair the linux partition because my other computer is really dead. Any idea how to fix this under mac os x ?
    Thanks in advance,
    D

    I did not suggest this because I was uncertain if Apple had changed fsck to work only with HFS file systems. If it works with other unix file systems that would be an nice easy way to check the disk out.
    regards

  • Intell 945GTP NIC and SATA support, Zen 4.01 ir4a linux partition

    We are in DESPERATE need of drivers that will recognize the NIC and SATA
    drives on an Intel 945GTP motherboard. Also, it needs to work via the
    locally installed linux partition. (no PXE or boot cd)
    We are using ZFD4.01 ir4a release.
    Any help is greatly appreciated!!!!

    On Wed, 04 Apr 2007 14:57:46 GMT, Dan B wrote:
    > Any help is greatly appreciated!!!!
    I doubt that this will work, but try ir5 and go to forge.novell.com
    zfdimgdrv to see if you can get support there..
    otherwise you would need to get a hacked version of the zdm 7 stuff or even
    higher..
    If you have already compiled drivers or have linux.2 please put them on
    http://forge.novell.com/modules/xfmo...ect/?zfdimgdrv
    Live BootCd and USB Disk from Mike Charles
    http://forge.novell.com/modules/xfmod/project/?imagingx
    eZie http://forge.novell.com/modules/xfmod/project/?ezie
    Marcus Breiden
    If you are asked to email me information please change -- to - in my e-mail
    address.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

  • Remove rEFIT Linux partition

    Hello, I installed linux usign rEFIT correctly, but now I want to remove the partition and combine the Linux and the Linux swap partition back into the whole partition. If you were wondering why I want to uninstall it, I just wanted to use a Virtual Machine to run Linux, because that is what I was advised to do recently, instead of dual botting. So, I was wondering if anyone knows how to simply combine the partitions and remove the Linux Partition off of my computer.
    Thanks,
    John Short

    I just wanted to use a Virtual Machine to run Linux, because that is what I was advised to do recently, instead of dual booting.
    Smart decision, that's exactly what I recommend as well.
    Jt's rare that one will need the full hardware performance of Linux on a Mac, and if so, then it's better direct installed on a PC.
    Apple doesn't make it easy to install Linux, nor provides the hardware drivers for it. So someone has to hack those and since Apple has went all AppStore crazy...
    anyway.
    Install Windows or Linux into VirtualBox
    Jshortz wrote:
    Hello, I installed linux usign rEFIT correctly, but now I want to remove the partition and combine the Linux and the Linux swap partition back into the whole partition.
    So, I was wondering if anyone knows how to simply combine the partitions and remove the Linux Partition off of my computer.
    With rEFIt it hasn't been updated in ages, there is another like EFI program that has taken over their function in that area.
    http://refit.sourceforge.net/
    The uninstall instructions to remove the EFI program from your EFI firmware parittion is here, but like the rest it hasn't been updated since Snow Leopard days back in 2011. So it's unknown how things will go with Lion, Mountain Lion or Maverick.
    You should FOR SURE, clone your OS X partition to a external JHFS+ (GUID OS X Extended Journaled) drive using Carbon Copy Cloner, which you can then hold option/alt key and boot from it (provided your EFI firmware is still working. LOL.  (but you can still direct access files from another Mac, or Windows with MacDrive or Linux)
    Make a bootable clone of your boot drive
    Create a data recovery/undelete external boot drive
    http://refit.sourceforge.net/doc/c1s3_remove.html
    You likely should also create a EFI firmware restore cd, this will return the at boot key commands at the second attempt to boot the machine after the firmware has been applied.
    Get your model identifier correct (OS X System Profiler or Apple's Hardware Test)
    http://support.apple.com/kb/ht1509
    and download (on another Mac) the correct firmware: https://support.apple.com/kb/HT1237
    Apply using these instructions: http://support.apple.com/kb/HT2213
    Now you should be WAY overprepared for nearly anything.
    As you should know, EFI is a firmware partition, and programs like rEFIt can be installed there and then are loaded (second boot) into NVRAM (I believe.)
    Once rEFIt is removed, you use the option/alt keys at boot to use Startup Manager to get into OS X (f you have it)

  • Habe ein Laptop mit Windows 7. Dieses hat einen Quick Web Access über kleine Linux Partition. Wie kann ich dort den Splashtop Browser updaten?

    Mein Laptop Sony Vaio VPCSB1V9E läuft unter Windows 7. Der Quick WEB Access läuft mit einer kleinen Linux Partition. Wenn ich eine Update-Datei von Mozilla Firefox (Splashtop) auf einen USB-Stick ziehe, dann kann ich diese nicht entpacken, da ich ja nur eine extrem abgespeckte Linux-Version habe. Der "normale" Rechner läuft unter Windows 7, wo ich eine Linux-Datei auch nicht entpacken kann. Was kann ich tun, um den Splashtop-Browser abzudaten?

    Ich habe das gleiche problem....ich hoffe auf eine schnelle loesung...

  • Updating from Win 10 TP build 9926 to build10049 will destroy linux partitions

    hi, i have a grub2 dual boot test system sucessfully running on a 128GB SSD drive with two OS:
    Windows 10 Technical Preview x64 en-us build 9926 on one 64GB partition and
    Ubuntu 14.04.2 LTS Desktop x64 en-us on the last part of 64GB (GRUB Boot Manager Partition, ~48GB EXT4 root partition ,16GB SWAP partition)
    everything was running well side by side.
    then i tried to update Windows 10 technical preview 9926 to build 10049, by the Windows update (Settings -> Update & Recovery).
    during the Installation (after first boot to initiate the Installation 0%..20%) the "updater" was creating an additional ~500MB hidden WinRE partition, unfortunately by overriding the Linux partitions GRUB boot Manager partition and parts
    of the Linux ext4 root partition.
    PS.: booting is a BIOS based one (not UEFI)
    Questions:
    any idea, if it is possible to restore the Linux partitions (the parts that wasn't touched by the WinRE partition)
    how to prevent destroying existing Linux partitions when i try to redo the Installation and updating next time.

    Questions:
    any idea, if it is possible to restore the Linux partitions (the parts that wasn't touched by the WinRE Partition)
    update to 1.:
    only ~20% dataloss, i could rescue ~80% of the data, stored of the broken Linux Partition with use of a data forensic tool.
    so not a big deal, it was a test environment, but only annoying, that Windows has broken the Linux partitions without any warning.
    PS.: maybe it would be better, if Windows would not steal diskspace from other existing non Windows partitions.
    a better practice would be keep all partitions untouched, that is not involved by the win 10 update and shrink only the Win10 partition that is to being updateing by the ammount needed for the WinRE partition and only re-arange the partitiontable
    entries (add to primary or extendend table).
    so no data loss may occure - maybe the grub boot Manager will be a bit confused, but that can be solved easely.

  • [Solved] Can't boot arch after merge linux partition

    Before this i have issue with my partition table, but i can fix it with testdisk.
    After that, i merge all my linux partition into one. I mean like this
    Before i merge my linux partition:
    / >> /dev/sda3
    /var >> /dev/sda4
    swapfile >> /dev/sda6
    /home >> /dev/sda7
    My new partition
    / >> /dev/sda3
    swapfile >> /dev/sda6
    i can't boot my arch after i backup and moved my home and var directory to /dev/sda3 with livecd.
    How to fix this issue?
    Last edited by nizar (2009-03-28 04:18:29)

    Solved by myself! LOL
    I edit and remove /dev/sda4 and /dev/sda7 in my /etc/fstab file with livecd.
    Now, arch boot without /dev/sda4 and /dev/sda7

  • [SOLVED] (U)EFI dualboot Win7 Arch Linux - partitions gone - recovery?

    Hi everybody,
    I have a slight problem with my (U)EFI dualboot system (Windows 7 and Arch Linux) which used to be configured using rEFInd like it is described in my previous post:
    https://bbs.archlinux.org/viewtopic.php … 6#p1300356
    <EFI PARTITION> is /dev/sda1 and I used to boot via <EFI PARTITION>\EFI\Boot\Bootx64.efi which then successfully either loaded Windows or Linux kernel.
    Thanks to my own stupidity and a recent update of refind I decided to copy the new driver, font and icon folders to the <EFI PARTITION> in order to be up-to-date.
    After doing so, the rEFInd boot menu had a third icon which said "Boot via \EFI\Boot\Bootx64.efi" and if I clicked on it a second rEFInd boot menu appeared with only the two icons for Windows 7 and Arch.
    So I figured I could delete Bootx64.efi and ultimately did so, unfortunately. Afterwards I couldn't boot neither Windows nor Linux anymore.
    Following this I went through my noumerous USB boot sticks in order to be able to recover the Bootx64.efi. Unfortunately the first USB stick was a Windows XP one which has the plop bootloader alongside:
    http://www.plop.at/en/bootmanager/thebootmanager.html
    Out of couriousity I entered this bootloader and found HDA and HDB (I assume resembling my SSD and my USB stick).
    To my knowledge I didn't change anything but after entering the bootloader again I just found HDA left, HDB seemed to be gone. But I didn't think of anything bad happening yet.
    Then I found a working Archiso which I booted and using blkid I couldn't find the partitions of my earlier system anymore, only its device and the USB stick:
    /dev/sda: PTUUID="..." PTTYPE="gpt"
    /dev/sdb1: UUID="..." LABEL="ARCH_201312" TYPE="..." and so on
    /dev/sdb2: SEC_TYPE="msdos" and so on
    Even within the EFI shell I could not detect any internal drive anymore (only fs0: which is the USB stick)
    Using Archiso onboard tool testdisk I could find the old partitions. The correct result of the GPT from testdisk is:
    Fri Jul 4 08:45:25 2014
    Command line: TestDisk
    TestDisk 6.14, Data Recovery Utility, July 2013
    Christophe GRENIER <[email protected]>
    http://www.cgsecurity.org
    OS: Linux, kernel 3.12.1-3-ARCH (#1 SMP PREEMPT Tue Nov 26 11:17:02 CET 2013) x86_64
    Compiler: GCC 4.8
    Compilation date: 2013-08-06T08:42:31
    ext2fs lib: 1.42.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.0.5, ewf lib: none
    /dev/sda: LBA, HPA, LBA48, DCO support
    /dev/sda: size 500118192 sectors
    /dev/sda: user_max 500118192 sectors
    /dev/sda: native_max 500118192 sectors
    /dev/sda: dco 500118192 sectors
    Warning: can't get size for Disk /dev/mapper/control - 0 B - 1 sectors, sector size=512
    Hard disk list
    Disk /dev/sda - 256 GB / 238 GiB - CHS 31130 255 63, sector size=512 - Samsung SSD 840 PRO Series, S/N:S12RNEAD322171L, FW:DXM04B0Q
    Disk /dev/sdb - 2013 MB / 1920 MiB - CHS 1022 62 62, sector size=512 - SMI USB DISK, FW:1100
    Disk /dev/sdc - 4210 MB / 4015 MiB - CHS 1020 130 62, sector size=512 - Generic Flash Disk, FW:8.07
    Disk /dev/mapper/arch_root-image - 1478 MB / 1410 MiB - 2887680 sectors, sector size=512
    Disk /dev/dm-0 - 1478 MB / 1410 MiB - 2887680 sectors, sector size=512
    Partition table type (auto): Intel
    Disk /dev/sda - 256 GB / 238 GiB - Samsung SSD 840 PRO Series
    Partition table type: EFI GPT
    New options :
    Dump : No
    Align partition: Yes
    Expert mode : Yes
    Analyse Disk /dev/sda - 256 GB / 238 GiB - CHS 31130 255 63
    hdr_size=92
    hdr_lba_self=1
    hdr_lba_alt=500118191 (expected 500118191)
    hdr_lba_start=34
    hdr_lba_end=500118158
    hdr_lba_table=2
    hdr_entries=128
    hdr_entsz=128
    hdr_size=92
    hdr_lba_self=500118191
    hdr_lba_alt=1 (expected 1)
    hdr_lba_start=34
    hdr_lba_end=500118158
    hdr_lba_table=500118159
    hdr_entries=128
    hdr_entsz=128
    Trying alternate GPT
    Current partition structure:
    Trying alternate GPT
    search_part()
    Disk /dev/sda - 256 GB / 238 GiB - CHS 31130 255 63
    FAT32 at 0/32/33
    FAT1 : 4110-6150
    FAT2 : 6151-8191
    start_rootdir : 8192 root cluster : 2
    Data : 8192-2097151
    sectors : 2097152
    cluster_size : 8
    no_of_cluster : 261120 (2 - 261121)
    fat_length 2041 calculated 2041
    set_FAT_info: name from BS used
    FAT32 at 0/32/33
    MS Data 2048 2099199 2097152 [NO NAME]
    FAT32, blocksize=4096, 1073 MB / 1024 MiB
    NTFS at 146/251/42
    filesystem size 249593856
    sectors_per_cluster 8
    mft_lcn 786432
    mftmirr_lcn 2
    clusters_per_mft_record -10
    clusters_per_index_record 1
    NTFS part_offset=1209008128, part_size=127792054272, sector_size=512
    NTFS partition cannot be added (part_offset<part_size).
    NTFS at 146/251/42
    filesystem size 249593856
    sectors_per_cluster 8
    mft_lcn 786432
    mftmirr_lcn 2
    clusters_per_mft_record -10
    clusters_per_index_record 1
    MS Data 2361344 251955199 249593856
    NTFS, blocksize=4096, 127 GB / 119 GiB
    recover_EXT2: s_block_group_nr=0/160, s_mnt_count=1318/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
    recover_EXT2: s_blocksize=4096
    recover_EXT2: s_blocks_count 5242880
    recover_EXT2: part_size 41943040
    MS Data 251955200 293898239 41943040
    ext4 blocksize=4096 Large file Sparse superblock, 21 GB / 20 GiB
    recover_EXT2: s_block_group_nr=0/80, s_mnt_count=1317/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
    recover_EXT2: s_blocksize=4096
    recover_EXT2: s_blocks_count 2621440
    recover_EXT2: part_size 20971520
    MS Data 293898240 314869759 20971520
    ext4 blocksize=4096 Large file Sparse superblock, 10 GB / 10 GiB
    recover_EXT2: s_block_group_nr=0/706, s_mnt_count=1317/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
    recover_EXT2: s_blocksize=4096
    recover_EXT2: s_blocks_count 23156049
    recover_EXT2: part_size 185248392
    MS Data 314869760 500118151 185248392
    ext4 blocksize=4096 Large file Sparse superblock, 94 GB / 88 GiB
    Results
    P MS Data 2048 2099199 2097152 [NO NAME]
    FAT32, blocksize=4096, 1073 MB / 1024 MiB
    P MS Data 2361344 251955199 249593856
    NTFS, blocksize=4096, 127 GB / 119 GiB
    P MS Data 251955200 293898239 41943040
    ext4 blocksize=4096 Large file Sparse superblock, 21 GB / 20 GiB
    P MS Data 293898240 314869759 20971520
    ext4 blocksize=4096 Large file Sparse superblock, 10 GB / 10 GiB
    P MS Data 314869760 500118151 185248392
    ext4 blocksize=4096 Large file Sparse superblock, 94 GB / 88 GiB
    interface_write()
    1 P MS Data 2048 2099199 2097152 [NO NAME]
    2 P MS Data 2361344 251955199 249593856
    3 P MS Data 251955200 293898239 41943040
    4 P MS Data 293898240 314869759 20971520
    5 P MS Data 314869760 500118151 185248392
    simulate write!
    TestDisk exited normally.
    ext4 blocksize=4096 Large file Sparse superblock, 94 GB / 88 GiB
    Now the question is: Can I - using testdisk or any other tool - recover those partitions successfully so I will be able to boot again afterwards? I tested and I could mark them as:
    P Primary
    Any help will be greately appreciated.
    Best regards
    Last edited by blablubb1234 (2014-07-08 09:20:08)

    Issue resolved If you care to know how, read on:
    Looking at the disk using gdisk was doing no good. Neither of the recovery options in gdisk did the trick.
    I then returned to testdisk and restored the partitions (successfully). However, afterwards I was greeted by shell telling me the root device was not found (seems like UUIDs get changed when one restores them using testdisk). Adjusting the PARTUUID for root in <EFI SYSTEM PARTIITION>/boot/refind_linux.conf did the trick and I could boot up Archlinux again.
    Windows 7 still didn't boot telling me the required device was inaccessible (probably wrong UUID, too). I could however not restore/edit Windows' BCD using bcdedit, see my post Status: 0xc0000225 boot selection failed; required device inaccessible:
    To make a long story short: Removing bcd and running autorecovery from withing Windows RE successfully created a new bcd. Unfortunately, Windows writes its backup bootloader at <EFI SYSTEM PARTITION>/boot/EFI/Boot/bootx64.efi. This file originally was a copy of refind_x64.efi which I need to put at that location to be able to dualboot. After chrooting to my Arch system I could restore bootx64.efi, create a new fstab and everything is running fine now again.
    Best regards and thanks for the help.

  • Arch Linux Partitions And Filesystems

    Hi everyone!
    I'm pretty much new to Linux having used Ubuntu about 2 years back. Recently I've been looking to get a better understanding of the system and wanted to try out a different distro. I searched around and came across Arch. I really liked the principle on which this distribution is based and  have decided to give it a go.
    I have 2 SATA HDDs in my system.
    1. 1TB Seagate --> Windows 7
    2. 160GB Seagate --> Windows XP
    I want to install Arch on the 160GB HDD. I'll remove XP and the entire HDD will be for Arch.
    What I would like to know is the partitions that I should create. Should I go with /boot, /, /var, /usr, /home, /temp? Or lesser number of partitions?
    What sizes should they be?
    And which ones should be primary and which ones extended, if at all? What file systems should I use for the different partitions? (I had been considering ext4,  XFS and Reiser.) It would help if someone would direct me to the appropriate ones for each partition.
    Also, I could not understand the difference between the /usr and /home directories. What are their uses? Where do my programs (obtained through Pacman or otherwise) get installed?
    Any help is greatly appreciated.
    Thank you.

    According to the wiki:
    / (root) The root filesystem is the primary filesystem from which all other filesystems stem; the top of the hierarchy. All files and directories appear under the root directory "/", even if they are stored on different physical devices. The contents of the root filesystem must be adequate to boot, restore, recover, and/or repair the system. Therefore, certain directories under / are not themselves candidates for separate partitions. (See warning below).
    /boot This directory contains the kernel and ramdisk images as well as the bootloader configuration file, and bootloader stages. /boot also stores data that is used before the kernel begins executing userspace programs. This may include saved master boot sectors and sector map files. /boot is essential for booting, but is unique in that it may still be kept on its own separate partition (if required).
    /home User data and user specific configuration files for applications are stored in each user's home directory in a file that starts with the '.' character (a "dot file").
    /usr While root is the primary filesystem, /usr is the secondary hierarchy, for user data, containing the majority of (multi-)user utilities and applications. /usr is shareable, read-only data. This means that /usr shall be shareable between various hosts and must not be written to, except in the case of system update/upgrade. Any information that is host-specific or varies with time is stored elsewhere.
    /tmp directory for programs that require temporary files such as '.lck' files, which can be used to prevent multiple instances of their respective program until a task is completed, at which point the '.lck' file will be removed. Programs must not assume that any files or directories in /tmp are preserved between invocations of the program and files and directories located under /tmp will typically be deleted whenever the system is booted.
    /var contains variable data; spool directories and files, administrative and logging data, pacman's cache, the ABS tree, etc. /var exists in order to make it possible to mount /usr as read-only. Everything that historically went into /usr that is written to during system operation (as opposed to installation and software maintenance) must reside under /var.
    I really don't see the difference between usr and home on a typical Linux install, especially if you're the only person using the PC.
    As for the other storage partition, I am using a primary NTFS partition for storage. I am using NTFS because I have access to the partition inside Windows and Linux, which makes swapping files around easy and I can use all of my Windows files in Linux and vice-versa.

Maybe you are looking for