Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 07-03-2004, 05:33 PM   #1
LQ Newbie
Registered: Jul 2004
Location: Europe/Latvia
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 0
how to make partition for /home after installing FC2

Hi everybody, I'm new to Linux, so I wiill be grateful if anybody will help me with next problem:

Yesterday I reinstalled my FC2; I made formatting for all partitions that I have except my /home partition.
Or actually I forgot to mark it that it will stay as /home ext3
So now I can't see my data on former /home althougth it is still on harddisk

Through google I found that I can just make a new partition (like /dev/hda6 or something), and add it to /etc/fstab
but when I try to do that with mkfs.ext3 I get next mesage:

root@localhost root]# mkfs.ext3 /dev/hda6
mke2fs 1.35 (28-Feb-2004)
mkfs.ext3: No such device or address while trying to determine filesystem size
[root@localhost root]#

What does it means (did I have to do something before?)???
If you know what do I have to do more, please tell me. THANKS!!!

HERE are my partitions at the moment (the biggest should be /home):

Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 12 13- 104391 83 Linux
/dev/hda2 2422 2493 72 578340 82 Linux swap
/dev/hda3 13 1860 1848 14844060 83 Linux
/dev/hda4 1861 2421 561 4506232+ f W95 Ext'd (LBA)
/dev/hda5 1861+ 2421 561- 4506201 83 Linux
Warning: start=63 - this looks like a partition rather than
the entire disk. Using fdisk on it is probably meaningless.
[Use the --force option if you really want this]
[root@localhost root]#
Old 07-03-2004, 06:29 PM   #2
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Welcome to LQ mike_sh. Tell me if this is accurate: You installed FC2, but during the installation process where it asks if you want to format each partition, you did not format /home because you didn't want to lose your data. Now when you try to use your system, the /home partition is not available, and it is not listed in your fstab.

If that is correct, then it appears that all you may need to do is to add the appropriate partition to the fstab file, but I would recommend against running the mkfs command, because that will reformat the space. In other words, mkfs will not add an entry to your fstab -- that is not the purpose of that command. Please see the man pages for mkfs for more info.

I think the best thing to do would be to describe your partitioning scheme as well as to list the contents of your fstab file. Most likely all you need to do is to edit the fstab with a text editor, then add the "missing" /home partition to it. -- J.W.
Old 07-04-2004, 02:04 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
If your UID changed between installs, you may need to use the chown command after remounting the /home partition.
chown <username>:<usergroup> /home/<username>
chown <username>:<usergroup> /home/<username>/* -R
chown <username>:<usergroup> /home/<username>/.* -R
Old 07-04-2004, 07:37 AM   #4
LQ Newbie
Registered: Jul 2004
Location: Europe/Latvia
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you J.W. for help!
I will try now to add my /home to fstab later I'll tell if it worked

Here are my fstab at the moment:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext2 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0

By the way I have a question about my soundcard detection!
I have ISA soundblaster 16 card, and it's not detected by fedora.
Earlier I found that I have to add some line to modprobe.config file, but now I can't figure out what was that line? can anyone tell me what should I write there.

Thanks for help
Old 07-04-2004, 08:02 AM   #5
LQ Newbie
Registered: Jul 2004
Location: Europe/Latvia
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
It works!!!
I added /home partition to fstab, and now I see my files!

But I still would like to know about my soundcard detection:
I dont have sndcard detected! I even don't know where and what should I do?

HERE IS my /etc/modprobe.config file: (if it helps to understand my problem)

alias eth0 8139too
alias usb-controller uhci-hcd
alias souncard snd-sb16 0 0
Old 07-04-2004, 04:28 PM   #6
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Mike - you can use the lspci command which will list details about your PCI devices. I'd also suggest checking the Search function here at LQ. Soundcard issues are fairly common, and there are numerous threads already that discuss them. I would expect you could find a lot of info there. Good luck with it and I'm glad to hear your fstab problem was resolved. -- J.W.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add /home partition after installing linux asifqaiyum Linux - General 1 07-30-2005 05:37 AM
Cannot boot XP Home with GRUB from FC2 Conpen2000 Linux - Newbie 18 08-30-2004 06:43 AM
installing FC2, don't know what to do with swap partition in disk druid scott0482 Linux - Software 4 07-08-2004 09:05 AM
/home seperate partition from previous install, make it new /home in new install mipia Slackware 5 06-21-2004 10:57 PM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 10:19 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration