Networking Knoppix.

Soldato
Joined
18 Jan 2005
Posts
4,171
Location
Northants
I'm booting knoppix from a cd onto a laptop with a corrupted windows install to try and retrieve the data. I can't use a usb storage device because i get an error message saying windows hasn't been shut down properly, presumably because it uses some part of windows when doing this.
This is my first time with Linux, so i know very little.
When i plug a network cable in i can access the internet but not our windows home network.

How can i access our network so i can copy the data off the laptop?
Can someone take me through it step by step?

Thanks
 
Tried an external usb harddisk, ntfs i presume. I can read it but when i try to write to it says it can't initialise the device because windows wasn't shut down properly (which it wasn't, and can't be).

I want to talk to a windows shared drive or folder so i can copy the data off the laptop to somewhere else.
I could upload it via the internet, which works, but that would take forever.
 
I would share the internal hard disk using Samba and then connect to your knoppix-running box from another machine using "\\ip.address.of.knoppix\sharename"

Certainly the most pain-free method as a) you are copying data via SMB over the local network and b) you dont have to worry about writing directly to an NTFS partition under linux.
 
Click that link that I posted, it gives you a few steps to get samba to be able to read a windows share.

Its possibly complaining about the filesystem on the usb disk but perhaps if you have a way to chkdsk that drive you'll be able to get write access. (ie it prolly has some integrity issues or a flag set to say there may be integrity issues with the file system).

Edit:

And I agree with the above poster, some kind of network file system / windows share / samba definately the best way to go.
 
Last edited:
Ok, it looks like knoppix has samba built in, i just couldn't find it before.

It can see my windows network. Some folders i can access, some ask for a password and won't open without one.

Those i can get into say access denied when i try to create a folder. When i try to copy some files into them it crashes.

What am i doing wrong?

And also, how do you recover from a crash in linux?
And if i did need to download samba, its not an executable file, so how would i install it?

Thanks
 
Joe42 said:
Ok, it looks like knoppix has samba built in, i just couldn't find it before.

It can see my windows network. Some folders i can access, some ask for a password and won't open without one.

Those i can get into say access denied when i try to create a folder. When i try to copy some files into them it crashes.

What am i doing wrong?

And also, how do you recover from a crash in linux?
And if i did need to download samba, its not an executable file, so how would i install it?

Thanks

In windows when you share a folder, I believe there is possibly a user access list, the passwords you refer to are prolly the passwords on the windows user accounts. However, you can make an unlocked share (as you have noticed you can still access some). You cant write to them because you've most likely not ticked the option in windows.

In windows find a shared folder (or a folder you wish to share), right click it and goto properties, click on the sharing tab, and click "share this folder on the network", then click the box under that "Allow other users to change my files". This should allow you to make folders while browsing the windows share from knoppix.

A crash in linux, is it a specific piece of software crashing or the kernel going nuts? Your description is kind of vague (though I guess "kernel going nuts is kind of vague too ;)).

Knoppix has samba built onto its live CD, as you have noticed. So you don't need to download it. If you DID need to download it most likely the live CD will have setup a temp RAM drive where you can install apps. In linux most distros have something called a package manager, you use the package manager to download and install samba, but you really shouldn't be needing to do this. Samba is already on there from the sounds of things, you just needed to setup the permissions in windows.
 
All these shared windows folders can be accessed and written to by other windows machines but not the knoppix one. I can't find any options except a tick box for 'allow users to modify files' which is ticked.

The crash is everthing locks, it stops responding, can't move the mouse, pressing keys does nothing etc.

I'll see if i can find this package manager thing. The built in samba seems very unstable.

i'm going to try the dvd version now as i hope it might be a little better.
 
Got a step further this time. I can see and write to a network folder, but it still crashes when i try to copy some stuff from the harddisk to the network folder.
 
:(. My knowledge is getting a bit stretched here I must admit because I'm just used to using linux in uni and from time to time at home. Did you try it the way M0KUJ1N described?

In his method you use samba to share the drive connected to your linux box (the one with the files you want to save), then you go to your windows box and then browse the network and drag the files over instead of pushing them onto the windows box.

Knoppix runs KDE, on one of the system config areas (I can't remember this bit) there should be a control panel like thing which is graphical for samba. Samba will allow you to setup a share from linux which you should be able to see in windows. If you read the section in the PDF that M0KUJ1N posted it has the method of doing this via the command line, though if you can find the graphical utility it will write the config files for you (both should work equally as well).

Also, the package manager for knoppix is apt, and it has a front end called synaptic which should allow you to browse the list of available packages and install them etc.

Sorry I cant really be more specific on the steps :(.
 
Yes i'll try doing it the other way round and sharing the disk in the laptop and accessing it from windows.

This is my first time with linux really, so i'm reluctant to do things the easy way immediately as i want to learn it and become good at it, and while i may be able to solve this problem doing thigns from windows, i'll want to network a linux machine one day.

It is nice to come back to a windows box, and while windows has its issues and i hate it with a passion, at the same time thank god i don't have to use linux everyday. Hopefully i'll think differently when i've tried a few different variations of it but thats my initial impression.

Thanks for all your help and i'll have another crack at it tomorrow.
 
Back
Top Bottom