Results 1 to 10 of 13
Now working on a second computer which already has Ubuntu 6.06 installed. Have partitioned and formatted a second (larger) hard drive with partitions:
Device Boot Start End Blocks Id System
...
- 01-15-2007 #1Linux Newbie
- Join Date
- Jun 2006
- Posts
- 215
Second hard drive issue
Now working on a second computer which already has Ubuntu 6.06 installed. Have partitioned and formatted a second (larger) hard drive with partitions:
1 is boot, 3 is for /home, and 4 will be changed to fat32. 6.06 is installedDevice Boot Start End Blocks Id System
/dev/hdb1 1 1217 9775521 83 Linux
/dev/hdb2 1218 1340 987997+ 82 Linux swap / Solaris
/dev/hdb3 1341 18362 136729215 83 Linux
/dev/hdb4 18363 19929 12586927+ 83 Linux
and have booted the original drive which has the following partition structure:
The NTFS partition is corrupted, so this drive needs repartitioning and reinstalling.Device Boot Start End Blocks Id System
/dev/hda1 * 1 3570 28675993+ 7 HPFS/NTFS
/dev/hda2 3571 4711 9165082+ 83 Linux
/dev/hda3 4712 4998 2305327+ 82 Linux swap / Solaris
After the reboot, I first tried to use the File Browser with the idea that I would simply copy the home directory from hda2 to hdb3, repart/reinstall hda with a structure more like hdb, copy /home back to the hda /home partition. However when I click on any partition, the Browser gives the message
with details as:Unable to mount the selected volume
*(the "hda[2-3] (or hdb[1-4])" is my way of indicating that this is true for both drives and all linux partitions, although it will show the filesystem and home directories in hda2)error: device /dev/hda[2-3] (or hdb[1-4])* is not removable
error: could not execute pmount
This newbie has suddenly jumped in over his head. I imagine that I need to figure out how to mount the hdb drive, but why is it giving the same message for hda?
Or am I not seeing a larger problem? Any guidance will be appreciated.
- 01-15-2007 #2
did you try mounting partitions manually?
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-15-2007 #3Linux Newbie
- Join Date
- Jun 2006
- Posts
- 215
Am going to work on that this morning, but can't understand the error message with respect to hda2 since I can browse and open files. Could the unmounted second drive be "contaminating" the browser somehow?
- 01-15-2007 #4this is because pmount is being used by the system instead of mount. pmount is used because it can be executed by normal users. however pmount is designed for removable media and only if the user has the permission to mount removable devices.
Originally Posted by Odyssey
non-removable devices can also be mounted if they are listed in the pmount.allow file. so edit the file and add the device name in the file.
add thisCode:sudo gedit /etc/pmount.allow
try to mount the partition using the browser again.Code:/dev/hdb2
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-15-2007 #5Linux Newbie
- Join Date
- Jun 2006
- Posts
- 215
Thanks and several questions:
Tried the new code, but no change. (hdb2 is the swap part. on the second drive-did you mean hda2?)
gedit window popped up and I made the change without noticing then the additional info that came up in the terminal window under the above command. It is:
Does this help clarify what is going on (or wrong in this case)? (please see next post before replying)"ALSA lib confmisc.c:672
snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493
_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392
snd_func_concat) error evaluating strings
ALSA lib conf.c:3493
_snd_config_evaluate) function snd_func_concat returned error: No such device
(there are four more lines which will be posted immediately following)
- 01-15-2007 #6Linux Newbie
- Join Date
- Jun 2006
- Posts
- 215
Here are the additional four lines:
Forum restrictions apparently restrict the number of this type of quotes that can be made, so I broke into two posts.ALSA lib confmisc.c:1072
snd_func_refer) error evaluating name
ALSA lib conf.c:3493
_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3962
snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2102
snd_pcm_open_noupdate) Unknown PCM default"
Thanks.
- 01-15-2007 #7problem is in ALSA, sound card module. did you get those errors on executing 'gedit' command? those errors has nothing to do with partition mounting or gedit."ALSA lib confmisc.c:672snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392snd_func_concat) error evaluating strings
ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_concat returned error: No such device
(there are four more lines which will be posted immediately following)
i mistakenly wrote 'hdb2'.
in /etc/pmount.allow file, add an entry of partition that you are not able to mount through browser.
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-15-2007 #8Linux Newbie
- Join Date
- Jun 2006
- Posts
- 215
Changed the code to
and saved the change, but still unable to mount. Is it necessary to reboot after file changes such as this?Code:/dev/hda2
- 01-15-2007 #9
No ! you dont need to reboot.
did you try to mount /dev/hda2 manually? create mount point and mount that partition manually.
check /media/hda2 folder. if mount command mounts this partition, then we have to find some other way to enable pmount.Code:sudo mkdir /media/hda2 mount -t ext3 /dev/hda2 /media/hda2
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-15-2007 #10Linux Newbie
- Join Date
- Jun 2006
- Posts
- 215
DC,
Bit embarassing, but have just realized that the 29GB is the corrupted Windows part. not the linux root.
Anyway that was more curiosity rather than need, so now trying to mount the second drive. Had made a mount point at /mnt/drive2, then:
but got an error message:Code:mount /dev/hdb /mnt/drive2
been googling up a storm, but can't figure out what is going on. Or is what you thought might result when you mention:mount: /dev/hdb already mounted or /mnt/drive2 busy
ie, is this the desired result? If not why will it not mount? Thanks.If mount command mounts this partition, then we have to find some other way to enable pmount.


Reply With Quote