Linux-Noob Forums
Some questions - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: How Do I? (https://www.linux-noob.com/forums/forum-60.html)
+--- Thread: Some questions (/thread-2794.html)



Some questions - NeXz - 2005-03-10


1. How do I can enter the resolv.conf? With su - ? what is the command to read/edit?

 

You must edit resolv.conf to find the linux with a windows XP? And how do I add the linux to a members group like in windows.

 

2. I cant find my second harddrive in linux. I have maked the a partition with Linux format. But I dont find it eny way. I think i have to add something in a file. A command line or something. But dont know what it is :)

 

Thanks for the help peoples :)




Some questions - anyweb - 2005-03-10


to edit files that require root privaledge simply type

 



Code:
su -




 

the - after su is important.

 

once done, you are logged in as root, and can edit files using a variety of methods, the editor i'd suggest you learn is called 'vi' and while it appears hard to use at first you'll get the hang of it after a while

 

vi /path/to/some/file

 

to see your hard discs as root type

 



Code:
fdisk -l




 

thats -l as in larry

 

cheers

 

anyweb




Some questions - NeXz - 2005-03-10


But how to find the harddrive in my computer. I find it with fdisk -l.

But cant save files to it or find it in my computer.




Some questions - anyweb - 2005-03-10


paste the output of fdisk -l here

 

also, what distro are you runnin (what distrobution of linux and what version)

 

and is the drive just a blank drive or is it NTFS/FAT ?

 

cheers

 

anyweb




Some questions - xDamox - 2005-03-10


sometimes Fedora automatically mounts windows devices and adds them to the /etc/fstab

so do cat /etc/fstab and see if you can see your windows mount point




Some questions - NeXz - 2005-03-10


Disk /dev/hda: 6449 MB, 6449587200 bytes

255 heads, 63 sectors/track, 784 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

 

Device Boot Start End Blocks Id System

/dev/hda1 * 1 13 104391 83 Linux

/dev/hda2 14 784 6193057+ 8e Linux LVM

 

Disk /dev/hdb: 10.2 GB, 10248118272 bytes

16 heads, 63 sectors/track, 19857 cylinders

Units = cylinders of 1008 * 512 = 516096 bytes

 

Device Boot Start End Blocks Id System

/dev/hdb1 1 19857 10007896+ 5 Extended

 

 

Im using Fedora 3 :)




Some questions - anyweb - 2005-06-17


to mount an NTFS drive in linux read this howto

 

to mount a FAT drive in linux read this one

 

and to mount windows shares via SMB (samba) try this topic instead

 

cheers

 

anyweb