Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just installed a new hard drive (/dev/hdb1, ext2fs), and now I want to move /var over to it. I also then want to mount /home under /dev/hda6, which is the drive that was originally mounted to /var.
Is there a way that I can just somehow have /var mount to /dev/hdb1, without having to copy /var to the /newdrive temporary mount point and then remove /var and rename /newdrive to /var?
Somehow though in the process I seem to have screwed up X, as now the only way I can get into X w/ gnome is to delete .drakfw and .xinitrc from $HOME and have the mandrake configurator come up. When I try to run startx, it starts twm and it won't launch anything else.. and startgnome/startkde/startsawfish all can't seem to connect to the display.
I think I see the problem
all the .files did not mv over
do this
mkdir /tmpdr
umount /home
mount /dev/hda6 /tmpdr
cp -dbR /home/* /tmpdr/
umount /tmpdr
mount /dev/hda6 /home
if you want to recover disk space from old home, make sure you have everything on the hda6 drive and with /dev/hda6 not mounted rm -rf /home/*
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.