[wellylug] problem mounting debian partition under ubuntu

Colin Lewis cjlewis at slingshot.co.nz
Tue Sep 22 22:28:41 NZST 2009


Problem I now have is that any document I open off this drive in OOo 
comes up in read-only mode.  I presume this is a permissions problem, 
but what do I need to change and where?

sorry to be an ongoing source of probably simple questions

Colin


Colin Lewis wrote:
> Ah, this now works.  I can also access my actual documents as well, and 
> I have even managed to get a desktop link.  Thanks so much for the support.
>
> Colin
>
>
> Cliff Pratt wrote:
>   
>> Colin Lewis wrote:
>>   
>>     
>>> having just had Ubuntu installed on Sunday's installfest, I am now 
>>> wanting to access my existing documents from my 2nd HDD that my previous 
>>> Debain install was on.  I was given a set of instructions for using LVM2 
>>> to identify the Debian partition details in order to then mount it for 
>>> access from Ubuntu.  These have not worked however, so any assistance in 
>>> being able to access my second HDD would be appreciated.
>>> The following are the instructions and the results I obtained using them:
>>>
>>> 1. Install lvm2 using command "$ sudo apt-get install lvm2"
>>>     appeared to be successful
>>>
>>> 2. Load necessary modules using "$ sudo modprobe dm-mod"
>>>     got result "FATAL: module mod_dm not found"
>>>
>>> Persevered to step 3 anyway to scan system for LVM volumes to identify 
>>> the volume group name using "$ sudo vgscan"
>>>     received result "Found volume group "Debian" using metadata type lvm2"
>>>
>>> 4. Activate the volume using "$ sudo vgchange -ay <volume name>"
>>>     gave result "3 logical volume(s) in volume group "Debian" now active"
>>>
>>> 5. Find the logical volume that has the root file system using "$ sudo lvs"
>>>     received result:
>>>      LV   VG     Attr   LSize   Origin Snap%  Move Log Copy%  Convert
>>>   home Debian -wi-a- 122.45G                                     
>>>   root Debian -wi-a-  15.00G                                     
>>>   var  Debian -wi-a-  10.00G
>>>     This is where I don't think I got sufficient detail back to proceed 
>>> further
>>>
>>> Step 6 was to create a mount point using "$sudo mkdir /mnt/debianhd"
>>>     this appeared to work
>>>
>>> last step which I also haven't done was to mount the Debian volume using 
>>> "$ sudo mount /dev/<volume name>/<logical volume> /mnt/debianhd -o ro,user"
>>>
>>> Any ideas on how I proceed from here appreciated.
>>>
>>>     
>>>       
>> Looks like all you have to do is:
>>
>> $ sudo mount /dev/Debian/root /mnt/debianhd -o ro,user
>>
>> Cheers,
>>
>> Cliff
>>
>>
>>   
>>     
>
>
>   



More information about the wellylug mailing list