Ubuntu :: Swap Not Automatically "mounted" After Harddisc Reshuffle?
Feb 3, 2011
I was running out of space so I added an extra harddisc (sdc) and shuffled a few mount points in /etc/fstab so it was set up how I wanted.In the process I noticed swap was listed twice, once as /dev/sda3 and once by UUID. While reconfiguring /etc/fstab I tried to use UUIDs so it didn't matter where the disc was physically attached so I removed the non-UUID entry and updated it to the correct UUID (for some reason it was wrong).Now though, when I start up swap is off and I have to turn it on by the swapon command (which accepts the UUID for the swap partition. Here is my /etc/fstab and the output of blkid
Code:
simon@simon-desktop:bf4390bb-39a4-43ac-ae53-d90e33062a19$ cat /etc/fstab
# /etc/fstab: static file system information.
My swap is not mounted at boot. get it to mount again? I CAN make it mount after booting but I need to hibernate. I read that I have to edit /etc/fstab but I'm not quite sure as to what I have to do specifically.
I recently installed Cent-Os on a server and changed the default partitioning to have 2 partitions - 1 main area for everything and a swap partition of 8Gb After installation I cant see the swap as a separate partition although there is a 16GB tempfs mounted as /dev/shm Is this right ?
fdisk -l shows :- Device Boot Start End Blocks Id System /dev/cciss/c0d0p1 * 1 13 104391 83 Linux /dev/cciss/c0d0p2 14 17844 143227507+ 8e Linux LVM (first partition being non-lvm boot)
For some reason my Windows partition is being automatically mounted under ubuntu 9.10. I would prefer not to mount it, but as it's not included in fstab I don't know how to stop it..
Code: $ cat /etc/fstab # /etc/fstab: static file system information.
I use Ubuntu 10.04, and whenever I insert media into a removable media drive, it does not come up on my desktop automatically. I need to go to Computer, then to the drive. It then appears on my desktop. Is there any way to make the device automatically appear? This problem occurs for any removable media. I am using Ubuntu 10.04.
I've been searching for a solution get mount my NTFS FakeRAID automatically when 9.10 64-bit starts, but haven't managed to find a solution.Currently, after boot, dmraid activates my RAID automatically but does not map the partitions on the drive:
Code: $ ls /dev/mapper/ control isw_bibdafajea_Vault
i have an fedora system, with no separate /boot partition. there is only one big / partition. I think this is the reason that preupgrade does not work. So I decided to build an own /boot partition. Could anyone give me a hint how I could do this easily? My idea is:
get a second hard disc and format this with 2 partitions (/boot and /)dd the partition1 to the new one.
is this a nice idea? my only problem is that my second hard disc is smaller then the current one. but the current one is not filled up total. but I can not dd to a smaller partition or? is it possible to boot with an live-cd an copy the partition with the cp command?
For some reason, the second hard drive (sdb1) is not automatically mounted:
rick@rab-1:/mnt$ sudo fdisk -l Disk /dev/sda: 500.0 GB, 499989348352 bytes 255 heads, 63 sectors/track, 60786 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000c17f6
[Code]....
Before I installed Ubuntu, I installed the RAID software to handle 4 500 GB hard drives - so there are supposed to be two mirrored drives. I'm not an expert in using RAID. I'm assuming it is correctly configured. I only "see" two drives. sda has Ubuntu etc. How can I get sdb1 mounted? I've tried using the palimpsest program but I'm afraid I screw it up. Do I need to re-format sdb1?
I added a 1TB USB drive to a Red Hat 5.3 system. I added the following line to the /etc/fstab to automount the drive at startup.If I manually the mount the drive (mount /mnt/external), I can access and read/write to the external USB drive without any issues. My problem is that during the startup process after a reboot, the drive is not being mounted automatically.
2) Phenomenon: External hard drives won't be automatically mounted after upgrading some packages...
I have a "not good" habit: I'd love to upgrade whatever suggested by Ubuntu upgrading center every morning. However, after upgrading some packages for today, my computer won't be able to automatically mount external harddrives, including file systems ext4 and ntfs.
My question is: 1) How can I check what packages have been upgraded just within today? 2) How to make my Ubuntu be able to automatically mount external hard drives whenever I plug in a harddrive as before?
I should setup options for mounting devices which mount "automatically" : I think mainly of USB-sticks with windows file-systems which I'd like to respect my typing with upper and lower case letters.
I don't know why but every time I plug my iPod it gets mounted automatically as root and therefore I can't write anything in it. I mentioned this issue on the #suse irc channel posting mount output:
eugenio@openSUSE:~> mount /dev/sda7 on / type ext4 (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) debugfs on /sys/kernel/debug type debugfs (rw)
[Code]....
I read some posts about editing the fstab file but I'm not really sure how to do this (if this is the solution) and I believe this could have worked on earlier versions (where HAL was used) Is there anything I can do to make opensuse mount my ipod automatically with full access to normal users?
I have an NTFS partition problem which prevents me from installing openSUSE on my desktop computer. It's not a trouble with installation, it's a security issue relating to NTFS.I have a desktop running XP exclusive, but wish to also go dual boot but can not because I have created a NTFS partitoin on my HD wich I don't wish others to know about.After booting window$, I am able to successfully unmount the partition using Diskpart, which is a command line program within that OS. Once unmounted, it is effectively hidden from those who might be snooping until I manually remount it. Essentially I remove the drive letter which makes it inaccessible to Windows.
(Yes I know a person with proper skills can easily find it, but that's not applicable in my case for those who would look)If I install openSUSE which I desperately desire, it will automatically locate and mount the NTFS partition I wish to hide, making it easily accessible to anyone booted up in SUSE.Changing the attributes to the associated files to "hidden" is not an option. I need that secret partion to remain unknown.How can I hide, deny access to, or prevent that particular NTFS partition from automatically being mounted in Suse? Once that security issue is resolved I look forward to using Suse again, like the other people do in our home.
Debian if I suspend the PC, will the external mounted harddisk safely umount automatically? I want to make sure that the integrity of my external HDD is not compromised while the PC goes in the suspend mode.
This is the set up I have: PC downstairs by a tv, with 3TB of storage containing my media, connected to the tv too. HTPC upstairs by another tv and connected to it. A few laptops and other desktops around the house which are windows based
I want the downstairs pc to act as a file server and to run my torrent client, it is running Ubuntu desktop version and has xbmc installed too for use with the tv. The upstairs htpc has xbmc live on and will access the media from the file server. What I am looking to do is to be able to log into my ubuntu machine remotely from a laptop running windows so I can manage the files and add torrents for download etc, but for this to be a complete remote session, rather than taking control over what is already being shown on the downstairs pc, like VNC does in windows.
I have two user accounts set up on the main ubuntu machine, the admin account and a media user account which is set to go straight to xbmc after log in. Also how can I make sure that the media drives are automatically mounted to allow access if the admin user is not logged in?
Lucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.
RAM for older machines like I use is fairly cheap these days. But flash memory is just as cheap or cheaper. So I'd like to ask about the feasibility of expanding my system's memory using flash memory. And about whether creating a partition for swap on the flash memory, or whether a swap file on the flash device, is the better way to go.
By flash memory I have in mind mainly USB sticks or what are sometimes called "pen drives." But I do also have CF and SD cards that, with the proper cheap adapter (one of which I already own for adapting CF) could be used to create extra swap space. So, what is the current consensus on the feasibility/advisability of using flash memory for swap? I've read about the limited write cycles of flash being an argument against using it for swap. But recent reading indicates to me that the limited write cycles problem applies mostly to older, smaller-capacity flash memory. Some will come out and say that, for larger-capacity flash memory, the life of the device is likely to exceed the amount of time your current computer will be useful (I think I've seen estimates in the range of 3-4 years life--minimum--for newer, higher-capacity flash memory).
A more persuasive argument I've heard against using flash memory for swap is that access times for these devices can be much slower than SATA, and maybe even IDE, hard drives. That would certainly dictate against using flash memory for swap.
So, how about some input on this issue? Anyone using flash memory for swap? If so, what kind (e.g., usb stick or SD/CF)? Are you using a swap file or a swap partition? How's system performance? Likewise, has anyone had flash-memory-used-as-swap die on them? The consequences would undoubtedly be dire. Also, has anyone measured flash memory access times to confirm or refute claims about slow access times? Are some types of flash memory better/worse than others in terms of access times?
I am having trouble getting grub to automatically boot into ubuntu server. When I turn on my server the grub menu shows up and shows me the choices. They all work fine except that grub wont automatically select one. This wouldn't be too much of a problem but this is a headless server and I can't boot into ubuntu without a keyboard. I tried looking through the grub 2 documentation but nothing seemed to work when I edited the conf file.
what to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?
how do I uninstall Java? Tried with Synaptic and apt-get remove, but uninstalling sun-java6 automatically adds default-jre (openjdk) and uninstalling openJdk automatically installs sun-java ... but I don't want ANY Java on my machine - am I missing something? Already thought I maybe have a package that requires SOME kind of Java, but how do I find out?
Just moved to Ubuntu from XP. Whole process has gone very smoothly, but left with a small problem (i.e. it isn't actually affecting usability) that I don't seem to be able to fix and can't find on forums/internet. I also have a problem with the Floppy drive, but I've seen that problem elsewhere in the forums.
It's a dual boot system with both NTFS and Ext4 drives. All are visible and fully accessible. I decided to convert one of the NTFS drive to Ext4. That appeared to be successful and was successfully remounted as an Ext4 drive. The drive label is "Data". I did have a bit of a problem getting it remounted so that I could see/use it under my log-in as opposed to just under root. It's at this point I think that I did something to create the problem.
I now have two entries for "Data" in drop down menu for Places. The true one is shown as a standard hard drive icon, but the false one is shown as a different icon - possibly an external drive icon (note that the floppy drive is also showing as the same icon and I can't access that, but I've seen that's a problem elsewhere in the forums).
I can write and read to the true "Data" hard drive. If I click on the other false "Data" icon, I get the message "mount: /dev/sdd1 already mounted or /media/Data busy mount: according to mtab, /dev/sdd1 is already mounted on /media/Data". If unmount the true drive and try to mount the false drive, the system mounts the true drive instead. If I log into nautilus as root, neither the false data drive or the floppy appear in the left hand panel.
I am just wondering why KDE never uses my swap. On the KsysGuard, It reports that I have a GB of swap that is never used. I have 2GB of ram. This is only an issue because VMware will take up half of my computers resources for itself if, in the event, it needs to use it. How do I change this so my swap is being used. I have: Kubuntu 8.04LTS
I did something wrong while setting up my swapspace so now my main HDD is linux-swap I am dual booting windows and ubuntu, but now I can't boot into windows nor acces the partition because it is swap now.
My motherboard supports up to 8GB DDR2. I currently have 4GB installed. If I maxed out my RAM, and installed 10.10 without a swap partition, I've heard this would increase speeds significantly. Would it? This particular rig runs multiple servers including an Asterisk PBX with FreePBX, XBMC, and Boxee. XBMC and Boxee do not run at the same time, only one at a time. Would it be safe to run with 8GB ram, and no swap partition? Running FreePBX/asterisk, XBMC, playing videos or ....., and every other background processes, free shows on average 50% free. Opinions?