Ubuntu :: Convert Read-Only Root FS To SquashFS?

Apr 5, 2010

in the right direction to convert my root to a squashFS image.I currently have a working read-only root file system that I setup using the the AUFS tutorial.How can I convert this to a squashFS image, and then configure initrd and grub to mount it during boot?

View 4 Replies


ADVERTISEMENT

Ubuntu Installation :: SQUASHFS Error: Unable To Read Fragment Cache Block

Apr 5, 2010

I'm trying to install Kubuntu on an old Windows system. I am getting tons of errors such as:

I/O error
SQUASHFS error:unable to read page, block XXXXXX
SQUASHFS error: unable to read fragment cache block

It then reports that it's loading ACPI modules and starting the ACPI services, starting the system log daemon, doing Wacom setup, starting kernel log daemon.....and then it reads sb_bread failed reading block umptysquat.I have a feeling that this hard drive is toast. I can't get it to install Windoze or Linux. I can't even get a prompt so I can do a low-level format. Unfortunately, I'm not super savvy with Linux and don't know what to do next.

View 2 Replies View Related

General :: Remove Patch From Kernel / Apply A Squashfs-lzma Patch (squashfs 4.1cvs)?

Sep 11, 2010

is there a way to remove a patch from a kernel?

I need to apply a squashfs-lzma patch (squashfs 4.1cvs) to the liquorix kernel source which is already patched with squashfs 4.0.

how would I do that?I tried googling got this. url

but I dont know the command used to apply the patch the patch is called

35.4-3.patch.gz
url

but that patch includes more than squashfs,etc

View 1 Replies View Related

General :: Remount Root Filesystem As Read/write After Modify Readonly-root File?

Dec 21, 2010

My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:

# Set to 'yes' to mount the system filesystems read-only.
READONLY=yes
# Set to 'yes' to mount various temporary state as either tmpfs

[code]...

View 3 Replies View Related

Ubuntu :: Any Apps That Are Able To READ .eml Files, NOT Convert Them?

Sep 5, 2010

Are there any Linux apps out there that are able to READ .eml files, NOT convert them?

View 3 Replies View Related

Fedora :: Convert The Ext4 Root Partition To Ext2

Oct 31, 2010

I have a usb flash drive and according to sources I found out after the fact that I should have used ext2 instead of ext4 due to the extra write operations.

Is it possible to convert the ext4 root partition to ext2 or do I need to backup, reformat, and restore?

View 1 Replies View Related

Red Hat / Fedora :: How To Convert Root Filesystem Into LVM2 Configuration?

Jan 22, 2009

i want to know that if i install linux on to my pc with SWAP/ boot as partition and after that i want to convert them to LVM2 type configuration .how can i do that.i want to create a system having logical volumes from that system without reinstalling these partitions should convert into two LV's
LV 0 for root
LV 1 for swap

both in one volume group.

View 1 Replies View Related

Ubuntu :: Read-only Root And Can't Edit Fstab

Apr 19, 2010

I was unable to boot into Ubuntu 9.1 today because the file system is now read only. When I check fstab, it shows "ro" but I can't change it because it's on a read only file system. I tried umounting the root then remounting with read/write access, but I was unable to umount the root. I also tried booting with a live CD, but all I can find is the root.disk file, I can't see any of the file structure. That's probably just how it is supposed to be, but I'm new to Linux so I found it strange. method to either change the disk to read/write besides this?sudo umount /mount -o remount,rw /The other option would be to somehow mount the disk image while using a live CD so that I can get to the fstab file and edit it.

View 9 Replies View Related

Software :: How To Set A User To Let Him Having The Read-right As The Root

Oct 1, 2010

Assumed I have user called myUser. How to set this user to have the read-right as the root?

View 4 Replies View Related

Ubuntu Servers :: Root File System Keeps Getting Remounted Read Only?

May 13, 2010

I have a 9.04 64bit Ubuntu server that I use for a home file server and for downloading duties, every few days the root filesystem gets remounted as read only, usually requiring a reboot and fsck to get everything running again. The box is tucked away in the roof space to keep the noise down so it's a bit of a pain to keep pulling it out to get console access.troubleshoot what might be causing this?/ is on a raid 1 array on 2 8GB usb sticks last few lines of DMESG EXT3-fs error (device md3): ext3_journal_start_sb: Detected aborted journal

Code:
[632280.290419] journal_bmap: journal block not found at offset 23180 on md3
[632280.290470] Aborting journal on device md3.

[code]....

View 9 Replies View Related

General :: Make A File Read-only Even For Root?

Jun 2, 2010

Remember back in the days of MS-DOS, a file could have 4 different attributes: archive, read-only, hidden, system. As you know, MS-DOS didn't have any user rights or privileges. Files had no owner. If you were at the command line, you could do whatever you wanted, you could change or delete any files you wanted to... so long as they weren't read-only. Under MS-DOS, if you had a read-only file and tried to delete it, you would get an error saying "Cannot delete read-only file". There was a simple remedy to this, just turn off the read-onlyness:

Code:

attrib -r hello.txt

The point I'm trying to make here is that even though you had full permissions over the file, you still had to turn off its read-onlyness before you could make a change. Well I'm trying to do something similar in Linux. Under Linux, the root user has full permissions over every file. But I need to make a particular file read-only so that not even the root user can alter it. I have a few programs on my computer that need to be run as root because they do some low-level networking (raw sockets and the like), and these programs alter my "/etc/resolv.conf" file. Well I need to find a way of making my "/etc/resolv.conf" file READ-ONLY, even for the root user. It doesn't seem as though the Linux filesystem provides a means of doing this, reason being that the root user will always be able to alter any file it wants to. I was thinking though... there's some way I could turn my "/etc/resolv.conf" file into a virtual file of some sort, like maybe I could use some sort of mount program to mount the file as read-only... ?

View 9 Replies View Related

Security :: Get Root Through TR069 And Read Access?

Jul 13, 2010

I have an ADSL modem and router, its OS is linux. It runs ftp service, and I can read files in its file system, but I have no permission to list files and to write files. It has TR069 protocol connections and can upgrade remotely.It has ssh, but not started.

View 1 Replies View Related

Server :: Root Filesystem Keeps Going Read Only / Why This Happening?

May 21, 2009

I'm running CentOS 4.3 on a VM which is an application server for Quinstreet. trouble is when i keep coming in during the mornings it seems to keep making this root filesystem read only. There is no pattern for this and neither is it clear in the messages log why this keeps happening.

View 5 Replies View Related

Ubuntu :: Admin / Root Rights Login To Edit And Read Files

Feb 12, 2011

I'm a new Ubuntu user and a Python programmer, it's the first time that I use Python in Ubuntu so it's a bit confusing me. If I want to save a Module or something in a specified map, I get 'Errno 13', it says that I don't have permission to edit, do thing in that map. And this is also for importing files with Python. I logged in from Terminal with 'sudo -i' and closed Terminal, but the problem keeps repeating. How do I login as Admin or Root and stay as Admin or Root? I need right to edit/read files as well as root and normal user.

An example:
Python file:
test.py ->
test = open('/a.txt', 'w')
test.write('Test - Test - Test')
test.close

When I execute this, I get in the Python IDLE the 'Errno 13' problem and below the 'Errno 13' it says that I don't have permission. Who know how to stay logged in as root, even if the user has not logged in or isn't this possible, if it isn't then I just want to get files moving, editing/erasing etc.

View 9 Replies View Related

Fedora :: Can Non-root User Read BIOS Asset Tag

Mar 12, 2010

If I'm root, I can use the dmidecode command to find out the BIOS Asset Tag value:

Code:

Handle 0x0004, DMI type 3, 17 bytes
Chassis Information
Manufacturer: xxx
Type: xxx

[code]...

Is there a way that a user without root privileges can read this value?

View 4 Replies View Related

General :: Make The Root Device Read/write?

Mar 4, 2011

I need to change a filename but when I boot up I get the message root device is read-only. Is there a way of changing this so that I can change the filename. I have a Mac Pro running Leopard OSX. The graphics card an NVIDIA 7500GT or driver has failed. It was suggested elsewhere that I change the relevant kext files to filename.kext.old, which I did, now when I try to boot start in OSX I get a message in various languages telling me to restart. I have tried booting in safe mode and from original Installation CD. In Safe Mode I get the same multi language splash screen, from CD I still have the graphic card problem, screen freezes and artifacts appear. So I boot up straight into CLI by holding down CMD-S hoping to be able to change filenames back but it says device read-only.

View 2 Replies View Related

Ubuntu Installation :: Over Old XP Install - SQUASHFS Errors

Jan 19, 2011

I'm installing 10.10 on another laptop (after successful and enjoyable install on previous laptop) but am running into some snags:

-Inserting 10.10 disc I got in the mail from Ubuntu, laptop boots from CD as it should, logo pops up and install begins.

-Start getting a string of error messages, most of which are the "SQUASHFS" errors.

Is this an issue with my XP configuration? Would I be better suited to format the HD and erase XP and start from there?

View 1 Replies View Related

Fedora Security :: Make The Root File System Read-only

Jun 23, 2009

I am interested in making the root file system is read-only. I've moved /var and /tmp file systems to another partitions. There are two files in the /etc directory that need to be writable.

These are:

I've moved this files to /var and linked it. I've added command to the /etc/rc.d/rc.local file:

That's it. Are there other solutions to make the root file system is read-only?

View 1 Replies View Related

OpenSUSE Install :: User 'root' Can Read The Content Of The File

Apr 12, 2011

I came across this issue today and it changes everything I know about file permissions in linux. I created the following files in my system :

Code:

/tmp> ls -lad /tmp/testperm/
drwx------ 2 sagi users 4096 Apr 12 20:23 /tmp/testperm/
/tmp> ls -lad /tmp/testperm/file.txt
-rw------- 1 sagi users 12 Apr 12 20:23 /tmp/testperm/file.txt

[code]....

One more thing, as you can see I also set that only the owner of the directory (which is me again) can read and cd (the execute bit) to the directory. how come user 'root' can read the content of the file ?

Code:

# id
uid=0(root) gid=0(root) groups=0(root)
# cat /tmp/testperm/file.txt
Hello world

[code]....

View 9 Replies View Related

OpenSUSE Install :: Boot-up Results In A Read-only Root Drive?

May 20, 2011

Somehow, the wife got her laptop into this situation yesterday. The Windows partition booted normally when selected from GRUB but os 11.3 would boot to a command line login and pretty much everything besides CTRL-D was useless as the root partition was ro.

I booted a live CD and found two a couple of strange things. First, the system clock was reset to the default date/time (2007-xx-xx). I reset that. Second, after correcting the time I ran fsck on the root and home partitions. Both went through with no errors reported but the 20GB root partition took a long,long time to complete while the 80GB home partition went pretty quickly. After doing the above, the system booted normally but both partitions reported running the transaction log as well as forcing fsck where I had just done that. My question is for future reference: how does the system react to a grossly incorrect date/time, especially where all the drive data reports being much later than the reported system time? Would this be the reason for what I saw? I have no idea how the wife managed to reset the system clock, even if the

View 2 Replies View Related

General :: Setting Read Permissions Of A Directory For Root User Only?

Mar 21, 2010

I'm using ubuntu 9.10. I used the command:

root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private to set the permissions of Private folder for root but it is giving error:

Code:
root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private
chown: changing ownership of `/media/104B-FF96/Private/5.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/6.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/7.jpg': Operation not permitted

[Code].....

View 5 Replies View Related

Ubuntu Installation :: Cannot Format HDD - Squashfs Rofs Will Not Delete?

May 13, 2011

I have a second hand/used HDD which I want to use for an installation of 11.04 from CD. I have used this CD on identical hardware successfully before.When trying to install, Ubuntu sees that I do not have enough space on the HDD and tells me that only 657MiB is present and that 100% is in use. (see attached screenshots) I used DBAN thinking that this would completely wipe the drive but it has not solved things. DBAN recognised the drive as 152GiB.

View 7 Replies View Related

Debian Configuration :: Start X Server In A Read Only Root File System?

Apr 27, 2010

For my project, it's absolutely necessary to have a read-only root partition system. I have a writable /opt/project partition.But, I also need to start x server. startx This tries to write to some temporary files and fails as / is readonly. Is there any how-to on how to move this temporary files to the writable portions of the file system.

View 3 Replies View Related

General :: Root File System Is Mounted Read-only On Boot On Gentoo?

Sep 27, 2010

I am using Gentoo Linux and for a while now, the root file system is mounted read-only on booting. For obvious reasons, this is quite annoying as most services do not start up correctly (I do not use a separate file system for /var). After the system is up, I have to log in, remount the root file system read-write, fix /etc/mtab, mount all other file systems in from /etc/fstab and then start up all the missing daemons. I know that there are ways to make a system run properly with a read-only file system, but I would rather restore the old behaviour of a writable root file system.

The strange thing is that after running mount / -o remount,rw, the file system is mounted in writable mode without any errors. I suspected some problem with fsck, but now I have disabled automatic file system checks on the partition (tune2fs -c0 -i0).When I run dmesg, only these lines mention the partition at all, although I am not sure if not something gets lost because /var/log is not writable:

EXT3-fs (sda5): mounted filesystem with writeback data mode</code>
EXT3-fs (sda5): using internal journal
The line in /etc/fstab looks like this:

[code]....

View 2 Replies View Related

General :: Allowing Read Write To Ext3 Partition To Non-root Users

Mar 18, 2010

I need to allow non-root users to read/write on an ext3 partition.

Below is the relevant output from fdisk -l

Code:

The partition in question is /dev/sda4 and it is mounted as /Data (setup during installation).

View 2 Replies View Related

Ubuntu :: Error - Mounting /dev/loop0 On //filesystem.squashfs Failed

Sep 6, 2010

I've just got a new laptop with 4GB RAM available, in order to fully utilize the available memory I'm going to install Ubuntu Lucid Lynx 64bit, but when I boot with Live CD, I always get the following errors:

Code:

BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) mount: mounting /dev/loop0 on //filesystem.squashfs failed: Input/output error
Can not mount /dev/loop0 (/cdrom/casper/filesystem.squashfs) on //filesystem.squashfs

View 1 Replies View Related

Ubuntu Installation :: Live CD Cannot Mount /dev/loop0 On //filesystem.squashfs?

Mar 14, 2011

xubuntu iso was downloaded with wget on Kubuntu, I did a md5sum checksum in terminal which passed, also K3b's check passed. K3b burned iso with no errors, I set speed at 4x. I made two coasters before getting this far but it still won't get past the BusyBox built-in shell prompt after choosing my language and staring at the xfce mouse for a minute:

Code:
BusyBox v15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
(initramfs) Can not mount /dev/loop0 (/cdrom/casper/filesystem.squashfs) on //filesystem.squashfs
is what I get when trying to boot live cd on both my Linux PC and Windows XP box.

View 1 Replies View Related

Ubuntu :: "Data Error In 'casper/filesystem.squashfs'

Jul 29, 2011

I am trying to put Ubuntu on my USB.

I use the tool here (as recomended by Ubuntu) to put it on my USB. It seems to work well up until it says "Data error in 'casper/filesystem.squashfs'. File is broken".

I tried to install it anyways (I know how to work the BIOS and everything) and the installation just stops with an error message.

View 2 Replies View Related

Networking :: Run The Job Under A Root Account And Deny Read/write Access To A Normal User?

Jan 18, 2010

I'm setting up Ubuntu Karmic on my sister's old computer for my nephew, he's quite young so my sister asked to install some content filtering. I'll first setup an OpenDNS account and I've installed and managed to get dansguardian and squid working on a virtual machine to try it out. so far it's working pretty well, but I need to secure it form the inside out.

I was thinking of blocking specific outbound ports so he could not bypass the proxy. because by default the firefox configuration can be easily changed. so I have a couple of questions.

1. is it possible to block outgoing ports on Ubuntu?
2. is that the best method?
3. is there anything else I should be aware of to prevent subversion?

lastly, this question is probably unrelated to this board but I've set up a cron job to update a dynamic ip with OpenDNS, the problem is that the password is in clear text in the user's crontab, can I play with permissions? is it possible to run the job under a root account and deny read/write access to a normal user?

View 1 Replies View Related

Ubuntu Installation :: Upgrade 10.04 - (Cannot Mount Dev / Loop0 On Filesystem.squashfs Failed)

Sep 9, 2010

I upgraded 9.10 to 10.04 via the web. The program announced it would take several hours, and when I came back to check, computer was off (kids?). Anyway, machine boots and 10.04 starts, but then blinks a few times and goes to a prompt. What should I tell it?

I have a 10.04 disc too, but it won't run from that either (Cannot mount dev/loop0 on filesystem.squashfs failed). Same message when I tried to start a nearby Windows machine with it. Disc "verified" when I made it. What's with that?

View 2 Replies View Related







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