Warning - Linux Idiot on the lose
I am trying to put Ubuntu on an old PC and I am now lost. It is now dual booting between XP and ubuntu fine but I can't get ndiswrapper loaded. I have two hard drives, a 40G IDE and 250G SATA. XP and Ubuntu are on separate partitions on the 40G and all my data is on the 250G. I have downloaded ndiswrapper and it is on my 250G and I can see it from a navigator in Ubuntu but I can't CD to it via Terminal.
|
are you trying to cd to it directly, that won't work, you have to cd to the directory/folder that contains said file.
example, if it's location is /mnt/bigdrive/stuff/ndiswrapper then cd /mnt/bigdrive/stuff after your there do a ls to list the contents of the location :) |
in a terminal type
Code:
mount something like Quote:
Then you type Code:
cd /mnt/data Code:
ls Good luck |
If only life were that easy, I can't cd to my 250G HD as I don't know its id letter.
|
Hi,
This is not M$! That is why you were directed to do a 'mount' command to see what filesystems are mounted. From that output list you should identify your filesystem on that 250GB drive. Code:
example from the 'cli'; :hattip: Just a few links to aid you; Linux Documentation Project Rute Tutorial & Exposition Linux Command Guide Utimate Linux Newbie Guide LinuxSelfHelp Getting Started with Linux Advanced Bash-Scripting Guide These links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links! |
Quote:
|
I fear you want it to be more work than neccesary - but OTOH I don't have Ubuntu to test.
Have you seen this: http://sourceforge.net/apps/mediawik...=HowTos#Ubuntu which points to descriptions on how to use synaptic or apt-get to install ndiswrapper just as you do with any other program. You seem to want to build ndiswrapper from source - which might be both unneccesary and a bit over your head ;) As for the mounting thing: In linux there is no drive letters - but it is similar. Your SATA drive would be (very probably) /dev/sda any partitions on it would be counted from 1 up - so the first would be /dev/sda1 You integrate this drive by "mounting" it - to wherever you like. Typically this is a directory under /mnt - just to have a scheme - it could be anywhere. So: you create a directory: mkdir /mnt/mydrive then you "mount" the device to that directory: mount /dev/sda1 /mnt/mydrive and whatever is on that drive will now be available beneath /mnt/mydrive. This should generally work, but is of course a little simplified - a lot of guides and docs exist... ...and Ubuntu might alredy have recognized the drive - look in /etc/fstab |
additionally:
I misred your post a bit. You can see it from a navigator? This seems to say that you can also browse it using that navigator (the file-manager "nautilus"?). But cant cd to it via terminal? This would be odd indeed. and: Are you sure you even need ndiswrapper? Many wireless devices are supported and will just work. |
My apologies as i posted my earlier reply my thread was updated.
Quote:
As to the question if I need ndiswrapper, I am just following the breadcrumbs. ------------edit------------ mkdir - permission denied. |
Code:
/dev/sda1 on /media/disk-1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096) linux mounts each physical drive as sdXY where X is the number of drives (represented by letters) and Y is the number of partitions (represented by numbers). Your sdb7 and sdb5 are ext3 file extensions, so they are for linux. You said the 250 was by itself so by process of elimination you can see sda1 is the only logical choice. If you had 4 drives they would be sda1, sdb1, scd1, and sdd1. Then for each partition on the individual drives there will be a number, i.e. sda1, sda2, sda3 etc... Hope that helps. |
Quote:
Code:
... Which is not an IDE drive if I'm not mistaken. Please someone correct me here ASAP if that is not right! But you said that both XP and Ubuntu are on a 40 GB IDE drive. Apart from that, you have 3 more partitions mounted - all automatically and all to /media /dev/sdb7 - which is an ext3 partition and therefore cannot be XP /dev/sda1 /dev/sdb1 You must have made this layout - and should know what is where. Code:
fdisk -l /dev/sda Code:
fdisk -l /dev/sdb [edit] Quote:
No need for that "sudo mkdir" here - your drives are all already mounted it seems. But you need to use it for the fdisk commands above as well, or they, too, will fail. And you really should be able to explore what is on those drives - they are accessible under the /media directory in your filemanager (you said "navigator"). Click on "Computer" and see all your drives...or use the "places" menu in the panel... |
For the original question and because of the answer you gave to me asking if you where sure that you need ndiswrapper, I also have one:
what do you need ndiswrapper for? What type of hardware do you want to use? |
Quote:
I now need to nip back across the house to see if I understand what I have read this morning. |
When I switched on this morning and tried mount I only saw /dev/sdb5. I then opened a file browser and clicked on 250G and I think it mounted. I then went back and tried mount and I had the full list back so I tried fdisk as below.
Quote:
|
From your fdisk, sda is the 250GB; from your mount, it's mounted on /media/disk-1 (sda1)
You should be able to use cd /media/disk-1 to get to it |
All times are GMT -5. The time now is 08:33 AM. |