Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Trouble with external USB hard disk



On Mon, Oct 20, 2008 at 7:19 PM, David Bernat <dbernat@example.com> wrote:
>
> Nguyen Vu Hung wrote:
>
> > Opps. I forget that you can't access /etc at this time. So please try:
> >
> > #Replace ext with the file system you are using( if you have set )
> > sudo mount -t ext3 /dev/sdb1 /etc
> > sudo mount -t ext3 /dev/sdb5 /root
> >
> > I am not sure if you have to mkdir -p /etc /root
>
> root@example.com:~# fdisk -l
>
> Disk /dev/sda: 320.0 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x00019bf7
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1       38164   306552298+  83  Linux
> /dev/sda2           38165       38913     6016342+   5  Extended
> /dev/sda5           38165       38913     6016311   82  Linux swap / Solaris
>
> Disk /dev/sdb: 320.0 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x44634187
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1       38913   312568641    c  W95 FAT32 (LBA)

What is the output of "mount" when you log into Hardy?
and ls -l /etc; ls -l /root; Are they empty?

> root@example.com:~# mount -t W95 FAT32 /dev/sdb1 /etc
You should type "man mount" for list of filesystems that mount supports.
Here we mount
mount -t vfat /dev/sdb1 /etc

For an ext3 filesystem, use:

mount -t ext3 /dev/xxx /path

One thing I don't know is that how and why Hardy mounts your /dev/sdb1,
whose filesystem is vfat to /etc. I never seen this before. Most of the time,
ext2 or ext3 are good enough for /, /etc, /boot .

> > Btw, is there any reason for installing / into /dev/sda but /etc and
> > /home to /dev/sdb?
>
> Dunno. This is how Kubuntu set up the disks.
Aggg. This is KUbuntu specific :).
Is there any Ubuntu experts out there?





--
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
vuhung16plus{remove}@example.com , YIM: vuhung16 , Skype: vuhung16dg
A brief profile: http://www.hn.is.uec.ac.jp/~vuhung/Nguyen.Vu.Hung.html

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links