Today, someone who had problems with his usb flash drive showed it to me. I plugged it in my linux box.
Code:
cat /proc/partitions
only showed
Code:
sdb
and no partition name (sdb1, etc.). So I ran fdisk on it I deleted all the partitions (4 in all) and recreated a single partition taking up the whole drive and marked it as c (win32 vfat) I exited fdisk (w) and formatted the new partition
I removed an ntfs partition I had in my HD and then resized my home partition with gparted to occupy all the available space. The resulting partition is supposed to be 129GB, and gparted/partition magic see that size. But the system does not, and all tools report the old partition size and the same free space I had before resizing.
When I setup Intrepid (upgraded to Jaunty now), I chose to create a swap partition. I don't remember the size I specified. Here's what I'm confused about When I do 'cat /proc/meminfo' or 'free' or use the system monitor, it reports my swap size as 1262304 KB (i.e. 1.2GB). But if I do a 'fdisk -l', the partition size is reported as 746991 blocks (of 1024 bytes) and if I use the partition editor it says it's 729.48MB. XP disk mgmt shows it as app. 700MB too
My MP3 Player (Zen:Vision:M) has roughly 60 GB of space and yet Ubuntu insists only 3.6 GB is available. I know this is not true because in Windows the correct amount of room is displayed and can be filled up. Because my music collection is stored in my Linux partition I need to solve this issue if I'm going to actually use my MP3 Player. What is also interesting is the fact that the device doesn't show up in Gparted, System Monitor or fdisk.
When I attempt to look at the Zen's contents through Nautilus I get this message:
Error initializing camera: -1: Unspecified error
And when I update through Banshee every song gives an error of:
I have an OCZ Mini-Kart USB stick which says 2GB on it, and it has been a 2GB stick for the last 3 years. However, I recently put it into a PC running XP (which had no viruses as far as I am aware) and all of the files in the single subdirectory became corrupted and unreadable. All files at the root of the USB stick were fine, and I could still boot from it (I had Puppy linux installed).
I looked to see if the corrupted files in the subdirectory were recoverable, but they were all inaccessible, (with freshly mangled file-names containing multiple copies of the characters '�' and '=' amongst others), and reporting file sizes of up to 1.9GB each. I examined the memory stick with fdisk and with Gparted, and saw that it was reporting two 2GB partitions, which was certainly not the case before, as I had recreated the partition table several times in the past.
I removed all partitions, created a new partition table and recreated a single partition, which is now 4GB in size. I have trashed it and recreated it three times, formatting it with ext3, ext2 and finally FAT32, all of which reported a partition size of 4GB. I currently have a 4GB FAT 32 partition, and have tested it by successfully copying a 3GB .iso file to it.
Although it's nice to have a 4GB memory stick, it does seem rather odd and I no longer trust it with my data.
I am using the Gnome desktop in Lenny 5.03The default Gedit paper size is "US Letter", which is almost right for my HP Laserjet 4L, except that about .5 inch at the top and .25 inch at the left margin are cut off.I have defined a "Custom Size" under File -> Page Setup -> Manage Custom Sizes... with margin settings that solve the problem, but this "Custom Size" only remains the default Paper Size for printing until Gedit is closed.Using what appears to be the same gnome dialog from epiphany and evolution, the Papersize settings stick, but not from Gedit. I cannot locate any configuration file to edit, and nothing in the gconf editor seems to apply.
I am running CPU tests on a radio controller to determine max simultanious calls. A tool using top was developed so that we could get a good look at what exactly was happening on the process level, however we are mainly interested in one object running on the box.The box has a single core Celeron processsor running the Wind River Linux platform. The CPU usage from my object is frequently spiking over 100%. Doing some research online so far has led me to the fact that a multicore processor can do this however I have found no mention of a single core processor displaying this behavior.
I created Live USB with OpenSUSE 11.3 using "hard way" method from FAQ, i.e. using dd command. Now I want to delete OpenSUSE from USB stick. I have Kubuntu installed, so I follow the steps described in here, but I can only create 1Gb partition on my stick while it has 2Gb capacity. KDE Partition Manager also only shows 1Gb on the USB stick. What is going wrong?
PS. Similar issue is described in [URL]..But mine is slightly different.
I need to install a package. For that I need root access. However the system says that I am not in sudoers file. When trying to edit one, it complains alike! How I am supposed to add myself to the sudoers file if I don't have the right to edit one? I have installed this system and only administrator. What can I do?
Edit: I have tried visudo already. It requires me to be in sudoers in the first place.
i was writing a .img file to my usb stick with ImageWriter, but it didn't seem to do anything so i clicked the close gtk button and pulled the stick out of my pc. now my pc gives my an when i try to open the stick. is there any way to fix this. I can use win xp pro, win xp media center, win 7 starter, ubuntu 9.10 and ubuntu 10.04
I'm about to ditch Freenas as my NAS software and make it an Ubuntu server box. The mainboard is an Asus AT3ION-T dual core Atom board. Freenas runs happily from USB stick. I have no optical device to install Ubuntu from and would like to install Ubuntu Server to a USB stick.
I have noticed this now for the 125 time that when you mount a volume and use mount to see if it is ro or rw, it says rw, but actually is read only.
Why is mount reporting it wrong?
systema3:/vol/mysql_vo2 on /mnt/mysql2 type nfs (rw,addr=192.168.10.82)
vs
failed to change ownership of `/mnt/mysql2/.snapshot/hourly.5/v240-2-bin.058' to mysql:mysql chown: changing ownership of `/mnt/mysql2/.snapshot/hourly.5': Read-only file system
I installed Fedora 15 twice last night because I thought I had screwed up the installation somehow when I ran a df -h and found that it reported all my LVM partitions twice (/, /home, and /var) and it also showed /var/tmp mounted on the same logical volume that /var was mounted on (lv02 = /var AND lv02=/var/tmp). I've never seen this before and it definitely didn't appear like this in Fedora 14. Is this something new to Fedora 15?
I was struggling to find the information so I thought it would be easier to ask here. What does the load average as reported by top mean ? To me those are 3 mysterious values, which most likely refer to some average CPU usage and this is all I know about it (not sure if it's true).What is the maximum value for this parameter (I guess the minimum is 0.00) and what does it mean ?
I inherited a centos 5.2 server at my work. I didn't know anything about it when I got it except that the fate of the organization rested on my ability to manage it. I've gotten along fine with it. I don't really like it, but it mostly works. I learned a lot in the process. Anyway, I went bought some more ram for the box because, hey, it's a server and it will serve faster with more RAM. So it had 3x512mb and I took out one of the 512mb and put in 2x1gb (it's only got four slots). I rebooted and and top reports 1585152k of ram. It should be 3gb. So I haul out a monitor and keyboard because I want to see if the BIOS sees more. Sure enough, on boot I arrive at a grub/centos boot screen and it says somewhere that I have 3gb, I boot and top still reports 1585152k.
How do I make this computer realize it has more RAM?
incoming connections are not being reported to my /var/log/secure. I can't see if people are trying to connect. I can't troubleshoot because I can't do anything.
Suggestion: increase the VM dirty writeback time from 5.00 to 15 seconds with: Echo 1500 > /proc/sys/vm/dirty_writeback_centisecs This wakes the disk up less frequently for background VM activity Q - Quit R - Refresh W - Increase Writeback time If I wait it decreases to 50000, but it is still huge!
Situation is duplicated after complete F12 re-install. All defaults are used and no changes performed after install. Just checked again and let computer run idle for a while. Powertop reports 79604 wake-up per second, even more than before. Again, the top cause is "pata_atiixp". Also, performing suggestions of powertop shown at the bottom of the program does not help either. That decreases wake-up by a few hundreds only. Wake-ups are still well over 50000.
I'm doing an distro upgrade from 11.2 to 11.3 and for the DVD drive, the repo URL comes up as dvd:/// in ast and zypper. However medium not read is being reported, forcing me to find out exactly what "dvd:///" is pointing to.
My DVD drive is certainly readable and mountable and sits at /dev/dvd (symlink for /dev/sr0). I usually mount it manually, but the problem here is I don't know how to find out what "dvd:///" represents.
Currently I am running Ubuntu on my laptop however my desktop is still XP pro. I want to move from XP to a Linux (Ubuntu) or Unix distro (BSD). My desktop is used as my ftp server, music/network storage, and for syncing my iPod with iTunes. The only thing that is keeping me from totally reinstalling the OS on that computer is iTunes. I know there are tons of applications out there that will sync your music to your iPod however I want to still be able to use itunesu and some other features in iTunes. My plan is to run a *nix os but have xp running in virtual box for iTunes. Has anyone else done this and if you have is it a huge pain? Is there a better way to go about what I'm trying to do? I have tried to get the newer iTunes installers to work with wine but I haven't gotten it to work yet. I get errors and the errors are reported bugs on winehq.
I am having a strange problem on my private nameservers registered with godaddy. There are around 10 domains right now which are using my nameservers ns1 & ns2. After the setup of my nameservers, domains. I checked that the domains are resolving good to the mentioned IP addresses which I mentioned in the zone files but when I am checking the domains on it is showing "Missing nameservers reported by parent" error. I don't know why it is reporting me this error.For example I checked one of my domains spurstone.com & I got the above mentioned error. Although whois database is giving correct results with nameservers NS1.INDEPENDENTADVISORONLINE.COM & NS2.INDEPENDENTADVISORONLINE.COM
I'm running 13.1 on a Dell Latitude D630 with 4GB of RAM. My problem is that Slackware doesn't seem to see all of the available memory. Here are the #s being reported (just including pertinent #s rather than all output)...
On my dell inspiron laptop if I use a live cd to boot into Ubuntu and then reboot into Windows the computer freezes up within 5 minutes. I uninstalled everything that I had put onto my computer since I purchased it (less than a week ago) in desperate measures because I was ready to take it back and play stupid to get a replacement. Once I went on an uninstalling frenzy my problem was fixed, but I had to know if it was from a program I installed or the live cd I used so I tried it again and sure enough, within 5 minutes my computer was unresponsive. I was using usb flash drives for my live cd and this was on a different flash drive than the first. Just thought it should be known, and I'm not doing it again once I fix my less than a week old computer from this again.
After installing 64 bit 11.2 with no apparent problems: computer hangs up on desktop boot opensuse 11.2-2.6.31.5-0.1, however I can boot from failsafe opensuse 11.2-2.6.31.5-0.1. I had problems trying to install Ubuntu so I checked out the opensuse. I do not know if this is an easy fix! I decided to avoid buying anymore windows system software. I ran memory test with no problems. The firmware test reported 4 errors. I have windows XP installed on other hard drive - no problems there.
I have got four webservers and one fileserver, all running Karmic and kernel 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux.A folder on the fileserver has been exported using NFSv3 with these options: rw,async,no_subtree_check and mounted on all four webservers with these options: efaults,rsize=32768,wsize=32768,noatimeThe webservers run Apache+PHP+APC. Some php-files include other php-files from the nfs mount, and are requested by users very frequently (~ 100 times per second). Sometimes but not always if I alter an included php-file using FTP (the FTP server is ProFTPD and runs on the fileserver), the file seems missing:user@webserver1: ~ $ ls --full-time -al /path/to/included/file.phpls: cannot access /path/to/included/file.php: No such file or directoryI can repeat this command for hours, but the file keeps missing. Until I query the directory:user@webserver1: ~ $ ls --full-time -al /path/to/included/ | grep file-rwxr-xr-x 1 1002 1002 14294 2010-07-04 21:11:30.000000000 +0200 file.php
I have set logwatch to report daily the logs, somehow since last week i get below message. A total of 1 possible successful probes were detected (the following URLs contain strings that match one or more of a listing of strings that indicate a possible exploit):
I tried to load a simple driver program. I am using RHEL5. When I tried to compile my 'driver.c' program it shows the following error:
[root@jameslee ~]# gcc -c device.c device.c:1:25: error: linux/module.h: No such file or directory device.c: In function 'init_module': device.c:6: error: 'KERN_INFO' undeclared (first use in this function) device.c:6: error: (Each undeclared identifier is reported only once device.c:6: error: for each function it appears in.) device.c:6: error: expected ')' before string constant device.c: In function 'cleanup_module': device.c:12: error: 'KERN_INFO' undeclared (first use in this function) device.c:12: error: expected ')' before string constant