How to mount kernel26.img

Hello,
everyone
I would like mount the init-img of the kernel.
I`ve tried:
gunzip -dc /boot/kernel26.img >/anywhere/kernel26.dec.img
and then
mount -o loop /anywhere/kernel26.dec.img /elsewhere/
but didn`t have any success.
Then mount -t ext2 -o loop /anywhere/kernel26.dec.img /elsewhere/
Same here.
Is the init.img really a file system or something else.
I would like to look at the kinit-img.
Oh and between i looked and decompressed image with an hex
and it contains some path-like cleartext.
Can anybody help me here?

Sorry, I could have said that it's impossible to just mount the first time
For assembling it back (change the filenames as needed) (to be run as root) (make sure that you also extract the image as root in the first place, since it contains some device nodes, which regular users are not allowed to create):
cd /tmp/initrd
find . | cpio -o -H newc > /tmp/initrd.temp
gzip -c /tmp/initrd.temp > /boot/kernel26.img
EDIT: As far as editing files goes: once you extract the image, you can edit the extracted files normally, as any other files. After you're done editing, just compress it back with the method above.
Last edited by bender02 (2008-11-10 23:26:15)

Similar Messages

  • 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

  • [solved] Is /bin/mknod still included in kernel26.img

    Hello,
    everybody
    I`ve got a problem.
    In this topic:
    http://bbs.archlinux.org/viewtopic.php?id=49200&p=2
    Larch has the problem that if i larchify an existing system
    it does not include /bin/mknod in the larch.img, but if i
    mklarch a system, it does.
    After examine my now used system`s kernel26.img, mknod isn`t there,
    even in the fallback image.
    My hooks are:
    HOOKS="base udev autodetect ide scsi sata filesystems"
    just in case if you like to know it.
    Has anything changed or is my system not ok?
    To examine your kernel26.img
    use
    cd /boot/
    gunzip -dc kernel26.img >kernel26.dec.img
    and open kernel26.dec.img with archive-manager of gnome.
    Greetings
    and thanks for your answers
    Last edited by paraflu (2008-11-13 19:28:30)

    Thanks for the reply.
    I looked into /usr/lib/klibc/bin/  mknod wasn`t there,
    so i pacman -S klibc
    reinstalling
    Looked again it is there!
    Did the same with the system in the vm (qemu).
    Not there.
    reinstalling
    It`s there.
    Thanks.
    But what i don`t understand is, that they are totally
    different systems.
    Downloading the same iso 2008.06 again and will do a new install
    in the vm.
    Oh by the way do you know how to reinstall all packages of
    the system, because i should do this now?
    So solved. Don`t know what happened before (2 different systems) , but it`s ok.
    Thank you a lot.
    Edit:
    "Oh by the way do you know how to reinstall all packages of
    the system, because i should do this now?"
    found it in the wiki.
    Last edited by paraflu (2008-11-13 19:46:20)

  • How to mount an image-file?

    Hi,
    I have an EFI-partition on my hdd which drastically improves my bios-boot time. But I wanna take a closer look at it and what it does. Because I don't wanna mess this EFI-Partition I wanna work with a copy.
    So I created an image with:
    dd if=/dev/sdXX of=my_image.img
    But how can I mount it now? I loaded the loop-module and tried an:
    mount my_image.img /my/mountpoint -o loop
    But he wants to know the fs-type. But he doesn't understand what efi is and always tells me it's and unknown filetype if I try:
    -t efi
    So is it not possible to mount and efi-image under linux? I would really like to take a look at it.

    @EnvoyRising: No that's just for cd-isos.
    @jakobm:
    $ sudo mount my_image.img /my/mountpoint
    mount: my_image.img is not a block device (maybe try `-o loop'?)
    $ sudo mount my_image.img /my/mountpoint -o loop
    mount: you must specify the filesystem type
    $ sudo mount my_image.img /my/mountpoint -o loop -t auto
    mount: you must specify the filesystem type
    $ sudo mount my_image.img /my/mountpoint -o loop -t msdos
    mount: wrong fs type, bad option, bad superblock on /dev/loop0,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    The same with every fs-type (like vfat..) I tried. So no matter what I try it seems not to work.

  • How to mount iPhone 3gs on a macbook pro with maverick ?

    how to mount iPhone 3gs on a macbook pro with maverick ?

    There are unsupported mechanisms of doing what you want. You can search for iTunesFS.
    Garage Band should allow you to send Ring Tones to the 3GS via iTunes - GarageBand '11: Send an iPhone ringtone to iTunes  

  • How to mount a volume on an Ubuntu server in Finder?

    I am a newbe in such advanced functions, but I like to find solutions and it is hard for me to give up.
    I have a MacBook 13,3 and an Ubuntu server. I have managed to connect to the a USB printer connected to the server. But I have not found out how to mount the server in Finder, so that I can use an external disk connected with USB as a Time Machine disk.
    Can anyone help me, and please as simple and basic as possible :-)?

    so i'll admit that I haven't done this but it would seem that since Ubuntu includes Samba you could, from 'Finder' click cmd-k and type in smb://[the path to the share]
    that said I found this on the web:http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-v olume/
    instead of mounting the disk via Samba, it tries to use a more native approach.....that said, this definitely looks more involved.

  • How to add Missing IMG Item in Solution manager

    Dear Gurus
    Kindly guide me how to add Missing IMG Item in Solution manager. If this Item's tcode doesnt exits.  how i can add in my Blue print & Configration portion
    Edited by: MAZ on Nov 17, 2009 11:52 AM

    Hi
    What is the error you are getting when you are adding the tcode.
    Have you checked the role of the system.....if not then
    in solar01 goto sap menu
    Business blueprint->sytem role...choose the appropriate system role
    In addition have you generate the Project IMG in the satellites system using solar_project_admin tcode  under system landscape tab
    check this guide
    https://websmp210.sap-ag.de/~sapdownload/011000358700002006042008E/HowTo_Impl_Bus_Proc.pdf
    Let me know further if this doesnt solve ur prb
    Regards
    Prakhar

  • How to mount a sharepoint server from the finder

    Can anyone help me with how to mount a microsoft sharepoint services server from the finder. I need to do this because I want to use the collaboration features in Acrobat 8. In order to create a shared review I need to be able to open the document from the sharepoint site with the full version of acrobat and I cannot do that from the web browser. From a PC I would choose to add a network location and the wizard creates a network location in the explorer, then I can access the sharepoint site (across the internet) like another file folder on my local network. I cannot seem to figure out how to accomplish the same thing on the mac. When I put in the URL for the share point site in the connect dialog from the finder it opens a webdave dialog box asking for a domain name and I have no idea what that is and it tells me the password or user name is not correct. Any help would be appreciated

    You might want to pose this question in the networking forum too.

  • 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 USB Flash Drive

    Hello again Arch-Linux users,
    I always search google very hard and for months (off and on) I search for how to mount a USB Flash Drive.  Nothing ever work so I give up than try again months latter.  I don't want to give up anymore and that is why I join this forum.
    Here are some of the code I found on the net.  Some of these commands will only re-mount the entire Arch-Linux running system in  /mnt/usbstick.
    sudo mount -o rw,noauto,async,user,umask=1000 /dev/sda1 /mnt/usbstick
    ... don't work it only re-mount the entire system
    /dev/sda15 /mnt/usbstick  vfat   user,noauto,unhide   0      0
    ... don't work... I found nothing inside /mnt/usbstick
    mount -t vfat -o rw,nosuid,nodev,quiet,shortname=mixed,uid=1001,gid=100,umask=077,iocharset=utf8 /dev/sda1 /mnt/usbstick
    ... don't work... here is the error i get:
    mount: /dev/sda1 already mounted or /mnt/usbstick busy
    mount: according to mtab, /dev/sda1 is mounted on /
    It strange that most USB mount commands use the operating system partition itself- example: /dev/sda1 as the device for USB device, while others use /dev/cdrom for cd - /dev/dvd for dvd and /dev/fd0 for floppy.
    Could someone post the code that will easily mount a usb device under Arch_Linux.
    I'm using Arch-Linux core-64 (08-2009)
    Thanks in advance
    Last edited by sharris (2010-06-17 21:58:43)

    Thanks fsckd,
    I needed a rapid reply because I been wasting too much time not getting anything done because I needed to get pass this flash-drive thing.  I can now have a secure back-up in my pocket on USB to go.  Arch-Linux does it better for what I seen while just dd'ing on disk.
    ...lsusb
    Found it
    http://gd.tuwien.ac.at/linuxcommand.org … susb8.html
    Thanks demian,
    sdb is the location for my single hard-drive machine.  I saw it before in my list above but I changed it to sda1 because I knew no better.  I had no clue it represent a 2nd hard-drive for LINUX if one is not already present.
    This did it for me
    Thanks again

  • How to mount external drives

    Being new to iMac and connecting four external drives I need to know how to mount and dismount them

    noondaywitch
    Thanks for your help and I've followed your reply and yes I can see how to mount and eject drives.
    Probably it would have helped if I had told you that my drives are all USB.
    All connected to a small four way hub which is then connected to one USB socket in back of computer.
    One - I use as a music drive and is a 160 gb iomega
    Two - is a partitioned drive for Photoshop use 340 gb WD
    Three - is a drive which has all my ex-Windows computer files and is one TB WD
    Four - is a Video and Film drive of one TB WD
    Five - is my dedicated auto backup drive which is of one TB WD and is connected directly to a USB socket of computer.
    I normally set my computer to sleep until the next time I'm using it, then when I do go to use it, I get the warning message regarding drive was not ejected. Didn't have problems like this on PC so I became worried that in time I'm going to loose files and or the complete drive. Which one is giving me this message is also a bit of trial and error problem. Like suck it and see.....lol.
    Anything else you can help me with this query would be most helpful and appreciated. Like do I have to eject all drives before leaving computer and then mount all the drives again for next session.
    Regards
    John

  • How to mounted oracle database automatically  in oracle version 8.1.7?

    i want to know,how to mounted oracle database automatically in oracle version 8.1.7?

    Does this mean you are not using the WIndows operating system, or you doi not want to do this 'manually' using some point and click method?
    If this means, "do it automatically for reboots" and you are using the Windows OS, you need to set up a service and set it to automatic at reboot. Or, again in a Windows environment but at commnand line, use "net start {service name}" - as described in the manual.

  • How to mount network share on lion permanently

    I want to know how to mount a network share from my NAS on mountian lion.
    I have seen and tried the suggestions about using command+k or the "go connect to server" and mounting that way so the password for the share is put into the keychain, then dragging the now mounted share to the system preferences user login items.
    However this isn't satisfactory. It causes windows to pop up for each share that I have when logging in.
    What I Want is for the share to appear as a mounted hard drive in the left navigation column of the finder window. I'd also like to be able to make a shortcut to the share on my desktop (or put it in my dock bar). If it shows up under devices that is perfection okay too, just so it's there somewhere logical.
    The pop up windows simply clutter up the desktop, and if they are closed, then the share is closed too, and then there is a manual process of having to use the very tedious command+k or go connect to server method to connect again.
    I need them to be able to click and open the share. I don't need them wasting time putting in share paswords and the link over and over.. the share should just be there for them as they work through the day. And if they close the folder/window, then it should be easy to get back to it.
    This is possible on windows and I want these mounts to work the same way.
    note: my NAS uses smb

    That should work. You could try deleting the passwords in Keychain associated with it and try it again.
    Another route: Create Applescript:
    Select the network drive and get info on it. Copy the server address. Open up Applescript Editor in the Utilities folder and create a new script. Type in mount volume, add space, "paste server address within quotations", and save as application to your documents. Run it from within applescript editor to verify it works. When it asks for a passwork, save it in Keychain.
    Under system preferences/accounts/login items, click the + sign to add and select the saved application.

  • Any ideas for how to mount my iPhone to my guitar (as in the opening sequence in the ad)?

    Any ideas for how to mount my iPhone to my guitar (as in the opening sequence in the ad)?
    Thanks for your thoughts- I'm looking for something non-damaging to the guitar but secure so I don't drop the phone.
    Frank

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • How to mount drive or library on OSB 10.2.0.3.0

    how to mount drive or library on OSB 10.2.0.3.0. My Tape library is DELL TL-2000 with windows 2003 (but the windows identify it as IBM TotalStorage 3575 library and IBM ULT3580-TD3 drive).
    The Library and drive are detected by windows and no red or yellow mark on the device manager.
    I try to read the user guide but still cannot make them work.
    And how to add OSB menu on EM? I already add osb_enabled=true on DRIVE:\oracle\product\10.2.0\db_1\<instance name>\sysman\config\emom.properties but the OSB menu does not appear.
    here is some test that i do
    ob> lsdev -lvg
    TL-2000:
    Device type: library
    Model: //./obl0
    Serial number: 00X2U78B5752_LL0
    In service: yes
    World Wide Name: TL-2000
    Debug mode: no
    Barcode reader: no
    Barcodes required: no
    Auto clean: no
    Clean interval: (not set)
    Clean using emptiest: yes
    Unload required: yes
    Ejection type: auto
    Min writable volumes: 0
    UUID: 70ba329b-f55a-463b-b269-a40941327e6c
    Attachment 1:
    Host: EIS-DATA
    Raw device: //./obl0
    Connection type: SCSI
    Inquiry data:
    Vendor: IBM
    Product: 3573-TL
    Firmware: 0.80
    Serial number: 00X2U78B5752_LL0
    Element counts / addresses:
    1 mte: 1
    23 se : 4096 - 4118
    1 iee: 16
    1 dte: 256
    Moves:
    From mte, to: mte 0 se 1 iee 1 dte 1
    From se, to: mte 0 se 1 iee 1 dte 1
    From iee, to: mte 0 se 1 iee 0 dte 1
    From dte, to: mte 0 se 1 iee 1 dte 0
    Ok_ops: move=1, reserve=1 sense_dev=1, sense_ele=1, unload_any=1, sense_dev_
    range=1
    Device characteristics: two_d=0, is_120=0, fake_mte=1, fake_iee=0, one_targe
    t=0
    State of barcode reader: present
    Display: none
    Dte 1: target 4 lun * no drive configured in dte
    Warning: bus info unknown or drive not installed
    ULT3580:
    Device type: tape
    Model: IDM
    Serial number: [none]
    In service: yes
    World Wide Name: IDM
    Automount: yes
    Error rate: 8
    Query frequency: 131072KB (134217728 bytes) (from driver)
    Debug mode: no
    Blocking factor: (default)
    Max blocking factor: (default)
    UUID: 8df27857-7920-4e3c-9476-38799f1bb7d3
    Attachment 1:
    Host: EIS-DATA
    Raw device: //./obt0
    Connection type: SCSI
    Inquiry data:
    Vendor: IBM
    Product: ULT3580-TD3
    Firmware: 6BA1
    Serial number: 1210245771
    Tape state: offline
    Hardware compression: on
    Last read was: uncompressed
    Maximum block size: 262144
    ob> catxcr -fl0 1.1
    2008/11/03.09:33:26 ____________________________________________________________
    2008/11/03.09:33:26
    2008/11/03.09:33:26 Transcript for job 1.1 running on EIS-DATA
    2008/11/03.09:33:26
    2008/11/03.09:33:27 (atv) wait_ready failed - device offline (OB scsi device dr
    iver)
    2008/11/03.09:33:27 ---
    2008/11/03.09:33:27 The volume in ULT3580 is not usable for job 1.1.
    2008/11/03.09:33:27 The problem using ULT3580 and the volume it contains, if any, is
    2008/11/03.09:33:27 device offline (OB scsi device driver)
    ob> pingdev TL-2000
    Info: library TL-2000 accessible.
    ob> pingdev ULT3580
    Info: drive ULT3580 accessible.
    TIA

    We need to increase the debug to see more output. Set the operations/backupoptions to -JJJJv and then re-run the backup and paste the transcript from that. Hopefully that will show more of the problem.

Maybe you are looking for