General :: Solve Some Partition Based Query?
Sep 16, 2010how to applied permission on /etc directory. i want to deny all permission except me(owner).....is this possible?
View 1 Replieshow to applied permission on /etc directory. i want to deny all permission except me(owner).....is this possible?
View 1 RepliesI'm using LVM-based partitioning. I can not mount one partition. Here is some information I can provide.
Untitled-1.png
snapshot7.png
snapshot8.png
This incident happened after I try to encrypt this partition and then an error message appears. If not mistaken, it contains an error number (I forget) and a warning which reads that can not remove the LABEL on the devices.
I currently have FC3 Linux which installed itself on the hard disk using LVM partitioning, so it is basically all one big partition. I would like to try some other distributions and upgrade to something newer, but don't want to lose my current capabilities and data files, and I know nothing or less about LVM. Is it possible (and if so an example would be nice) to install a non-LVM-based distribution on the LVM disk and have multi-boot options? Or do I have to start over new and drop the LVM? My guess is that I should save my /home (data files and .rc files) on a backup device first, then somewhere/somehow create a new partition for installing another distribution.
View 1 Replies View RelatedI have recently setup my laptop to dual boot Win 7 and Karmic. Before I installed Karmic I shrank the space on one of the drives to accommodate Ubuntu. However, when I put the live CD in the drive - it gave me the option of installing Karmic next to Windoze or in the free space that I had created. I chose it to go next to Win 7 because it inferred that a choice of OS would be given on boot up by putting it next to Win 7.
However, I have a 35Gb 'unallocated' (as stated by GParted) - this is the space that I created but have not used. I wanted to remove this partition to maximise potential storage and would be grateful for advice on how this can be achieved.
is it possible to use a Windows-based recovery partition on a dual-boot computer to overwrite the Ubuntu partition and remove the GRUB loader? For instance, if you booted up your computer, accessed the hidden recovery partition and used it to reset the computer to it's factory default settings, would that effectively remove the Ubuntu partition and the GRUB loader? Would a completely new installation of Windows overwrite/uninstall Ubuntu and GRUB automatically?
View 4 Replies View RelatedI'm dual booting with Win Xp at the moment and have been google-ing and tinkering about with my distro and i'm learning new stuff everyday but I have a question about something that's been bothering me. I think i've figured out that the / partition is similar to the C: Drive in windows which contains program files n stuff am i right? and the home partition which contains users and their files is an offshoot of the root?
So if this is the case, i was in the expert partitioner in YAST to see how the the drive was partitioned and was wondering if the / partition was too big and if i could decrease the size and add it to the /home?. My sys specs are 512mb RAM Dell Dimension 3000 with an 80GB HDD 2.8Ghz Intel Celeron. I also have a 80Gb and 160Gb External laptop drives mainly for my movies n music n stuff. Also is the Swap partition a good size for the spec of computer i have?
Here's the HDD Breakdown:
/dev/sda 74.51GB
/dev/sda1 29.52 GB NTFS /windows/c
/dev/sda2 44.99GB Extended
[code]....
I'm trying to install jaunty at the moment, running off of live CD, and for some odd reason, the excellent sliding partitioner in hardy has been removed and I have to prepare my partitions beforehand. Unfortunatley the reason I am installing ubuntu on this particular computer is because (surprise) windows failed. Basically this means, although I'd be happy to install 'buntu to my whole HDD, I, or more specifically, some relatives, have important data on the windows partition making this unacceptable. I tried changing the vista partition size via GParted, but all the options are greyed out and I can't even give myself a not so generous 100GB of space. (180GB~ free space on HDD). Any help would be greatly appreciated, but if I loose this data (and through extension, the gov't looses their precious income taxes).
View 6 Replies View RelatedI notice that on DistroWatch, the descriptions include "debian based", "arch based", etc. For the newbie, is there any practical difference between the different bases, or is it a Coke vs Pepsi type question?
Is a distro based on Debian say, easier for a newbie to learn or work with than say one that is FreeBSD based?
I have a RAID 5 array, md0, with three full-disk (non-partitioned) members, sdb, sdc, and sdd. My computer will hang during the AHCI BIOS if AHCI is enabled instead of IDE, if these drives are plugged in. I believe it may be because I'm using the whole disk, and the AHCI BIOS expects an MBR to be on the drive (I don't know why it would care).
Is there a way to convert the array to use members sdb1, sdc1 and sdd1, partitioned MBR with 0xFD RAID partitions?
Whats better partition based install or LVM based install?Does one perform better than the other?I have a 640 gig drive.I have win 7 installed on a 360 gig partition.The remaining space is free.
View 4 Replies View RelatedI have a gateway laptop that I have attempted to dual boot, but the computer only sees the Ubuntu OS and the Vista Windows Recovery Partition. (Actually, gnome reports 3 separate Ubuntu OSs... part of the problem?)
When I type fdisk -l, I get the following message code...
When you use an IDE and it asks you if you want frame based or dialog based, what is the difference?
View 1 Replies View Relatedwhat distro should i use, rpm based or debian based?
View 2 Replies View RelatedIs there any API to get partition name based on file path in C on Linux OS?
View 1 Replies View RelatedMy goal is to download a .deb package(e.g vlc) from the cmd line so that I do not always need to connect to the internet using the normal apt-get install cmdFrom the cmd line I typed sudo apt-get -d install vlc. After the operation is completed, is the downloaded file in a .deb form and where is it downloaded to?
View 3 Replies View RelatedI have an application in my company PC running on Fedora Linux.Can dyndns be used to access from outside world?
View 5 Replies View RelatedI'm using Net::Bluetooth to create an RFCOMM socket on my Linux box. I need for it to register with SDP with a specific UUID. The perl code can be viewed in this link. I am unable to make the connection from a remote device however. This remote device (my Android phone) is able to connect to other RFCOMM devices using this UUID. I would like to troubleshoot the problem, but I can't find a way to browse the LOCAL SDP records of my PC where the Perl script is running (and waiting for incoming BT connections). how to browse the SDP records on the local PC?
View 1 Replies View RelatedI configured ldap server & client on centos,then i connected centos and suse with network.now want to get group of any user from this server via suse.is it possible with perl scripts? or i need to install other modules on suse or centos?(such as : pam,nss)
View 8 Replies View Relatedi want to know how to view tamil websites in redhat linux EL5.pls assist to know the detail.
View 5 Replies View RelatedI have the following mysql query which works great.
Code:
SELECT msg FROM `logs` WHERE ((`host` = 'aaa.bbb.ccc.ddd') OR (`host` = 'aaa.bbb.ccc.ddd')) AND `msg` REGEXP CONVERT( _utf8 'physical addresses' USING latin1 ) COLLATE latin1_swedish_ci
I need to refine this query so that I can query the last # hours using the `datetime` field in the database. I have researched the DATE_SUB function and can query for example the last 1 hour like this:
[Code]....
i have a server which was handover me, it has redhat 4 u3.but i cant find the machine model no, it is hp g4 server, so this info from linux where can i see
2nd if i want to know what is the bios version and date how can i see from linux.
3rd if any hardware failing like network card, ram memory, hard disk how we come to know hardware.
I am on a CentOS 64 bit and used webmin to rotate MySQL slow query log. Now the thing is although logs are being rotated daily but the new log files being created are empty which means MySQL is unable to write them due to some reason. I have checked using "ls -l" that both permission and owner of files is same but still MySQL is not writing logs. What could be the reason?
View 10 Replies View RelatedI have Fedora11 machine : 192.168.0.3 ( Bare metal )--> vinay.linux.com
Another Fedora 11 machine : 192.168.0.4 ----> test.linux.com
Virtual Machine on FC11 : 192.168.0.6 ( VM )-----> centos.linux.com
I have DNS configured on Fedora11 machine, Also I have checked the connectivity of centos.linux.com to port 53 of DNS.
Here is my /etc/named.conf file of FC11 machine code...
I have a ClarkConnect (CentOS based) box running as my home router on a RR connection. I had the DNS servers set up to use Google's DNS server. I want to change them back to the local DNS servers but I can't find an obvious/easy way to get those address short of a) reconfiguring the router's network to DHCP them (would rather not interrupt everyone) or b) calling their tech support (kill me now!). Is there a command line tool/command I can use to query the DHCP server on the external NIC to see what DNS servers it would set me up with w/o munging my existing setup?
View 1 Replies View RelatedThis query is giving "Unable to open data base" can anybody suggest what's wrong with this query.
sudo echo "SELECT datetime(moz_historyvisits.visit_date/1000000,'unixepoch'), moz_places.url
FROM moz_places, moz_historyvisits
WHERE moz_places.id = moz_historyvisits.place_id;" | sqlite3 moz_places.sqlite, moz_historyvisits.sqlite
I am connecting to MySQL DataBase using shellscript and writing a select statement like select attachmentid from attachments where pageid=10175 I want to store the output of the select statement into a shellvariable or a file. How can i do it using shellscript.
View 4 Replies View RelatedI want to install mysql query browser in debian
View 1 Replies View RelatedI have a logfile which looks like:
tableabc 1786rows
tabledfg 8374rows
tablefhd 726rows
[code].......
Now i have to writ a script which takes this log as input and quesries the DB for each table. So,I want to: input the logfile
start a while loop.So,while read LINE This variable LINE would store the table name by CUT using a delimiter once the table name is ready it makes a connection to DB and queries the table for its rowcount writes the rowcount to an O/P file.
I am using "if" to force a word under the condition that the first letter of that word must be a letter of the alphabet, regardless of capitalization, using the " "" != "" " syntax.
Like so:
Code:
if [[ "$interface" != "WHAT DO I PUT HERE?" ]] ; then
echo "Invalid input"
exit 1
fi
I have inherited our Linux packaging and as the number of versions increase, the number of conflicts is starting to get a bit unmanageable. I believe the easiest way would have been to keep the package names the same and just change the release in the spec file but unfortunately I am past that as a lot of these packages are rolled out to our estate. (I am told there were reasons for not keeping the package name the same and incrementing the version/release)
Is it possible to wildcard conflicts so I don't need to keep adding as new versions are created. For example, instead of using all the conflicts below, have something along the lines of AAtest45* <= 1.4 & BBtest45* <= 1.4 Meaning that all I would need to do was change this to 1.5 at the next release (the packages below version matched the release in the spec file)
[Code]....