Ubuntu :: View Contents Of Initrd.lz File On Live USB?

Sep 7, 2010

What command do I need to use to view the /casper/initrd.lz file on a live USB? Here's what I know about initrd.img in /boot on standard installations:

Code:
zcat /boot/initrd.img-2.6.xx.xx-generic | cpio -iv
Now, what's the equivalent for initrd.lz files?

View 2 Replies


ADVERTISEMENT

Ubuntu :: Way To View The Contents Of A .dsk File?

Apr 30, 2010

EDIT:SOlved, I'm trying to figure out how to delete this

View 1 Replies View Related

Ubuntu :: Use Nautilus To View The Contents Of The Bootloader File?

Apr 6, 2010

Is there somewhere that I can view the contents of the bootloader using nautilus?

View 2 Replies View Related

General :: Way To View The Contents Of A Berkeley DB File?

Jul 1, 2011

As the topic title states, I would like to know the preferred way of viewing the contents of a Berkeley DB file. The machine the file is on is running SuSE 9.3, with perl 5.8.6 and php 5.2.0 installed. (I'm not sure if stating that was necessary, but my understanding is that the more information I can provide you, the better. The purpose to this question is this: I have been requested to look into coming up with some form of Geocoding software for one of my company's clients. Specifically, I've been requested to look into trying to obtain Census tract/block information.

I discovered the Perl module Geo::Coder::US, which uses Census input (TIGERLine files) to create a Berkeley DB file, then reads said file to produce its own output. However, the output from Geo::Coder::US only provides latitude and longitude information.At the moment, my only interest is in popping the Berkeley DB file generated with the import script packaged with the Geo::Coder::US module. I'm trying to see what the contents of that DB file are, so I can determine if the information I'm after is even in there in the first place.

View 2 Replies View Related

Ubuntu :: Grub File Not Found - Try To View The Contents Says Do Not Have The Permissions

Apr 27, 2010

I already had ubuntu 32 bit version 9.10. but due to some tool compatibility reason I need even the 64 bit version 9.10. I dint want to delete 32 bit version so I wanted to install both on my system. I have windows vista as well.

So I booted with 64 bit version of Ubuntu, went on with the installation, until the point were it asks to choose the partition. 32 bit version had 16GB allocated and 10GB free. so I thought I will make new 8GB partition from the 10GB free space. So I selected the partition and clicked on change, and specified 8GB and ext4 format and mount point as "/". I clicked on continue and in a few seconds it popped up with an ERROR message, which I can't remember exactly, but it meant to say that it could not make the changes as the disk to which the changes were made is in use. So I should not use it until I reboot. So I rebooted and now I have grub error : file not found and grub rescue> prompt.

I tried to boot with the 64 bit CD again with the option of trying ubuntu without making any changes and it does show the 16 GB partition, but when I mount that partition I do not see any folders in the partition except for a folder named "lost+found". I try to view the contents of this and it says I do not have the permissions.

View 3 Replies View Related

Ubuntu :: Can't View DVD Contents

Dec 8, 2010

I backed up about 19GB of my Web Server today compressed into a .tar.gz. I then split these files into 4300MB chunks (approx 4.2GB). I then used k3b to write 2 parts of the archive these to a Dual Layer DVD. The burn went fine but I cannot seem to mount said DVD. I tried the following;

Code:
matt@matt-u:/media$ sudo mount -t udf /dev/sr0 /media/cd
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error

[Code]....

View 2 Replies View Related

Ubuntu :: How To View Contents Of Spreadsheet Download

Jun 6, 2011

I'm in an Aussie rules fantasy football competition and someone posted a zip file with relevant stats for players in the under 18 comp, as a guide for selecting possible players in next years team. Never used any of the office applications. I've attached the zip file and this is what the poster said...

In the actual spreadsheet though, there are two sheets. The first is all the raw data which you can order by position (based on me watching the games, and the line-ups listed on the AFL websites), K: H ratio, state etc. The second is a sheet which you can use to compare players.

I find that sometimes it is easier for me to make decisions about which players to pick when the stats are more obvious, so if you are the same, you can use this sheet as well. Anyway, I hope you guys enjoy the spreadsheet and I'll update it after each round. Fixed, I had to change the file from .zip to .xlsx

View 2 Replies View Related

Ubuntu :: No Permissions Necessary To View Contents Of My Folder

Jan 6, 2010

In trying to install an update, I deleted all the programs from my Ubuntu 9.10. Now I can not get my pictures, documents and music from the computer. I tried booting from a Ubuntu Live CD but when I get to the folder of my documents it says "you do not have the permissions necessary to view the contents of "My_Folder"". I tired the nautilus command but that only lets me view the files and not copy them.

View 3 Replies View Related

General :: View Contents Using Dolphin Before Mount Device

Oct 14, 2010

How come I can view the contents of the drive using Dolphin before I mount the device? I cannot see the contents using the bash shell until the device is mounted.

View 4 Replies View Related

Fedora :: Setting Display Size (No Scrolling To View Screen Contents)

Nov 20, 2008

I am running Fedora 9 in virtual box on laptop. Want to set Fedora display size so that I will not have to scroll up or down or sideways to view screen contents. Have tried a couple of options such a resize box and change from full size but these do not help reduce size of Fedora display. Am wondering if it as something to do with the rectangular size of laptop monitor???

View 5 Replies View Related

Software :: Good Hex Editor - Allow To View Contents Directly And Copy And Paste Stuff

Dec 17, 2010

I'm trying to view directly a partition with a damaged filesystem on it (NTFS) and so far the hex editors I tried do not do that. I tried GHex for example and it complained that /dev/sda is not a file. The partition is unmountable as NTFS however since it is damaged so I couldn't mount it first. Are there any hex editors out there that would allow me to view the contents directly and copy and paste stuff in there?

View 14 Replies View Related

Debian :: Make-kpkg --initrd Won't Create Initrd?

May 18, 2010

When I compile a custom kernel with this command: make-kpkg --initrd kernel_image kernel_headers and then install the .deb, there's no initrd in /boot and I have to create it manually. I've thought that the --initrd option should take care about this, but somehow it doesn't.

It behaves like this for about two years at least (since I've compiled my first kernel). Of course, it's no big deal to create it manually, I was just wondering whether do I do anything wrong or whether should I fill a bug report..

View 1 Replies View Related

OpenSUSE :: Donot Have The Permissions Necessary To View The Contents Of "data"?

Mar 3, 2010

You do not have the permissions necessary to view the contents of "data". and the same error for the other partition "data 2" These 2 partitions are made with fedora 12.Screenshot.png - 689 KbBoth are ext3 filesistem.In file browser when i selecte one of these partitions, after it asks for the password the partition disappears from "places"

View 6 Replies View Related

General :: Mount USB - "do Not Have Permissions Necessary To View The Contents Of Usbflash"

Jan 19, 2011

I made USB live and successfully mounted usb. Commands I used are shown below:

sudo fdisk -l
in response to the first command: sdb1 250GB(this is the target)
sudo mkdir /mnt/usbflash
sudo mount -t auto /dev/sdb1 /mnt/usbflash

All done without any problems. However, when I tried to open file /mnt/usbflash, a dialogue jumps out says "do not have permissions neccessary to view the contents of usbflash". I googled it and found out someone solved this with Alt+F2 and type in 'gksu nautilus'. I tried, and it worked!!! However! Not single file of my 200GB files were shown there! How could it be?? I used comman "ls /mnt/usbflash" to check, and it shows correctly the files inside.

View 2 Replies View Related

Ubuntu Security :: Live View Of Ssh Log ?

Feb 14, 2011

Is there some way to view the an openssh servers auth logs in real time?

View 2 Replies View Related

Debian Configuration :: How To Add A File To Initrd

Dec 13, 2015

I have an encrypted root and encrypted boot drive... To avoid entering a passphrase multiple times I'd like to add a keyfile for my root drive to my initrd... I've done this in Arch and it was relatively simple but I've hit a road block in debian finding the analog processes...

Code: Select all#Part 1) Generate the keyfile, give it suitable permissions and add it as a LUKS key:

dd bs=512 count=4 if=/dev/urandom of=/crypto_keyfile.bin
chmod 000 /crypto_keyfile.bin
chmod 600 /boot/initramfs-linux*
cryptsetup luksAddKey /dev/sdX# /crypto_keyfile.bin

[Code] ....

Code: Select allupdate-initramfs -v -k -u all

What is the analog to Part 2 (and Part 3 if I'm wrong about how to regenerate the initramfs...)??

View 10 Replies View Related

General :: How Do Make An Initrd File

Apr 17, 2011

I have compiled the linux kernel. My bzImage is 1,14 mb big

Anyway. It's only 2 programs i need and it's Python and Busybox. I have compiled python and busybox and put them together in a folder. Busybox is 146 kb and pyton is 4,4 mb.

But how do i make an initrd file of them? Or should a make an initrd file of them?

I get this error when a runt with a compiled busybox to gz format as initrd, and without initrd.

Quote:

VFS: Cannot open root device "sda1" or unknow-block(0,0)
Please append a correct "root=" boot option; here are the available partions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)Pid: 1, comm: swapper Not tainted 2.6.38.3 #1

Do you know how to make an initrd?

View 4 Replies View Related

Ubuntu Installation :: Extract File Initrd.lz - Located In Install Iso

Aug 7, 2011

initrd.lz is a Lzip file in the casper directory of the Ubuntu install iso.

I'm having trouble finding a program that will extract it.

Lzip - fails
file-roller fails

How to extract it?

View 2 Replies View Related

Ubuntu Multimedia :: Lunable To View The Live Feed?

Jul 31, 2011

I'm unable to view the live feed on this page:

[URL]

I have tried the normal settings editing (from my previous thread) but it just tries to connect but never does.

View 1 Replies View Related

Software :: Make Initrd That Contains Root File System?

May 19, 2010

I am attempting to PXE boot Redhat 5.4 and load the OS into RAM. Here is how far I have gotten so far:

I have successfully configured my DHCP, TFTP, and PXE servers. The PC that is booting up Redhat 5.4 is able to get a DHCP IP address from the server, grab the kernel and initrd from the TFTP server, and boot up from there. I have this setup working if I store the root file system on a NFS share on the server and use the kernel's NFSROOT parameter. Long story short, I now need to get this same setup working without using NFS if possible. I have spent several hours google searching how to create a RAM disk (initrd) that also contains the root file system. I must be searching the wrong keywords. Anyway, based on what I have read so far, I need to do the following:

1. I need to pass different kernel parameters. It needs to look something like:

2. It seems like newer versions of initrd are created using the cpio tool. So would this simply be a matter of booting to my hard drive that has Redhat 5.4 loaded on it and running:

To create the RAM disk with a root file system attached to it? I have a feeling it has to be more complicated than that but I just cannot find any sites that specifically explain what would be involved with creating an initrd file that can also be used as the root file system.

3. Would I need to modify the init script (many sites call it "linuxrc") at all in order to accomplish what I want to do? For example, I found this site:[url]

My understanding of this page is that you have to create a linuxrc script that basically does the work of decompressing the file system into /dev/ram0 and mounting it to /root. Is something like this actually needed?

4. The kernel must have certain parameters set such as enabling RAM disk support.

I have most of this setup working. I just need to figure out how to basically store the contents of the OS on the TFTP server and then tell the kernel to load that OS into memory. Based on what I have read, this should be possible (otherwise, how do Live CD's work?).

View 5 Replies View Related

General :: View Live Logs On A System Server?

Jul 29, 2011

How can I view a live log on a Linux Server, so that I can see new log entries instantly as they are being added?

View 1 Replies View Related

Software :: View Logs Live To Display In Terminal?

Mar 24, 2011

Is there a software I can use to display on a terminal that would display traffic or log information to a display terminal. I have CentOS on all my boxes. I would like to have a terminal up and have it show things like requests to the DNS servers, apache or maybe anything else. Especially errors. I know if I had something just displaying live from the web server it would go by so fast you couldn't see it so I would have to slow it down or something.

View 1 Replies View Related

Software :: Check The Contents Of A Text File For A Specific String And Remove It From The File From The Command Prompt?

Oct 14, 2010

I want to be able to check the contents of a text file for a specific string and remove it from the file from the command prompt. I would basically be searching through a number of files and if a specific string is found I would like it removed automatically. pretty much a find and replace, were the replace is nothing. any one got any ideas on how you would do this. I already have the search part sorted just need to be able to remove the string I don't want from the multiple files.

View 4 Replies View Related

Software :: Overwrite The Contents Of A File Without Changing The File Size?

Jul 12, 2010

We have some large files with sampling data in it. Don't want to delete these files. But want to quickly overwrite the file with 0s and/or 1s and preserve the original file size.

View 3 Replies View Related

General :: Replacing A String In A File With The Contents Of Another File?

Jun 15, 2010

I would like to know how I can replace a string in one file with the complete contents of another life.

View 10 Replies View Related

Programming :: Append Contents Of One File To Another Existing File?

Nov 17, 2008

I have two files list1.cfg and list2.cfg both files contains differentrecords details like

List1.cfg
NAME1:25:C:NAME LINE1:
NAME2:25:C:NAME LINE2:
CITY:25:C:City:

[code]....

Now I want to append contents list2.cfg to list1.cfg(It ispposible using cat list2.cfg >>list1.cfg) but I want to check if content of (record) in list2.cfg is present in list1.cfg then dont append it otherwise append it.

View 1 Replies View Related

General :: Grep The Contents Of A File With Another File?

Sep 25, 2010

someone once told me that use can pass a file to grep and use that to search the contents of another file. if that is the case I'm not entirely sure why the following isn't working for me.

Code:

[root@LCENT01:~]#grep -i id_rsa.pub .ssh/authorized_keys
[root@LCENT01:~]#cat id_rsa.pub >> .ssh/authorized_keys
[root@LCENT01:~]#grep -i id_rsa.pub .ssh/authorized_keys

View 3 Replies View Related

Programming :: Check If File Contents In Another File?

Nov 4, 2009

i am trying to write a bash script. i have a text file called comp2.tmp which has a list of items in it

example comp2.tmp

Code:

filename.pdf
filename2.zip
filename3.ttf
and so on

I have another text file called comp1.tmp which should have the same list of files in it, but does not look as pretty

example comp1.tmp

Code:
someothertext here ...... 10/30/2009 ...... filename.pdf
=========================------------------==============
othertextagain .......... 09/28/2008 ...... filename2.zip
========================------------------===============
bunchmoretext ........... 04/12/2005 ....... filename3.ttf
and so on

i would like to check if the filenames listed in comp2.tmp exists in comp1.tmp

View 3 Replies View Related

General :: Ubuntu - Can't See Contents Of File

Jul 29, 2010

In Ubuntu 10.04, there is a certain file that appears highlighted in terminal. When I try to cat the file, it says there is no such file or directory. How can I see what's in this file? Is this a symbolic link?

View 1 Replies View Related

Ubuntu :: Print Out The Contents Of A File?

Feb 24, 2010

how do I print out the contents of a file?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved