Software :: Change Libraries In A Root File System?

Jul 14, 2010

trying to modify my ubuntu 2.6.27 root file system so that it can use a android kernel. I have built the android kernel myself and it boots up. Now for the RFS to work it needs the android libraries. Now I have the Android libraries-I extracted these from the Android 2.6.27- but how do I merge these with MY root file system

View 1 Replies


ADVERTISEMENT

Programming :: GNU Make - System Libraries And File Permissions

Jan 27, 2010

I am trying to compile a C++ source file into a static library using make with root privileges (i.e., using "sudo"). However, I "sometimes" get the following compilation error:

Code:
g++ -Wall -g -fPIC -W -c /home/project/ether/src/packet-ethernet.cc
ar -cvq libether.a /home/project/ether/src/packet-ethernet.o
ar: /home/project/ether/src/packet-ethernet.o: No such file or directory
make: *** [libether.a] Error 1

I checked /home/project/ether/src folder to see if packet-ethernet.o in fact does not exist, and saw that it is actually located there, but its owner is "root", which is different from the current user. If I change the owner of packet_ethernet.o from root to the current user using "chown" command and execute make again with sudo, everything seems to be fine.

It may be a coincidence that I recently migrated to 64-bit platform from 32-bit, and then installed libboost-filesystem1.40-dev. After that, I began to experience such errors. I have "never" come across such a compilation error before. Even though I completely removed libboost-filesystem1.40-dev afterwards to see if it causes the problem, nothing changed.

After migrating to 64-bit and installing libboost-filesystem1.40-dev, my application exhibited another "weird" behaviour such that it produced "hidden" files using mkdir() system call, which were previously created as regular ones on the filesystem. Can compiler options that I use cause such problems? Is it possible that libboost-filesystem1.40-dev overwrote some system libraries so that I am getting such errors ?

View 1 Replies View Related

Ubuntu :: "Check That You ARE NOT Root, Never Run Similar Tools As Root! Just Change File Permissions"

Jul 11, 2011

I'm very new to Linux, i'm running Ubuntu and i'm trying to install a program. In the instructions it says "Check that you ARE NOT root, never run similar tools as root! just change file permissions". How do i check if i'm root or what am I supposed to do here?

View 7 Replies View Related

General :: Cannot Open File In RW Mode - Filling Root File System With Log Files

Nov 3, 2010

I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.

View 6 Replies View Related

General :: Unable To Change System Time As Non-Root User

May 6, 2011

I need to edit the system time as a not-root user. I am carrying out the following actions in my program.

1. Read the User Id of the process. User_ID= getuid()
2. Printing Capabilities(Permitted, Efffective, Inheritable)of the process
3. Setting UID = 0, using setuid(0)
4. Calling the prctl(), function to keep capabilities
5.Switching the UID from root to User_ID of the process
6. What we have now is a process with root capabilities as a non root user
7. On printing Permitted, Effective, Inheritable capabilities, I get the following
--> Permitted = 0xfffffeff = Effective
Inheritable = 0x0; with UID = 1001;
8. I then try and set the system time with --> system("date -s 10:00");
9. I get an error: date: cannot set date: Operation not permitted
10. I am unable to understand as to why I cannot set the time even thought the capability bit CAP_SYS_TIME in the Permitted and Effective sets are SET.

View 3 Replies View Related

OpenSUSE Install :: 11.0 - Which System To Mount To Change The Root Forgotten Password

Jan 12, 2010

I have a Suse 11.0 Server that has been running for a long time and I have not had to touch it, well I need to get into it today and I forgot the password. So I booted it up with the install disc and got into the rescue mode but I am not sure how or which system to mount to change the root password I tried sda and sda1 but it errored out with unknown system type

View 4 Replies View Related

OpenSUSE :: Can't Change File Permissions As Root

Sep 25, 2010

I just wanted to set some file permissions right. As root:

Code:
# chown -R kikinovak:users /home/kikinovak/Documents

But all I get is a series of "Operation not permitted" errors. What's going on here? I tried this:

Code:
# find /home/kikinovak/Documents -type d -exec chmod 0755 {} ;

... with the same strange errors.

View 3 Replies View Related

General :: Root To Change The Ownership Of A File?

Jun 17, 2011

Why would I need to be root to change the ownership of a file? Example: I'm logged in as dwadmin and I've created a file:

-rw-rw---- 1 dwadmin dgw 0 Jun 17 07:46 testing.txt

I want to change the ownership to another user, but am getting the following error: chown 511 testing.txt chown: changing ownership of `testing.txt': Operation not permitted

View 5 Replies View Related

Fedora :: Where Configuration File To Change Root Logins?

Nov 5, 2009

Can someone tell me where the configuration file is to change root logins?

View 1 Replies View Related

Ubuntu :: File Permissions / Ownership - Even Root Cannot Change

Aug 30, 2010

I have been VERY lucky and managed to restore from a formatted ext3 /home/ partition. I used testdisk to reset the original partition which had had nothing done to it since formatting(!). However some of the file permissions are a altered and I cannot change them. I have tried "su chmod" and even temporarily enabled the root account itself and tried to alter the ownership/permissions from root 'proper' without it helping.

Here is an example of the output of ls -l
drwxr-xr-x 2 martyn martyn 4096 (date) (time) sponsors
?-----S--T 63231 92820383 44090688 4286824785 (date) (time) order.xls

The first line looks like a normally formed output and indeed is readable. The second line looks corrupted and I don't have a clue how I can reclaim this - or even if it is possible. Should I count my blessings most of my files are intact and leave those be?

View 2 Replies View Related

General :: Cannot Change File Permissions On A Mounted File System

Apr 6, 2010

I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab

Code:

/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0

Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.

View 2 Replies View Related

Fedora :: Could Not Find The File System Drv/root

Oct 11, 2009

well i was messing with the Gparted live disk and i deleted a small partition of about 6 megs (yes megs). trying to be efficient doing some cleanup of course. but when i rebooted my Fedora 10 i get the black screen saying," could not find the file system. /dev/root". ok, i am useing the fedora 10 live cd now. can i copy that file to my hard drive from the cd? or do i need to reinstall Fedora?

View 1 Replies View Related

Fedora :: Root File System Out Of Memory?

May 22, 2011

I have worked in linux for a long time but never managed the system until I got my own server, which is running Fedora 14. I have a 3 TB Drive and apparently can only handle 2 TB. At least the Disk Analyzer is telling me that 2TB is 100% max capacity. Also viewing disk analyzer, I am only using 50GB of my 2TB but I am out of memory in the Root file system. If I run df -h, I get he following:

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_dev1-lv_root
50G 40G 7.2G 85% /

[code]....

View 4 Replies View Related

Ubuntu Installation :: No Root File System ?

Feb 6, 2010

Trying to install from netbootin...gives me that error.

View 4 Replies View Related

Ubuntu :: No Root File System Is Defined

May 18, 2010

I have been using Ubuntu 9.10 Desktop version for around 1 month then i stoped using after installing windows 7, as I knew that there were the 10.04 version coming. So when it was released i went to torrent download the file and burned it on a cd. After that i insert the cd and use the wubi installer in there as i want to install them side by side. so after installing ubuntu i restarted the system and got into it. After a few minutes it appeared this error message "Not root file system is defined. Please correct this from the partitioning menu." So i was expecting it to be downloading problems. I went on to ubuntu website requested for a CD and it came today. So i inserted the cd did the same thing again.

View 9 Replies View Related

Ubuntu :: Possible To Run Fsck On Root File System?

Sep 19, 2010

Is it possible to run fsck on the root file system?
My Ubuntu 10.04 seems to be checking it's fs at boot...
It shows that the file system is in use and can get severely damaged!
Or the only possibility is to run it from a live CD?

View 2 Replies View Related

Ubuntu :: Cleaning Up Root File System

Dec 16, 2010

My current installation setup has a separate partition for /, /boot, /home, /tmp, /usr, and /var. The problem I have is the root partition / is 98% full (4.3GB full). Cleaning temp files and log files won't help since they are on their own partition (and clean). I've removed all but two linux-images. Linux images seem to run at a size of roughly 105M. My root partition is 4.6GB. I can't seem to find any other options for cleaning up space on this partition. I have no idea what is taking up 4.6GB of space.

Disk Usage Analyzer has not been helpful since I have not been able to reconcile 4.6GB of memory with what it claims the total size of the remaining directories occupy. I've tried localepurge, gtkorphan, apt-get clean, apt-get autoclean, apt-get autoremove. I've removed all packages listed under Status -> Not Installed in the package manager. My root file system is still 98% full (4.3GB full).

View 7 Replies View Related

Ubuntu :: No Root File System Is Defined 11.04?

May 11, 2011

Classic partition problem apparently. What do I do? the 11.04 wubi doesn't give a lot of installation options, so i just selected C drive, and gave it 10GB of space. instilled it, and when it goes to the desktop menu, that pop up appears saying No root file system is defined. Please correct this from the partitioning menu

In dual booting with XP. what do I do?

View 1 Replies View Related

Ubuntu :: No Root File System Is Defined?

Aug 6, 2011

I'm trying to install 11.04 and get the error warning in the title. It says "Please correct this from the partitioning menu."How do I do that?I don't see any options for that.Puppy will already boot from that device and has grub installed.

View 9 Replies View Related

SUSE :: Encrypted Root File System On LVM

Jul 12, 2010

I try to encrypt root file system on Opensuse 11.1 and I have found up to two possibilities.

1. [url]

2. [url]

In the first case, i have a Problem with entering password, for each partition on encrypted disk, i must enter my password.(For 3 partition 3 times)

And in the second version to get i nowhere.

Code:

View 5 Replies View Related

General :: Can't Mount Root File System

Apr 6, 2011

I am getting an error while booting my linux system: Can't mount root file system.Boot has failed, sleeping forever.OS is Red hat enterprise linux 6, With Intel P4, 1 GB Ram, 120 GB IDE hdd seagate. it was working fine from last 4 days. from today morning this is giving error. only mysql & apache is installed in it.
please suggest is there any way to repair the root & boot volumes. waiting for valuable reply.

View 2 Replies View Related

General :: Encrypting Root File System?

Sep 16, 2010

Is it possible to encrypt the Entire root file system using LUKS.I am currently using Ubuntu 10.4 LUCID.After several hours of Google ,most of the articles were focusing to "Encrypting a drive/removable media ".. My aim is to encrypt whole File system which is currently using.

My Concerns, How to Encrypt a running file system? Will it lead to data loss?

View 1 Replies View Related

General :: No Root File System Defined?

Feb 4, 2010

im trying to prepare my partitions for fresh installation. The partition manager didnt list anything with an error message that said:Quote:No root file system is defined. Please correct this from the partitioning menu?This is what Gparted displays Quote:

/dev/sda1 ext3 /tmp/boot
/dev/sda2 unknown
/dev/sda3 ext3 /tmp/opsys

View 14 Replies View Related

Slackware :: Fsck And Root File System ?

Sep 22, 2010

I would like to know if there is a way to do an unattended check on the root file system on my servers, *and* send emails in case of errors.

I know you can schedule a root file system fsck during boot time - but the root file system will be mounted read-only - so if fsck finds any problems - it can't email away a warning, or write the result to a file - or can it?

Essentially I would like my servers to do a self-check of the root file system periodically - and to email me if it fails. I just can't think of a way to get it done.

View 2 Replies View Related

CentOS 5 :: How To Cleanup Root File System

Jan 31, 2010

I have a problem that is probably simple, but have not yet found the answer on any forums or by Googling. First my system specs:Tyan 2610 motherboard w/ 2 x PIII 9334 gig PC133 SDRAM
1 x 5 gig hd (system)4 x 500 gig hds w/ 3Ware 7500 controller set to RAID 5, (1.5 TB) mounted as /homeCentOS 5.3 running my smb and nfs mountsMy problem is that I have run out of space on my / (root) file system, (the 5 gig). Since I am planing to rebuild my file server with larger hard drives, (2 x's 60 gig SATA's set to RAID 1, 6 x's 1.5 TB at RAID 5), within the next 2 months, I would like to try to clean out any unneeded crap rather than adding a hard drive and expanding my root file system. I have done the following:

Removed old unused kernels
cleaned up /var/log/
cleaned up /tmp

[code]....

View 8 Replies View Related

General :: How To Get Root And Install Libraries, Netcdf, And Wrf In Fedora 14

Jul 10, 2011

I found difficulties on installing software in fedora 14. I'm trying this for 2 weeks and still there is no progress. I am forced to use fedora 14 as my OS since WRF is good in linux OS. I am hoping for soonest response for this matter because I need to run this as soon as possible for my thesis. and also A step by step solution for me to understand and install w/o any problems.

View 13 Replies View Related

Ubuntu :: Mount Of Root File System Failed?

Feb 23, 2010

I have had this problem since yesterday, I've looked around at previous archives, but I can't seem to find anything that works. When I boot up, the screen gives me the following prompt:

Code:
Mount of root filesystem failed.
A maintenance shel will now be started.
CONTROL-D will terminate this shell and reboot the system.
Give root password for maintenance:

[Code]....

View 9 Replies View Related

Ubuntu Installation :: No Root File System Is Defined / What To Do?

Jun 10, 2010

So I have an external hard drive (wd passport) that I want to install ubuntu on. I created 100gb partition via diskutility (fat32) and it seems I can't install ubuntu on this partition.

View 3 Replies View Related

Ubuntu Installation :: Root File System Undefined?

Aug 8, 2010

I would like to start off by saying this: I am very new to Linux, and this is my first time installing it, therefor I am having some very newb-like issues. Please bear with me.I am currently at step five of the installation process of Ubuntu, and I clicked on the partition which I have set aside to install Ubuntu onto, but when I proceed by hitting forward, I get the following error message:"No root file system is defined.Please correct this from the partitioning menu."My question to the community is, how would I correct that? How do I turn my 20GB partition into the root file system?P.S. I searched the forum for this issue, and being that it sounds so simple, yet I found nothing about it being previously asked, I feel sort of dumb....

View 9 Replies View Related

Ubuntu Installation :: No Root File System Is Defined?

Oct 20, 2010

When I tried to install 10.10 'side by side' with 10.04 and OpenArtist for triple booting I get the messageQuote:No root file system is defined. Please correct this from the partitioning menu.I don't have the screen in front of me now but what5 does it want me to do and how do I do it?

View 9 Replies View Related







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