Bootarchive corrupt, how to mount SATA root disk in failsafe?

I have a HP DL385 with 4 SATA drives, the machine crashed today for unknown reason and rebooting was not possible since the boot-archive got corrupted.
I booted into failsafe, I get a prompt but I also get
"No installed OS instances found".
Apparently the SATA driver I loaded from a separate disk during the installation is not part of the failsafe kernel.
How do I get the boot-archive repaired? Is there any way?
Any hints are very appreciated.
Markus

This is sort of a guess:
Maybe the SATA driver might be loaded if you boot from the
Solaris installation CDs or DVD. Then maybe you could exit
to a shell prompt, and try running:
bootadm update-archive

Similar Messages

  • How to mount SATA Ntfs Partitions on Arch Linux

    Please help me mounting sata ntfs partitions.
    Here is my fdisk -l :
    [kaola@ArchHost ~]$ sudo fdisk -l
    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x020e020e
    Device Boot Start End Blocks Id System
    /dev/sda1 1 371 2980026 82 Linux swap / Solaris
    /dev/sda2 * 372 2803 19535040 83 Linux
    /dev/sda3 2804 6450 29294527+ 83 Linux
    /dev/sda4 6451 6463 104422+ 83 Linux
    Disk /dev/sdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xd7a23d33
    Device Boot Start End Blocks Id System
    /dev/sdb1 2 5875 47182905 5 Extended
    /dev/sdb2 * 5876 9139 26218080 7 HPFS/NTFS
    /dev/sdb5 2 3918 31463271 7 HPFS/NTFS
    /dev/sdb6 3919 5875 15719571 7 HPFS/NTFS
    Disk /dev/sdc: 4043 MB, 4043308544 bytes
    255 heads, 63 sectors/track, 491 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00050ebd
    Device Boot Start End Blocks Id System
    /dev/sdc1 1 491 3943926 b W95 FAT32
    As far as I know, the sata ntfs partitions are those with (sdb#).
    I tried mounting one of them but this is what it shows:
    [kaola@ArchHost ~]$ sudo mount /dev/sdb6
    mount: can't find /dev/sdb6 in /etc/fstab or /etc/mtab
    Please help me, this is very annoying compared to ubuntu which does do the job pretty well.  By the way, I'm using kde as my DE.  Dolphin sees the partitions but cant access.
    It says:
    An error occured while accessing 'Backup2 HD2', the system responded:
    org.freedesktop.Hal.Device.Volume.UnknownFailure: TODO:
    have to rethink extra options
    Reading some tutorials on ntfs-3g wiki, I've modified my fstab.  Still, I can't read the partitions...Please help me, this is my fstab:
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    UUID=2167baaa-d1e0-4719-920c-0bc09fa56caa / reiserfs defaults 0 1
    UUID=3e2250a0-ac45-458c-ba40-44ddbe8af54d /boot ext2 defaults 0 1
    UUID=cbf76343-12cf-4975-9284-3360735be927 /home reiserfs defaults 0 1
    UUID=f39da452-efe4-49d0-abd4-bb5246b83b33 swap swap defaults 0 0
    /dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0
    /dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    UUID=2167baaa-d1e0-4719-920c-0bc09fa56caa / reiserfs defaults 0 1
    UUID=3e2250a0-ac45-458c-ba40-44ddbe8af54d /boot ext2 defaults 0 1
    UUID=cbf76343-12cf-4975-9284-3360735be927 /home reiserfs defaults 0 1
    UUID=f39da452-efe4-49d0-abd4-bb5246b83b33 swap swap defaults 0 0
    /dev/sdb1 /mnt/ntfs1 ntfs-3g users,noauto,uid=1000,gid=100,fmask=0113,dmask=0002,locale=en_US.utf8 0 0
    /dev/sdb2 /mnt/ntfs2 ntfs-3g users,noauto,uid=1000,gid=100,fmask=0113,dmask=0002,locale=en_US.utf8 0 0
    /dev/sdb5 /mnt/ntfs3 ntfs-3g users,noauto,uid=1000,gid=100,fmask=0113,dmask=0002,locale=en_US.utf8 0 0
    /dev/sda6 /mnt/ntfs4 ntfs-3g users,noauto,uid=1000,gid=100,fmask=0113,dmask=0002,locale=en_US.utf8 0 0
    Last edited by kaola_linux (2008-10-04 14:51:24)

    AD28 wrote:
    For seamless integration similar to Ubuntu:
        Follow this wiki for ntfs-3g installation and fstab configuration.
    For basic on-demand support:
    # pacman -Sy ntfs-3g
    and mount with:
    # mount -t ntfs-3g /dev/sdbX /mnt
    Now that did the trick!!!!!
    A happy Arch Linux user here!!!!hehee
    Any idea how to automate this? I want it to be automatically mounted so that it would be easy to transfer files...Pleasssseeeeee.....Thanks

  • How to mount Aiport Extreme Disk - Leopard

    Just got a miniStack v2. Added a 500gb PATA. Formated the disk while hooked up to my macbookpro. Then moved it to my Airport Extreme via USB. My MBP sees the drive when I open my Mac Harddrive under the shared tab>central station>minStack 500GB.
    What do I do now to mount the drive and start using it as backup, etc?
    Is there something that I need to enable somewhere like "mount all airport disk?" or something in the airport utility?

    I got my air disk to mount. A little bit of legwork on my part and found the drive thru looking on my drive and shared folder. Definitely different than tiger.
    Here is my new problem. I moved some folders and files from my leopard mbp, but when I mount the same air disk on a mac mini g4 running tiger I can not see any of the folders (besides "shared") or any of their contents. Even the "shared" folder show nothing but empty.
    The only thing I did on the leopard machine was customize some of the folder icon styles, gave them more slick looking icons.

  • How to mount StorageTek 2530 disk to Solaris

    I have finished the setting in CAM for StorageTek 2530. How can I mount it to the file system in solaris? Is it possible to expand /export/home directory? Is it possible to concatenate a new RAID 5 from StorageTek 2530 to the original RAID 5 of /export/home?
    Thanks

    I got my air disk to mount. A little bit of legwork on my part and found the drive thru looking on my drive and shared folder. Definitely different than tiger.
    Here is my new problem. I moved some folders and files from my leopard mbp, but when I mount the same air disk on a mac mini g4 running tiger I can not see any of the folders (besides "shared") or any of their contents. Even the "shared" folder show nothing but empty.
    The only thing I did on the leopard machine was customize some of the folder icon styles, gave them more slick looking icons.

  • How to mount zone root fs readonly

    Hi,
    i'd like to create a zone where only /var is read/write mounted, anything else read only. Can i mount the zone root FS read only, if yes, how should i configure it?
    Fritz

    well, i gave it a try, created the root fs of the zone as a zfs file system. I booted the zone and changed the ZFS fs to readonly, works fine, but a reboot failed as it could not write to the /dev directory
    So i created an own fs for /dev under the zone root and set this one to read/write.
    I thought this would be a smart idea, but Solaris does not accept any mounts:
    pool01/zones/xxxx-v1/zone            497M  65.4G  99.5K  /export/zones/xxxx-v1/zone
    pool01/zones/xxxx-v1/zone/root       497M  65.4G   497M  /export/zones/xxxx-v1/zone/root
    pool01/zones/xxxx-v1/zone/root/dev    18K  65.4G    18K  /export/zones/xxxx-v1/zone/root/dev
    zoneadm: zone 'xxxx-v1': These file-systems are mounted on subdirectories of /export/zones/xxxx-v1/zone/root:
    zoneadm: zone 'xxxx-v1':   /export/zones/xxxx-v1/zone/root/dev
    zoneadm: zone 'xxxx-v1': call to zoneadmd failedAny smart idea around this problem?
    Edited by: Fritz on Sep 8, 2009 4:39 PM

  • MOVED: how to use SATA hard disk as slave

    This topic has been moved to Off-Topic Technical.
    https://forum-en.msi.com/index.php?topic=119740.0

    how to use the hard disk without using the iPod/iTunes function?
    http://support.apple.com/kb/HT1478?viewlocale=en_US

  • How to mount USB & CDROM drives from single user mode - Solaris boot disk?

    Hi All,
    I need to carry out ufsrestore on a single newly replaced system disk (no redundancy / mirroring) from either USB or CDROM drives from the following steps:
    ( i ) GRUB => e, e, cdrom –s, Enter, b (boot from Solaris 10 x86 media).
    ( ii ) Choose menu 1 for Install Solaris Interactive Mode to reach single user mode.Below are the commands that I have tried in single user mode without success:
    mount –r –F pcfs /dev/dsk/c1t0d0p0 /cdrom (after unmount Solaris CD)
      mount: /dev/dsk/c1t0d0p0 is not a DOS filesystem.
    svcadm –v enable smserver
      svcadm: Pattern ‘smserver’ doesn’t match any instances
    svcadm enable autofs
      svcadm: Pattern ‘autofs’ doesn’t match any instances
    devfsadm
      devfsadm: mkdir failed for /dev 0s1ed: Read-only file system
    mkdir /mnt
      mkdir: Failed to make directory “/mnt”; Read-only file systemPart of the problem is due to the current READ ONLY filesystems which does not allow the creation of mount point such as /mnt.
    I have been able to create both / root (/dev/dsk/c1t0d0s0) and /export/home (/dev/dsk/c1t0d0s0) filesystems with newfs that are awaiting for restore using ufsrestore.
    The only option I am left with is to attach a secondary disk to install Solaris 10 on either of them before bring the system to multi-user mode so that service such as volmgt, autofs, volfs are available to access USB & CDROM drives.
    Any suggestion on how to resolve this issue?
    Many thanks,
    Jack

    Hi JKGN,
    Is the directory a located under the root filesystem. ie /a? Are there any other mount point for say USB drive as well? I am not in a position to try it out right now but will get back
    to you soon on whether /a exist or not.
    Btw, the last thing I managed to do on this system at the time was added a secondary 1TB internal disk with the intention to restore both / and /export/home data onto this disk while
    making use of all the disk device management services such as the following services only available in a fully installed Solaris system (both single & multi-user modes) installed on the
    primary disk:
    # svcs smserver
    STATE          STIME    FMRI
    online         Jun_08   svc:/network/rpc/smserver:default
    # svcs autofs
    STATE          STIME    FMRI
    online         Jun_08   svc:/system/filesystem/autofs:default
    # devfsadm
    # iostat -En
    c1t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: ATA      Product: SAMSUNG HD321KJ  Revision: 0-11 Serial No: 
    Size: 320.07GB <320072932864 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 41 Predictive Failure Analysis: 0
    c0t0d0           Soft Errors: 0 Hard Errors: 5 Transport Errors: 0
    Vendor: PHILIPS  Product: DVD+-RW DVD8801  Revision: AD21 Serial 
    Size: 17.54GB <17538875392 bytes>
    Media Error: 0 Device Not Ready: 5 No Device: 0 Recoverable: 0
    Illegal Request: 10 Predictive Failure Analysis: 0
    c2t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: JetFlash Product: Transcend 16GB   Revision: 1100 Serial No: 
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 7 Predictive Failure Analysis: 0
    # rmformat
    Looking for devices...
         1. Volmgt Node: /vol/dev/aliases/cdrom0
            Logical Node: /dev/rdsk/c0t0d0s2
            Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0
            Connected Device: PHILIPS  DVD+-RW DVD8801  AD21
            Device Type: DVD Reader/WriterHowever, I was disappointed that "iostat -En" has not found the secondary disk (1 TB) even though it was available earlier, for Solaris installation as the only disk on the same system.
    As a result, I am left with no option but the need to rebuild this system with only a single primary disk while in single user mode. However, the single user mode that I am in is the
    one from Solaris installation disk with restrictive (_cannot create folder for mount point or running disk management utilities_) capability such as those services just covered, compared to one from a completed Solaris installation system with full access to all filesystems and utilities / commands in general.
    I would very much value your assistance on how to mount both CD & USB in this restrictive limited Read Only OS (assume that it is running from memory) in order to get complete access to
    the blank primary disk so that full restore with ufsrestore could take place.
    Thanks in advance,
    Jack
    Edited by: 797805 on 9/06/2012 04:15

  • How to mount ovm3.x guest disk to ovms

    Hi,
    we face a problem regarding a system.img from an ovms(ol5.9)
    So I will check parts of the fs and need to mount the system.img(ovms guest disk image) to the local file system.
    In ovm2.x I need to to use lomount but in ovm3.x there is no command like that.
    Does anyone can tel me how to mount an ovmguest image ?
    Thanks *T

    Yes sure !
    #>cat /etc/redhat-release
    Oracle VM server release 3.2.3
    2. OVM3.X
    Shut down OVM Guest first !
    2.1 get start block for Partitions
    #>fdisk -lu 0004fb0000120000483d3c7957d2f126.img
    0004fb0000120000483d3c7957d2f126.img1   *          63 208844      104391   83  Linux
      0004fb0000120000483d3c7957d2f126.img2          208845 20964824    10377990   83  Linux
    2.2 Mount
    #>mount -o loop,offset=106928640 0004fb0000120000483d3c7957d2f126.img /root/disk_image/
    offset = start block * 512
      208845*512=106928640
    Greetings Till

  • Root disk craches how to retrive the data from ZFS file systems.

    Hi Friends,
    The solaris 10 OS (root disk) is crached.i have configered execpt root disk to all disks for ZFS file systems.We using to application.Now any possble to retrive the data.
    Server model - V880
    Pls help me.
    Advance thanks.

    If the OS wasn't on ZFS, then just rebuild the server, hook up the drives and run 'zpool import'. It should find the pool on the disks and offer it up to be imported.
    Darren

  • Single-user mode: How to mount and access an external USB drive?

    My MacBook Pro HD is acting up. Cannot boot normally or into "safe mode". Cannot reinstall OS without wiping out the HD. Need to recover some critical files but DiskUtil First Aid and Restore options cannot successfully complete. Problem traced down to "invalid node structure" which means I either have a hardware problem or my filesystem partition directory structure is corrupted. I need to recover some files that are not backed up (timin issue with my regular backup process).
    I can boot into single-user mode, mount the root file system (/sbin/mount -uw /) and can see/navigate the rot filesystem structure via good UNIX command line. Here's what I would like to do (in single-user mode):
    1. Mount an external USB drive (250 GB already formatted as Mac OS X Extended)
    2. Copy various files and/or directories from my HD to the external USB drive (UNIX cp command)
    I realize I could go spend $$ for the Disk Warrior or Data Rescue products (or something similar) that SHOULD help me recover my HD or files, but it seems silly to do this when I can see, touch and taste them from within single-user mode....
    Comments? Suggestions?
    TIA --
    Trent
    P.S. Once I've recovered my files, I'll try to reformat the HD and then reinstall the OS. And THEN go have Apple look at my machine (thank goodness for AppleCare coverage)!

    Resolution:
    1) Boot system in single-user mode (SUM) with external HD attached.
    2) Execute the following UNIX CLI commands once SUM boot process is completed:
    # fsck -fy
    # mount -uw /
    # mkdir /Volumes/target_directory
    # mount -t hfs -w /dev/diskXXX /Volumes/target_directory
    # cp -RXv /source_directory /Volumes/target_directory
    Where XXX is the device-level name for your external HD's data partition. In my case this was /dev/disk1s2. It may take some experimentation to identify this device name if your system has multiple HD's.
    3) Verify contents were successfully copied onto the /Volumes/target_directory.
    Comments and observations:
    - Do NOT use "/" as your source directory - cp will make a second (redundant) copy of /volumes/target_directory
    - I was able to successfully copy ALL files off my HD despite the fsck command's "invalid node structure" error message with this simple procedure. YMMV, depending on the state of your HD.
    - The repeated disk0s2: I/O error warnings displayed during the SUM boot process did not seem to have a negative effect on this procedure. I also received this same error warning intermittently as I navigated the mounted filesystem did not seem to be a problem, either. Again, YMMV.
    Commercial software:
    I downloaded ProSoft Engineering's Data Rescue 3 product (trial version) before spending $99 to attempt to recover my "bad" HD's data via mounting to a good system with FW target mode. It could not successfully complete its "QuickScan" process and immediately hung on block 0 of 390M during its "Deep Scan" process. The product did seem to function properly on an operational system. ProSoft's technical support was responsive and helpful but had no answer for my "Deep Scan" error.
    I did not attempt to use Alsoft's Disk Warrior 4 product. I could not find any trial software available and was reluctant to spend $100 based upon the mixed reviews and comments on this discussion forum as well as other reviews. Alsoft does claim to address the "invalid node structure" error in their marketing materials. Hindsight being 20/20 - I saved $100 by using this simple procedure.
    Final note:
    Neither Leopard nor Snow Leopard's installation DVD could recognize the bad internal HD when trying to do a reinstall. While DiskUtil was able to "see" the bad internal drive it immediately failed when I tried to do an "erase and format". Took the system to my local Apple store and the Genius ran a tool called "SMART Utility" from Volitans Software (www.volitans-software.com). SMART utility confirmed that my HD was bad so it was replaced. AppleCare pays for itself (once again!).

  • How can I get the disk information in Solaris 9

    I am new to Solairs9. I use the format utility to list my partitions, but there are many unassigned partitions. I pasted the format response below:
    # format
    AVAILABLE DISK SELECTIONS:
    0. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000011c6413e10,0
    Specify disk (enter its number): 0
    format> partition
    partition> print
    Current partition table (original):
    Total disk cylinders available: 14087 + 2 (reserved cylinders)
    Part Tag Flag Cylinders Size Blocks
    0 root wm 302 - 13482 63.96GB (13181/0/0) 134129856
    1 swap wu 0 - 301 1.47GB (302/0/0) 3073152
    2 backup wm 0 - 14086 68.35GB (14087/0/0) 143349312
    3 unassigned wm 0 0 (0/0/0) 0
    4 unassigned wm 0 0 (0/0/0) 0
    5 unassigned wm 0 0 (0/0/0) 0
    6 unassigned wm 0 0 (0/0/0) 0
    7 home wm 13483 - 14086 2.93GB (604/0/0) 6146304
    The part number from 3 to 6 are unassigned. What does this mean? How much space of these unassigned partitions? How can I mount these unassigned partitions to my local directories?
    Thanks.

    "+How can I get the disk information in Solaris 9+ "
    This was cross-posted to the Solaris 9 forum as well.
    http://forum.java.sun.com/thread.jspa?threadID=5223643

  • Mounting the Root File System into RAM

    Hi,
    I had been wondering, recently, how can one copy the entire root hierarchy, or wanted parts of it, into RAM, mount it at startup, and use it as the root itself.  At shutdown, the modified files and directories would be synchronized back to the non-volatile storage. This synchronization could also be performed manually, before shutting down.
    I have now succeeded, at least it seems, in performing such a task. There are still some issues.
    For anyone interested, I will be describing how I have done it, and I will provide the files that I have worked with.
    A custom kernel hook is used to (overall):
    Mount the non-volatile root in a mountpoint in the initramfs. I used /root_source
    Mount the volatile ramdisk in a mountpoint in the initramfs. I used /root_ram
    Copy the non-volatile content into the ramdisk.
    Remount by binding each of these two mountpoints in the new root, so that we can have access to both volumes in the new ramdisk root itself once the root is changed, to synchronize back any modified RAM content to the non-volatile storage medium: /rootfs/rootfs_{source,ram}
    A mount handler is set (mount_handler) to a custom function, which mounts, by binding, the new ramdisk root into a root that will be switched to by the kernel.
    To integrate this hook into a initramfs, a preset is needed.
    I added this hook (named "ram") as the last one in mkinitcpio.conf. -- Adding it before some other hooks did not seem to work; and even now, it sometimes does not detect the physical disk.
    The kernel needs to be passed some custom arguments; at a minimum, these are required: ram=1
    When shutting down, the ramdisk contents is synchronized back with the source root, by the means of a bash script. This script can be run manually to save one's work before/without shutting down. For this (shutdown) event, I made a custom systemd service file.
    I chose to use unison to synchronize between the volatile and the non-volatile mediums. When synchronizing, nothing in the directory structure should be modified, because unison will not synchronize those changes in the end; it will complain, and exit with an error, although it will still synchronize the rest. Thus, I recommend that if you synch manually (by running /root/Documents/rootfs/unmount-root-fs.sh, for example), do not execute any other command before synchronization has completed, because ~/.bash_history, for example, would be updated, and unison would not update this file.
    Some prerequisites exist (by default):
        Packages: unison(, cp), find, cpio, rsync and, of course, any any other packages which you can mount your root file system (type) with. I have included these: mount.{,cifs,fuse,ntfs,ntfs-3g,lowntfs-3g,nfs,nfs4}, so you may need to install ntfs-3g the nfs-related packages (nfs-utils?), or remove the unwanted "mount.+" entires from /etc/initcpio/install/ram.
        Referencing paths:
            The variables:
                source=
                temporary=
            ...should have the same value in all of these files:
                "/etc/initcpio/hooks/ram"
                "/root/Documents/rootfs/unmount-root-fs.sh"
                "/root/.rsync/exclude.txt"    -- Should correspond.
            This is needed to sync the RAM disk back to the hard disk.
        I think that it is required to have the old root and the new root mountpoints directly residing at the root / of the initramfs, from what I have noticed. For example, "/new_root" and "/old_root".
    Here are all the accepted and used parameters:
        Parameter                       Allowed Values                                          Default Value        Considered Values                         Description
        root                                 Default (UUID=+,/dev/disk/by-*/*)            None                     Any string                                      The source root
        rootfstype                       Default of "-t <types>" of "mount"           "auto"                    Any string                                      The FS type of the source root.
        rootflags                         Default of "-o <options>" of "mount"        None                     Any string                                      Options when mounting the source root.
        ram                                 Any string                                                  None                     "1"                                                  If this hook sould be run.
        ramfstype                       Default of "-t <types>" of "mount"           "auto"                     Any string                                      The FS type of the RAM disk.
        ramflags                         Default of "-o <options>" of "mount"        "size=50%"           Any string                                       Options when mounting the RAM disk.
        ramcleanup                    Any string                                                   None                     "0"                                                  If any left-overs should be cleaned.
        ramcleanup_source       Any string                                                   None                     "1"                                                  If the source root should be unmounted.
        ram_transfer_tool          cp,find,cpio,rsync,unison                            unison                   cp,find,cpio,rsync                           What tool to use to transfer the root into RAM.
        ram_unison_fastcheck   true,false,default,yes,no,auto                    "default"                true,false,default,yes,no,auto        Argument to unison's "fastcheck" parameter. Relevant if ram_transfer_tool=unison.
        ramdisk_cache_use        0,1                                                              None                    0                                                      If unison should use any available cache. Relevant if ram_transfer_tool=unison.
        ramdisk_cache_update   0,1                                                              None                    0                                                     If unison should copy the cache to the RAM disk. Relevant if ram_transfer_tool=unison.
    This is the basic setup.
    Optionally:
        I disabled /tmp as a tmpfs mountpoint: "systemctl mask tmp.mount" which executes "ln -s '/dev/null' '/etc/systemd/system/tmp.mount' ". I have included "/etc/systemd/system/tmp.mount" amongst the files.
        I unmount /dev/shm at each startup, using ExecStart from "/etc/systemd/system/ram.service".
    Here are the updated (version 3) files, archived: Root_RAM_FS.tar (I did not find a way to attach files -- does Arch forums allow attachments?)
    I decided to separate the functionalities "mounting from various sources", and "mounting the root into RAM". Currently, I am working only on mounting the root into RAM. This is why the names of some files changed.
    Of course, use what you need from the provided files.
    Here are the values for the time spend copying during startup for each transfer tool. The size of the entire root FS was 1.2 GB:
        find+cpio:  2:10s (2:12s on slower hardware)
        unison:      3:10s - 4:00s
        cp:             4 minutes (31 minutes on slower hardware)
        rsync:        4:40s (55 minutes on slower hardware)
        Beware that the find/cpio option is currently broken; it is available to be selected, but it will not work when being used.
    These are the remaining issues:
        find+cpio option does not create any destination files.
        (On some older hardware) When booting up, the source disk is not always detected.
        When booting up, the custom initramfs is not detected, after it has been updated from the RAM disk. I think this represents an issue with synchronizing back to the source root.
    Inconveniences:
        Unison needs to perform an update detection at each startup.
        initramfs' ash does not parse wild characters to use "cp".
    That's about what I can think of for now.
    I will gladly try to answer any questions.
    I don't consider myself a UNIX expert, so I would like to know your suggestions for improvement, especially from who consider themselves so.
    Last edited by AGT (2014-05-20 23:21:45)

    How did you use/test unison? In my case, unison, of course, is used in the cpio image, where there are no cache files, because unison has not been run yet in the initcpio image, before it had a chance to be used during boot time, to generate them; and during start up is when it is used; when it creates the archives. ...a circular dependency. Yet, files changed by the user would still need to be traversed to detect changes. So, I think that even providing pre-made cache files would not guarantee that they would be valid at start up, for all configurations of installation. -- I think, though, that these cache files could be copied/saved from the initcpio image to the root (disk and RAM), after they have been created, and used next time by copying them in the initcpio image during each start up. I think $HOME would need to be set.
    Unison was not using any cache previously anyway. I was aware of that, but I wanted to prove it by deleting any cache files remaining.
    Unison, actually, was slower (4 minutes) the first time it ran in the VM, compared to the physical hardware (3:10s). I have not measured the time for its subsequent runs, but It seemed that it was faster after the first run. The VM was hosted on a newer machine than what I have used so far: the VM host has an i3-3227U at 1.9 GHz CPU with 2 cores/4 threads and 8 GB of RAM (4 GB ware dedicated to the VM); my hardware has a Pentium B940 at 2 GHz CPU with 2 cores/2 threads and 4 GB of RAM.
    I could see that, in the VM, rsync and cp were copying faster than on my hardware; they were scrolling quicker.
    Grub, initially complains that there is no image, and shows a "Press any key to continue" message; if you continue, the kernel panics.
    I'll try using "poll_device()". What arguments does it need? More than just the device; also the number of seconds to wait?
    Last edited by AGT (2014-05-20 16:49:35)

  • Newbie:Problems with SCSI root disk

    Hello
    I have periodic problems with no matter what disk I put in my root partition. My Sun has several disks, so I can take another disk not being used and configure it as my new root disk, installing Solaris root on it.
    But when, this way, I replace the disk by another "fresh" disk and reinstall Solaris all goes Ok during some time (days or months) until suddenly I get I/O Errors allways in that disk.
    I use a E250 with Solaris8. The problem also arises with Solaris7.
    If I do a probe-scsi-all at ok prompt I frequently see hardware errors in that disk. All those errors where not present previously when my disk wan't the root.
    What is corrupting my disks a I use them?
    Am I missing something when I put a new disk? Should I change the ID of my previous SCSI disk?
    If so, how?
    Thanks

    Are you using the disks in the same slot? It may be the controller....

  • MacBook Pro Installation - Failed to Mount Real Root

    Hi, I've been trying to install Arch on my older MBP for years now (2009 model, I think) with a single-boot configuration. I can successfully boot from the USB, where I get to select from three shells to boot in, being:
    Arch Linux archiso x86_64 UEFI USB
    UEFI Shell x86_64 v1
    UEFI Shell x86_64 v2
    Then, I select the first, and stuff just skims by at first, until I end up at something like:
    :: Device /dev/disk/by-label/ARCH_201303' mounted successfully
    :: Mounting /run/archiso/cowspace (tmpfs) filesystem, size=75%...
    :: running late hook [archiso_pxe_common]
    :: running cleanup hook [archiso_shutdown]
    :: running cleanup hook [udev]
    ERROR: Failed to mount real root device
    Bailing out, you are on your own. Good luck.
    Then I'm stuck with a shell as root with barely any commands to use (no fdisk/gdisk/insert-any-partitioning-tool-here), etc. I'm pretty sure this isn't supposed to happen. Is there any guide on how I can fix this? Googling hasn't exactly worked, and I couldn't find anything on the Arch Wiki too easily.
    Thanks for the help!
    Important note:
    Months ago, I got stupid and did try to install CrunchBang (BIOS boot only, obviously). That erased pretty much everything (that includes the EFI partition, etc.) and left me with a few unbootable partitions. So, uh, that is to say, if any suggestion involves booting up from OS X and doing anything, or using rEFInd/rEFIt, it won't work. Thankfully, however, I am able to do most Linux commands as I am currently on my primary system, Linux Mint.
    Last edited by kyeshi_0913 (2013-06-13 23:02:15)

    @ the_isz - Thanks for the read, but no help.
    @swanson - That usb hook was added, this error happens just after the usb module scans the bus. Listing by-label while in RAMFS shows the USB devices.
    Also while in initrd environment:
    [RAMFS /]# blkid
    /dev/sda1: LABEL="BOOT" UUID="d71a5da8-fbdd-4ab9-ba5a-fa2adcda137b" TYPE="ext2"
    /dev/sda2: LABEL="SWAP" UUID="3a437fef-b143-4626-a74c-2332d3a83470" TYPE="swap"
    /dev/sda3: LABEL="SYSTEM" UUID="702e29ad-3f8a-4590-9c97-36a4f0b0262b" TYPE="ext4"
    /dev/sda4: LABEL="HOME" UUID="2ef17520-7602-4855-acee-331535fdb0c7" TYPE="ext4"
    /dev/sdb1: LABEL="USB-BOOT" UUID="3a563c48-850d-410a-afb9-bcd01ed567a5" TYPE="ext2"
    /dev/sdb2: LABEL="USB-SWAP" UUID="980f4f7e-24a2-4347-8595-c61d8f72accf" TYPE="swap"
    /dev/sdb3: LABEL="USB-SYSTEM" UUID="b6d09c53-aed8-494e-b017-df4c3c66b64b" TYPE="ext2"
    lists all partitions, that is USB and hard drive, but attempting to manually mount sdbn (USB partitions) failed.
    [RAMFS /]# mount /dev/sdb3 /new_root
    mount: mounting /dev/sdb3 on /new_root failed: no such device
    Regards,
    Brian

  • Duplicate fiber root disk using just ufsdump/ufsrestore/installboot ...

    I have to setup 5 x 890 servers and 4 x 490 servers. Without using jumpstart, is there a quick way to do a duplicate a root disk using just ufsdump/ufsrestore/installboot commands? If these boxes had SCSI drives, this would not be problem. Because of the fiber drives, I am struggling to figure out how to do it - because the WWNs are embedded into device tree.
    Anybody got any ideas how to do it using plain old ufsdump/ufsrestore commands?
    Thanks.
    SG

    Hi Michael,
    Thanks for the qucik reply.
    The problem persists. I deleted the contents of /disk2/dev/dsk and /disk2/dev/rdsk. Then I rebuilt the device tree using:
    /usr/sbin/devfsadm -c disk -r /disk2 -p /disk2/etc/path_to_instThen I set the boot parameter:
    luxadm set_boot_dev /dev/dsk/c2t2d0s0When rebooting, the new WWN now correctly shows up under boot-device. However, the file system appears to be mounted as read-only again. The same errors show up on the screen, all related to starting services, cron, etc. All instances are followed by an error message of "Read-only file system".
    I also fsck'ed the root partition, but this didn't help fix the problem.
    After this test, I ran fsck again, and noticed that c2t2d0s0 was last mounted on /disk2, so the root slice was in fact never mounted during boot.
    Is there anything else I can check with regards to the read-only mounting problem?
    Thanks.

Maybe you are looking for

  • How can i upgrade my macbook pro if i dont have credit card?

    every time i try to upgrade imovie from appstore it tells me that i have to sign in, when i do that it says to me that this account havent been used in itunes store so i cant upgrade it. i tried to download the last version of imovie and when i tried

  • MacBook doesn't detect music cd or open iTunes

    I have tried unsuccessfully to put new music onto my iTunes. When I insert a CD nothing happens. I have gone into System Preferences and it has IGNORE when you insert a music CD. I keep changing it back to open iTunes,but it keeps reverting back to I

  • Replace speaker wire

    I have one FPS1500 and one speaker wire is broken. How i can disassemble this speaker to weld the wire again again?Antonio

  • Oracle 8i Lite Sql*Plus error

    When attempting to connect to Sql*Plus I get the error ORA-21526 in an infinite loop. Any ideas how to get around it? I am running under Windows 98. null

  • Accessing the internet

    Beginning yesterday, when I try to access the internet using Firefox and my.msn.com, I get an error message "Your request could not be processed at this time...."  I can go on to the internet by entering something in the Google search box or by click