Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some questions
#1

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 :)

Reply
#2

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

Reply
#3

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.

Reply
#4

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

Reply
#5

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

Reply
#6

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 :)

Reply
#7

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

Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)