OpenSUSE Install :: /Home Partition Will Not Mount During Startup
Dec 28, 2009
This is strange. I moved OS 11.1 from an old 150 GB PATA drive over to a 500 GB SATA using Parted Magic. The old and new partitions were
/dev/sda1 - 19.99 GB, mounted as / (root partition)
/dev/sda2 - 97.82 GB, mounted as /home
/dev/sdb1 - 29.52 GB, Windows XP
/dev/sda1 - 29.30 GB, mounted as /
/dev/sda2 -292.97 GB, mounted as /home
/dev/sda3 - 45.82 GB, Windows XP
I used the "Clonezilla" tool on the Parted Magic live CD to move and resize the partitions. To my delight, everything appeared to transfer just fine. I can boot into OpenSUSE 11.1 (though not into Windows, but that's not really important; I'll figure that out later), but my /home partition won't mount. I'm set to autologin, and I get the expected error: "can't access /home/stephen" (or something like that). Here's the weird thing. I can ALT-F3, get a terminal and manually "mount /dev/sda2 /home", go back to ATL-F7 and log right in, so I know the disk is fine. (I've already 'fsck'd everything, by the way, and they're clean.)
I've used Yast's partitioner about a dozen times, trying "device by ID" and other settings. I always get the same thing when I reboot. On this last reboot, when it refused to log into /home, I ALT-F3'd, logged in as root, did a "cat" on "/etc/fstab" and entered the device-by-id line exactly as I saw it there and it mounted the /home directory just fine! ALT-F7, logged into KDE. I'm typing this in KDE now. Works fine. I so rarely need to reboot this machine that I can manually mount the /home partition, if need be, but (obviously) I'd like it to be mounted automatically during the boot.
I don't see anything obviously wrong here. The fact that I can take that second line and do a manual "mount" shows me that the device ID is at least correct. Just to be clear, here's what I entered in virtual terminal 3 as root to get my home partition to mount:
mount /dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA534RV0DJ4LA-part2 /home
and it worked fine. Exact same line.
I was looking to do a fresh install of 11.2 and use my home partition from 11.1. During the Gnome Live version I wanted to see how suse would configure my computer. It recognized everything fine, except it didn't show my current home partition which is ext 3. Because Opensuse 11.2 has switched to ext 4 as default for root and home? I was hoping to use my old home with 11.2. Is there any way to make the switch without losing my settings? During the live install the partitioner didn't use my current home partition, it was going to make a new one.
So I opened up the partitioner in yast to see why it didn't use my current home and it shows no mount point for my home ext 3. Would changing the mount point on my ext 3 partition to home make the 11.2 installer recognize this as my home to use? Or will I have to copy my current home. Paste it elsewhere. Delete old home. Use unallocated space as ext 4. Paste old home on new ext4 to have the 11.2 installer recognize this as my home. So, current home is ext 3. 11.2 installer wants to make a new home on ext4. How do I use my current home settings? I haven't installed yet just tried a live run.
Trying to clean install 11.2 dual boot with Win xp already installed. How do I create a new home partition, don't want to preserve the existing home partition from a previous attempt. DVD installation and automatic config keeps saving the thing.
I installed a second HD, and formatted it to ext4. I gave it the "/backup" label. I am trying to figure out how to mount it so that I can run cron to backup my home folder onto it once a week. This is what the fstab looks like now
I was recently forced to do a reinstall of OpenSUSE. As part of that I backed up the folders I needed to keep. The installation however didn't format the 'Home' partition though. At first I thought it was nice, but I've run into trouble with a program I most definately need to get working. So my plan is to re-install yet again.
how to make the install format the root partition I think it is, and the 'home' partition, so I can start fresh.
To further complicate things My laptop (which this is happening on) is dual booting between OpenSUSE and Windows 7. It is VERY important that the windows partitions remain.
When the installer gets to the point to set up the partitions it offers something like
sda1 / sda2 /swap sda3 /home
I'm not sure which option to take now. I assume I choose the option to edit the partitions but I'm not clear how to preserve the /home as it's now got a different partition number or does that no matter as long as I choose not to format it? Also, to replicate the original partition structure I'd need to delete the partitions and add them in the correct order but would that destroy the /home?I'm a bit confused with how it will work.
I'm trying a fresh install of 11.2 but I couldn't figure out how to make the whole installation on the same logical extended partition.
It always wants to create a separate /home partition.
I have a second HDD with NTFS only for backup purposes, but the installer puts a grub entry for it too (windows 2). And this HDD is not even bootable. I don't have the balls to try to boot from it and see what happens. How to get rid of it?
I have two partitions where I can install (e.g. versions of openSUSE). I have a Swap and a /home partition to be shared by both. Thus e.g., while still running 10.3, I could install and test 11.2. Once I switched over to 11.2, I still can use 10.3 when need arises (not done for monthes now). I have the 10.3 partition mounted, thus I can stilll see what was in /etc/.... on the 10.3 system from the 11.2 system if need arises.
I gave the file systemss on those two partitiions different labels to better keep them apart. It is in the first place up to you to design how you want to partition your disk(s) to facilitate such a feature. Has someone done a thing like this (especially sharing /home partition) with openSUSE and Ubuntu? Is there a How-To anywhere? Until now I have the /home folder of Ubuntu not on a separate partition but under the system/root partition "/" of Ubuntu.
Im using suse 11.1 with /home on a separate partition. To move my /home to a larger partition it looked easy to use Yast partitioner. I copied all /home/ files first to the new partition and backed-up fstab.
with Yast I unmounted /dev/sdb6 = /home and mounted it to /local then unmounted /dev/sda4 = mynewhomepartition and mounted it to /home
checking the new fstab it looked fine but after a restart it did not work and I got an error. resetting the original fstab resetted the system as it used to be. My question is: why does it not work, are there (hidden) files with the old or other settings?.
I'm upgrading to 11.3 (from 11.2) and will be keeping my current home partition. Will this keep my browser favorites? Also, I read somewhere that in order for things to work properly after upgrading (without reformatting my /home partition) that I would have to keep the same username AND user UID...? Is that true? How do I make sure I have the same UID if so...?
I purposely set up a seperate home partition so that when I changed distro's or upgraded I would still have my files, and some settings intact. (I switched distros a lot when I first started using Linux.) I set up a "bin" folder (in home folder) that had a couple of programs I had downloaded to keep from having to set up and configure everything all over again every time I felt like changing distro's as well.
I mistakenly removed my /home of openSUSE while trying to install another distro. My root pertition is OK. openSUSE is shown in grub. but i cannot boot into it as there is no /home is there any way to fix this without removing my openSUSE?
First off I'm new to the openSUSE community and would just like to say So, to the issue at hand. I recently switched to openSUSE 11.4 from Debian. I noticed the setup didn't have an option encrypt the home folder like it does in Debian, so not being aware of any other way to encrypt it, I created a new partition, backed up my current home directory, created a new partition and mounted it as home before copying in the contents of the backup to the encrypted home partition I created. Now of course it is askingme to put the crypto password in at each boot, which isn't ideal because it's a family machine and no-one would remember the password but me. Is there any way of being able to automount the encrypted partition without having to put the key in every time? Or better yet an encrypted home folder that doesn't require the key to be put in on each login (as in Debian) without even using a dedicated partition.
want to install 11.2 version. my machine config is as belows. pentium 4 with 1.8 gz, 512 ram and 15 gb hard disk. i want to know what should be the partition size specially for swap, root ,home etc.and what version i.e genome or kde should i install.
How would I go about moving a separate home partition back to /, and be able to delete the /home partition? I'm assuming I would have to copy the contents of /home to the root partition, and change fstab at the very least.
I just installed suse 11.3 on formatted partitions (5GB swap, 30GB / and 500GB /home). Just after the installation, My computer showed 25.2GB of /home to be used. When I do:
Code: dyn-0a2a1f40:/ # df -h .....
That seem to be roughly correct because since yesterday I've been running a program that constantly writes logs and other data files and plots, which might have accumulated a few GB's. It is also collaborated by the output of
Code: dyn-0a2a1f40:/ # du -sk /home 10548452 /home
I'm not hard-up on space right now but storage has been dear until the recent past. Also out of curiosity, the size of the /home partition is shown as 493 instead of the 500GB allocated while the swap also lists only 4GB instead of 5GB. Below is the output for fdisk -l in case anyone needs it:
After an install of suse 11.4, one of my drives raid 0 (ichr9 intel) does not mount and is not recognized as being formatted in NTSF, while the other unit raid 0 (ichr9) is recognized without problems?
When I loaded opensuse 11.3 for the first time, I used the automatic partitioner and have been loading app's onto my ~8GB boot partition, and now that it's full, I have ~15 GB free on my home partition and need to install a few more app's to get my laptop fully functional. Is there a way (other than copying the boot partition to the home partition and then repartitioning, copying again to the repartitioned drive, and then recopying again to the freed up space) to get the new app's I install to redirect to my home partition?
When running the umount command like this as superuser: umount /dev/sda8. get the following message:umount: /home: device is busy.(In some cases useful info about processes that usethe device is found by lsof(8) or fuser(1))
I had to re-install Windows XP because the install was running slow.So, I created another partition using GParted for my personal data and moved my files there and re-installed Windows XP.Now, the Windows partition won't mount automatically.NTFS Configuration Tool shows 0.0GB. So, I have to open up a Terminal window, and issue sudo mount /dev/sda1 /media/Windows and everything is fine.
my "places menu" references folders on a second partion, where I store all my personal files (ntfs, as I use it also from Windows). After boot those folders wouldn't show in Thunar. Some other programs, as Fontmatrix, wouldn't find databases stored there, what messes them up. Thunderbird has problems to recognize profiles etc.What is strange, the partition seems to be mounted at startup as I can see and select it from Thunar. Also, it appears on Desktop. After selecting the partition, closing and reopening Thunar everything works fine, places would show correctly and Fontmatrix database is ok
Is there a way I can run myProgram when desktop appears no matter if root , administrator, desktop user or an unprivileged user logs in? I actually developed a script which I set to run at startup i.e. when the Desktop appears. Script runs finely but can't mount a partition. In the script I mounted a partition using
Code: sudo mount /dev/sda1 /mnt &> result.txt After executing script a file named result.txt was created which contained Code: sudo: no tty present and no askpass program specified
In other words the mounting failed. If I run the script myself from the terminal using sudo ./myProgram i don't face this problem and the drive gets mounted successfully.
I would like to mount a partition on a second disk as /home. I have two hdds. one is 250gigs that I wish to use for the / of two or more os'. The other is 1TB that I would like to use as /home/charlie and /home/prisca as well as some other partitions. Here is my current /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sda6 during installation
I have created a 75g partition on a hard drive that I would like all videos to be accessible to all users of the computer. I understand that I can mount to /home/user/video but I cant find a method to make user the current user that is logged on.I have built up a PC that I want to use as a place to download movies and music. I then want to create a uPNP server to share the media over my LAN. I vaguely understand what I am talking about and I think Vuze is the best program to meet all these needs. Its not a huge issue because there is only a single user that will ever be using this PC but if this is possible it will help me greatly when I migrate my main PC to Ubuntu. I am using Ubuntu 10.4 and I am not afraid to play on the command line.
i have 2 harddrives. a 6gb and an 11gb. IDE ATA. i want to install opensuse 11.2 on them, using EXT4, in a different way this time. i want the "/" partition to cover all of the 6gb, with the drive set to master. For the slave, I want the "/home" partition on the 11gb, covering only 10gb on the beginning of the drive, and i want the swap space partition on the end of the drive using 1gb. Is this a smart way to install it? Will i have to continuously mount the drive with home and swap on it? What is the best configuration for using these two drives?
I need some assistance mount a UFS2 partition as read and write. if its not possible, then I may have to copy a few hundred GBs of data. Currently using the command: Code: mount -r -t ufs -o ufstype=UFS2 /dev/sdb /Data Thats just read only.
I haven't been using Ubuntu for a couple of years. Yesterday I decided to fire up my ubuntu box and upgraded from 8.04 to 10.10.
The upgrade went fine, but when I boot it tells me that the /home dir cant be mounted. It allows me to Wait, Skip, or Manually mount it. If I skip I can log in and mount the partition that contains my /home folder so I know that nothing is corrupt. I'm sure my fstab just got overwritten during the upgrade, but, since its been so long, I don't recall how to (correctly) fix it back.
Cliffs: --Upgraded from 8.04 to 10.10 --/home dir is on a separate partition & is not mounting properly --How do I set it up so that my /home dir mounts on boot?
I'd just try messing around with fstab myself, but I really don't want to lose any data.