Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 [Help!] Ubuntu Problems, everything related to ubuntu goes here

views
     
Onso
post Sep 9 2008, 08:01 PM

On my way
****
Senior Member
693 posts

Joined: Apr 2007


Hai guys!

I'm having a pretty newbie problem with Ubuntu and their support forums are slow to reply me so I thought I'd seek help here. I'll provide as much info as possible.

I basically have three internal hard disk and I would like to share two of them over the network. The problem is, Ubuntu insist that I'm not the owner to these hard disk and therefore, I cannot edit them or change permissions to some of the files in them.
Take for example, some files in hard disk "Media 1" are locked and I can't access them over the network. I have no problems sharing the drives over entire network using the classic shares-admin.

sudo fdisk -l gives:
CODE
Disk /dev/sda: 15.0 GB, 15020457984 bytes
255 heads, 63 sectors/track, 1826 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00017566

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1744    14008648+  83  Linux
/dev/sda2            1745        1826      658665    5  Extended
/dev/sda5            1745        1826      658633+  82  Linux swap / Solaris

Disk /dev/sdb: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

  Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        4999    40146592+  af  Unknown

Disk /dev/sdc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table


Both Disk sdb and sdc are readable and accessible via network and FIle Browser, but I can't seem to get
'fstab' to get it to mount properly.

I've tried to change ownership but this is what I get:
CODE
lionel@lionel-ubuntu:~$ sudo chown -R lionel /media/Media 1
chown: cannot access `/media/Media': No such file or directory
chown: cannot access `1': No such file or directory



HELP ME L&O!
Onso
post Sep 9 2008, 09:32 PM

On my way
****
Senior Member
693 posts

Joined: Apr 2007


QUOTE(anetwork @ Sep 9 2008, 08:58 PM)
should be $chown -R lionel /media/Media\ 1
*
Wow thank you so much, I got the command up and running, but still at the end of it,
I'm still not the owner. LOL.


This post has been edited by Onso: Sep 9 2008, 09:43 PM
Onso
post Sep 10 2008, 01:26 AM

On my way
****
Senior Member
693 posts

Joined: Apr 2007


QUOTE(fastcx @ Sep 10 2008, 12:59 AM)
u sure its mounted?
I changed the ownership of the drive, unmount and remount using "punmount pmount"
and yes i still have no authority on what to do with it,
Onso
post Sep 10 2008, 01:51 AM

On my way
****
Senior Member
693 posts

Joined: Apr 2007


QUOTE(fastcx @ Sep 10 2008, 01:39 AM)
can post your /etc/fstab content?
*
CODE

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=1710fe3a-2670-465f-9828-1bfe4480a904 /               ext3    relatime,errors=remount-ro 0       1
# /dev/sda5
UUID=aebaf572-dd6a-4b1c-a316-46a4394738be none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0

Onso
post Sep 10 2008, 02:38 AM

On my way
****
Senior Member
693 posts

Joined: Apr 2007


QUOTE(fastcx @ Sep 10 2008, 02:22 AM)
do you know your /dev/sdb1's filesystem? and /dev/sdc? from this fdisk, its like your /dev/sdc is empty without a valid fs around...n sdb1 is unknown to fdisk...i just ask to make sure, so i can send u what you can add into fstab...just to let ubuntu recognise sdb1 n sdc1(if it exist) n it's owner
*
thanks for you help fastcx
but I kinda figured out the problem already.
The filesystems are Apple Mac OS Extended Journal, therefore unknown to the system.
I did a long way round this problem, copied it off to another external HD through a Mac, formatted the drive using Gparted to something
Ubuntu friendly (fat32) and now recopying the data back.

Now how do I edit my fstab to get the disk MediaOne to auto mount every boot?

Thanks for your help.

This post has been edited by Onso: Sep 10 2008, 02:41 AM
Onso
post Sep 11 2008, 01:36 AM

On my way
****
Senior Member
693 posts

Joined: Apr 2007


QUOTE(fastcx @ Sep 10 2008, 05:09 PM)
ok, your welcome. i use your current content and add in a couple of lines for media1(which i assume is /dev/sdb1, if its not, change that to the 1 thats suitable)
» Click to show Spoiler - click again to hide... «

cheers!
*
Thank you for your help, my fstab as follows:
CODE
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=1710fe3a-2670-465f-9828-1bfe4480a904 /               ext3    relatime,errors=remount-ro 0       1
# /dev/sda5
UUID=aebaf572-dd6a-4b1c-a316-46a4394738be none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
/dev/sdc1  /media/MediaOne vfat iocharset=utf8,umask=000 0 0


Two things I've learn with my tinkering with ubuntu last night was;
1) How to edit the fstab file
2) I'm unable to change the ownership of any of the files in a Fat16/32 partition as it doesn't contain any ownership info and it assigns it's ownership upon mounting the drive.

But tonight I have another problem that I need help with.

I'm having trouble with my sharing of folders across the network specifically between my ubuntu box and my macbook.
By using the Shares-admin, I'm able to place certain folders on my network which are easily seen on the macbook. The problem is that although I can delete files from said network drive, I cannot write to it.
The second thing that bugs me is that my shared folders on my macbook are unable to be seen by my ubuntu box.
Can someone suggest a solution or point me in the right direction?

I humbly bow to you wise and knowledgeable guru's in this forum, especially fastcx.
Onso
post Oct 8 2008, 11:02 AM

On my way
****
Senior Member
693 posts

Joined: Apr 2007


Hai guys! Love ubuntu much much.

I have a Pentium4 2.40 Ghz running 1gb of ram. Normally I have two or three things running on my ubuntu box (Firefox, Transmissions, Geany), but some websites on firefox run really slowly (namely lowyat). I was wondering is it a lack of ram, lack of processor, or both?

And the result of it would decide what laptop I want to buy/construct/recycle to make my lovely portable ubuntu box.

EDITED:
I found out that whenever I run firefox it's a processor resource hog, (100% all the time).. is this normal?

This post has been edited by Onso: Oct 8 2008, 05:54 PM
Onso
post Oct 29 2008, 11:34 PM

On my way
****
Senior Member
693 posts

Joined: Apr 2007


Hey guys, this is the first version of Ubuntu that I've been using so far (8.04), I'm excited about the new Intrepid Ibex release in (?) days time.

My question is, how does one upgrade to 8.xx of ubuntu? Do I just wait for the automatic system update or do I have to reinstall from an .iso?

Thanks a bunch guys.

This post has been edited by Onso: Oct 30 2008, 12:12 AM
Onso
post Jun 20 2009, 10:06 PM

On my way
****
Senior Member
693 posts

Joined: Apr 2007


I'm having problems with Ubuntu 9.04. The system load is almost always 100% and everything is oh so slow.

My system specs are: Intel Pentium 4 2.4 Ghz, 1 Gb Ram. No graphics card.
I usually just have firefox and transmissions running but it's crawling!
Should I get a less resource sucking distro? If so, recommend me one.

Thanks in advance.

CODE
xxx@xxx-ubuntu:~$ top

top - 21:51:25 up 1 day, 12:29,  3 users,  load average: 3.00, 3.54, 3.48
Tasks: 122 total,   4 running, 118 sleeping,   0 stopped,   0 zombie
Cpu(s): 68.4%us, 30.2%sy,  0.0%ni,  0.0%id,  1.0%wa,  0.0%hi,  0.3%si,  0.0%s
Mem:   1018620k total,   996152k used,    22468k free,    24240k buffers
Swap:   658624k total,     3060k used,   655564k free,   530492k cached

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND        
20825 xxx    20   0  272m 142m  20m S  8.3 14.3  54:20.20 firefox          
2530 root      20   0  202m  52m 9964 S  5.6  5.3 121:45.95 Xorg            
2984 xxx    20   0  3328 1544  640 S  4.3  0.2 103:41.69 dbus-daemon      
2992 xxx     20   0  8080 4920 2148 S  4.0  0.5  67:29.50 gconfd-2        
2923 xxx   20   0 26480 7096 5528 S  3.6  0.7  85:09.30 x-session-manag  
4359 xxx    20   0  119m  12m 9704 S  1.7  1.2   2:42.80 gtk-gnash        
8936 xxx   20   0  189m  25m  12m S  1.7  2.6  46:42.31 transmission    
11641 xxx    20   0  117m  10m 8932 S  1.7  1.1   0:11.73 gtk-gnash        
3187 xxx    20   0 55768  40m 6976 S  1.3  4.1  21:48.50 indicator-apple  
7535 xxx    20   0  117m  10m 8936 R  1.3  1.1   0:19.34 gtk-gnash        
2989 xxx     20   0  284m 4956 3572 S  1.0  0.5   9:15.82 pulseaudio      
19564 xxx    20   0 22288 5760 4516 R  1.0  0.6   0:00.03 vino-server      
2908 xxx     20   0 36748  12m 7776 S  0.7  1.2   3:30.85 gnome-terminal  
3019 xxx    20   0 30236 8356 5128 S  0.7  0.8  22:44.40 gnome-settings-  
3028 xxx    20   0 41192  17m  10m S  0.7  1.8  17:49.46 gnome-panel      
3041 xxx    20   0 28120  10m 3936 S  0.7  1.0   6:28.62 trackerd        
3049 xxx    20   0 67488 9.9m 7808 S  0.7  1.0  11:43.58 evolution-alarm  
3053 xxx     20   0 26260  10m 6960 S  0.7  1.1   7:30.27 notify-osd      
3063 xxx     20   0 27972  12m 6596 S  0.7  1.3  25:09.10 python          
2526 root      20   0 20324 3600 2760 S  0.3  0.4   0:57.33 gdm              
3006 xxx    20   0  5748 2208 1752 S  0.3  0.2   3:23.67 gvfsd            
3040 xxx    20   0 30548  10m 6404 S  0.3  1.0  11:28.14 nm-applet        
3046 xxx    20   0 31312  12m 8592 S  0.3  1.2   9:10.01 update-notifier  
3062 xxx     20   0 16148 6480 5324 S  0.3  0.6   9:58.11 bluetooth-apple  
3073 xxx    20   0 25212 7516 4636 S  0.3  0.7  17:35.66 gnome-power-man  
3301 xxx     20   0 16944 5344 3888 S  0.3  0.5  11:45.14 gnome-screensav  
19265 xxx     20   0  2448 1180  912 R  0.3  0.1   0:00.10 top              
   1 root      20   0  3084 1524  500 S  0.0  0.1   0:01.28 init            
   2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd        
   3 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 migration/0      
   4 root      15  -5     0    0    0 S  0.0  0.0   0:02.00 ksoftirqd/0  


CODE
xxx@xxx-ubuntu:~$ w
21:49:16 up 1 day, 12:27,  3 users,  load average: 4.04, 3.60, 3.48
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
xxx   tty7     :0               Fri09   36:27m  2:01m  1:25m x-session-man
xxx   pts/0    :0.0             Fri21    2:21   0.23s  0.23s bash
xxx   pts/1    macintosh-2.loca 21:48    0.00s  0.24s  0.01s w


 

Change to:
| Lo-Fi Version
0.0369sec    0.78    7 queries    GZIP Disabled
Time is now: 14th December 2025 - 05:27 PM