Linux for your taste (sorry Naw :D) (14 Viewers)

What OS do you use?

  • Windows

  • Linux

  • Mac

  • Other


Results are only viewable after voting.
Dec 31, 2008
22,910
Does anybody know how to enter proxy server username and password to the java runtime in ubuntu? The proxy server can be specified but there is no option for giving the authentication. That is a reason why i am never able to stream live sports in my college. In windows Java runtime uses IE proxy settings so when a video is streamed a box pops up where you can enter the username and password.
 

Zé Tahir

JhoolayLaaaal!
Moderator
Dec 10, 2004
29,281
Dorks, Geeks, unite. I need your assistance.

My cousins computer crashed and now it won't boot up. It starts-up, tries to load Windows but then crashes/restarts. The exact same problem happened to me (same model laptop..surprise) and I ran a live Ubuntu CD and was able to recover all the files I needed before I ran the Sony recovery program. However, on her computer it's not mounting the drive.

I google'd it and found this site: http://technical-itch.co.uk/2006/11/06/how-to-access-your-windows-hard-drive-from-ubuntu/

I really don't know what all that is but apparently it will let me access the hard drive. One thing I don't understand is:

Be careful to ensure that you replace the reference to /dev/hda1 below with the device name of your Windows hard drive. I used the GNOME Partition Manager to find out the device name
How do I find this out? The GNOME thing makes no sense to me.
 

Martin

Senior Member
Dec 31, 2000
56,913
No ill intent I swear :D
Since you like to preach humility and all that, remember?

The easiest way to find the name of the device is to use cfdisk. You'll have to guess at the name, it's gonna be either hda or sda.

$ sudo cfdisk /dev/hda

But don't do anything inside cfdisk, just use it to look up the partitions on your drive.
 

Zé Tahir

JhoolayLaaaal!
Moderator
Dec 10, 2004
29,281
It worked with sda.

There are two disks, one is ca 7gb and the other ca 150gb.

Name: sda1 Flags: - Part Type: Primary FS Type: Compaq Label: diagnostics
Name: sda2 Flags: Boot Part Type: Primary FS Type: NTFS Label: []


Is sda2 the 'name'?
 

Martin

Senior Member
Dec 31, 2000
56,913
It worked with sda.

There are two disks, one is ca 7gb and the other ca 150gb.

Name: sda1 Flags: - Part Type: Primary FS Type: Compaq Label: diagnostics
Name: sda2 Flags: Boot Part Type: Primary FS Type: NTFS Label: []


Is sda2 the 'name'?
I'm guessing by the name that sda1 is some junk "recovery" partition or something like that. So sda2
 

Zé Tahir

JhoolayLaaaal!
Moderator
Dec 10, 2004
29,281
That didn't work.

Here's what I got:

ubuntu@ubuntu:~$ sudo mount -t ntfs /dev/sda2/mnt/windrive -o "umask=022"
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntu@ubuntu:~$ ls windrive
ls: cannot access windrive: No such file or directory
ubuntu@ubuntu:~$ Is windrive
Is: command not found
ubuntu@ubuntu:~$ ^C
ubuntu@ubuntu:~$ ^C
ubuntu@ubuntu:~$
Something I did wrong or this method won't work?


@Asif: It came with XP originally but Vista was put on it.
 

Zé Tahir

JhoolayLaaaal!
Moderator
Dec 10, 2004
29,281
Yeah, when I do it with the space nothing happens. I finish typing it and hit enter and the cursor just jumps down :confused:

edit: As I finished typing this I took another look and this is what I saw:

ubuntu@ubuntu:~$ sudo mount -t ntfs /dev/sda2 /mnt/windrive -o "umask=022"
ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read NTFS $Bitmap: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
ubuntu@ubuntu:~$ ^C
ubuntu@ubuntu:~$
 

Users Who Are Viewing This Thread (Users: 0, Guests: 8)