bvc Posted March 31, 2004 Report Share Posted March 31, 2004 yes, you need to be root. Quote Link to comment Share on other sites More sharing options...
hbob Posted March 31, 2004 Author Report Share Posted March 31, 2004 Stupid question How do I do it as root, I open kate and there is no option to edit as root. I go to terminal and typed edit /etc/fstab and you know the answer edit is not a good word. So how do I open as root and edit with kate ? Be kind, I'm really new to this. I could go on searching the net, but I know you know the answer. Quote Link to comment Share on other sites More sharing options...
scoopy Posted March 31, 2004 Report Share Posted March 31, 2004 To edit things in KDE with KATE as ROOT: open up a terminal su <enter root password> kate you will now be able to edit and save files as root user. Quote Link to comment Share on other sites More sharing options...
hbob Posted April 1, 2004 Author Report Share Posted April 1, 2004 BVC Typed in su and the password tried several different ways of typing kate, no luck. However I did type in kedit and I recieved a hugh page listing drives/ cdroms, what I read of it. It also opened kedit, bad news is before I could copy, I hit x bad mistake. Now when I went to open devices in kedit, this is what shows up: CD-ROM (hdc) [/mnt/cdrom] CD-ROM [mnt/cdrom] CD-ROM [mnt/cdRom2] CD-ROM [mnt/cdrom] Floppy Floppy (fd0) Hard disc (hda1) [mnt/win_c] Hard disc (hda5 [mnt/win_d] Hard Disc (hdb1)[/] Hard Disc (hdb7[mnt/win_c2] Hard Disc (hdb8[/home] if I go to the mount directory /mnt/ what I see is different I.E. I show a cdrom, cdrom2, win_c, win_c2, win_d and win_d2 2 partitions on the first drive primary 40 gig 40/60 2 win partitions about 49 gigs each 27 gigs for Mandrake 9.2 and all I have is the system installed (for a home user) Now I did create a file in the /home/ directory called hdc1 And I did a: s /mnt/cdrom2 /dev/hdc1 in the terminal is acted as though it had finished the task I rebooted and then tried to install a package (mplayer). Again cd 2 was asked to be loaded, I did and clicked ok. and not. When I check the file/folder (properties) created in /home/hbob/ directory 0 files Tried typing in su [hbob@localhost hbob]$ su Password: [root@localhost hbob]# file /dev/hdc /dev/hdc: Can't stat `/dev/hdc' (No such file or directory) [root@localhost hbob]# I'm not sure but it looks like I have way to many cdroms listed in one place. And not enough hard drives listed in other places. I did try to re-open the terminal again and I typed in kedit once more, this time it just opened kedit no list, will try to reboot again. maybe list will come back up ? Quote Link to comment Share on other sites More sharing options...
bvc Posted April 2, 2004 Report Share Posted April 2, 2004 k, you're losing me. Does fstab still look the same as b4? I forgot that kate isn't installed by default. Sorry! I have always steered clear of kwrite and have no idea why it's the default. Your hdc in your home dir isn't going to do anything at all, except maybe make matters worse. Delete it. When you open kwrite, append /etc/fstab like this (as root) kwrite /etc/fstab Keep trying and don't give up! Quote Link to comment Share on other sites More sharing options...
scoopy Posted April 2, 2004 Report Share Posted April 2, 2004 I am curious now... hbob said he had kate open and used it at least twice before in this thread... which means it is installed... right? Why now won't it open as root user? Is this a sign there are deeper problems here? Quote Link to comment Share on other sites More sharing options...
hbob Posted April 2, 2004 Author Report Share Posted April 2, 2004 I have: emacs gedit kate kedite khexedit kwrite I used kedit again and I was able to edit my fstab (yes it looked the same as below) I made the changes and it saved, but I can't see my DVD drive at all And there is no /mnt/hdc/ just the two cdroms (nothing has changed as far as what I see in /mnt/) when I open cdrom2 and I have a cd in the drive I see nothing and the player doesn't indicate activity. So I'll edit it back just so I can at least see the drive. in /dev/ there was no hdc. well when I open /etc/fstab/ as root, it's empty, now. when I go to /etc/fstab/ the file has changed properties, I can still see what I seen before /dev/hdb1 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hdb8 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 change none /mnt/cdrom supermount dev=/dev/hdc/auto,ro,--,iocharset=iso8859-1 0 0 none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 change none /mnt/cdrom2 supermount dev=/dev/scd1,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,sync,iocharset=iso8859-1,codepage=850,umask=0 0 0 /dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,umask=0,codepage=850 0 0 /dev/hdb6 /mnt/win_c2 vfat iocharset=iso8859-1,umask=0,codepage=850 0 0 /dev/hda5 /mnt/win_d vfat iocharset=iso8859-1,umask=0,codepage=850 0 0 /dev/hdb7 /mnt/win_d2 vfat iocharset=iso8859-1,umask=0,codepage=850 0 0 none /proc proc defaults 0 0 /dev/hdb5 swap swap defaults 0 0 I must choice a program to open it(that's not good ) when I open it with kate I see (what's above) as root I copied and pasted into the blank page (from saved info) I was not allowed to write to file. So the file is still there, but it's no longer seen/the system doesn't know what to do with the file. And I can't seem to put it back. Quote Link to comment Share on other sites More sharing options...
hbob Posted April 2, 2004 Author Report Share Posted April 2, 2004 I should add one thing, when I open kedit now after selecting a program it looks like the original fstab with out the changes: none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 Quote Link to comment Share on other sites More sharing options...
aRTee Posted April 2, 2004 Report Share Posted April 2, 2004 BVCaRTee Tried not sure if I was doing that right, but I tried and I recieved a message that was not allowed. It showed downloading some 500 + mb of files before that message. what I did was cp /mnt/cdrom2/Mandrake /dev/hdc1/Mandrake a file I had created, I thought it was looking for the file there so give it what it wants. Ehm, no, you have to read my instructions again. Never just make files in /dev they don't belong there. On my configuration page there is a link to the previous config page which describes how exactly I did it on 9.2. The only change you have to make compared to that, is that my site explains how to create the necessary directory structure, then mount the iso images, then link the right subdir each of the images to the right link in the empty directory structure. All you have to do is copy from the first cd the directory called Mandrake, for instance to /home/installfiles (which you have to create as root), then go inside the directory called Mandrake, where you will find the subdirectories: base and RPMS. On the other discs you will find a dir called Mandrake with a subdir: RPMS2, RPMS3, RPMS4 Copy those next to the first one, so you get: base RPMS RPMS2 RPMS3 RPMS4 inside that dir called Mandrake. Then all you have to do is point the Media manager (in MCC - Software Management) to use those dirs/paths, as per the instructions on my site. To get back to your problem at this moment, could you: 1) post your /etc/lilo.conf 2) and your /etc/fstab because I have lost overview completely. Another request: please use quoting and code flags in your writing, when you post a message/reply, just hit the QUOTE or CODE buttons at the top of your input field, they will put the necessary code into the input field at the end of your writing, and show a star that they are in use: QUOTE* then finish your quote or code, and click that button again... Quote Link to comment Share on other sites More sharing options...
hbob Posted April 3, 2004 Author Report Share Posted April 3, 2004 Sorry new to posting I do a lot of reading, just getting use the posting part. I went to Your website and it's very niicely done. I went to the config. page. and this is the results: [hbob@localhost hbob]$ suPassword: [root@localhost hbob]# mkdir /mnt/mdk92iso1 [root@localhost hbob]# mkdir /mnt/mdk92iso2 [root@localhost hbob]# mkdir /mnt/mdk92iso3 [root@localhost hbob]# mount -t iso9660 -o loop /path/to/MandrakeLinux-9.2-17-Download-1.i586.iso /mnt/mdk 92iso1 /path/to/MandrakeLinux-9.2-17-Download-1.i586.iso: No such file or directory [root@localhost hbob]# mount -t iso9660 -o loop /path/to/MandrakeLinux-9.2-17-Download-1.i586.iso /mnt/cdrom2/mdk /path/to/MandrakeLinux-9.2-17-Download-1.i586.iso: No such file or directory [root@localhost hbob]# mount -t iso9660 -o loop /path/to/MandrakeLinux-9.2-17-Download-1.i586.iso /mnt/mdk 92iso1 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 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 num]. For many more details, say man 8 mount . [root@localhost hbob]# mount -t iso9660 -o loop /path/to/MandrakeLinux-9.2-18-Download-2.i586.iso /mnt/mdk92iso2 /path/to/MandrakeLinux-9.2-18-Download-2.i586.iso: No such file or directory [root@localhost hbob]# mount -t iso9660 -o loop /path/to/MandrakeLinux-9.2-18-Download-2.i586.iso /mnt/mdk92iso2 /path/to/MandrakeLinux-9.2-18-Download-2.i586.iso: No such file or directory [root@localhost hbob]# mount -t iso9660 -o loop /path/to/MandrakeLinux-9.2-18-Download-2.i586.iso /mnt/mdk92iso2 /path/to/MandrakeLinux-9.2-18-Download-2.i586.iso: No such file or directory [root@localhost hbob]# mount -t iso9660 -o loop /path/to/MandrakeLinux-9.2-18-Download-2.i586.iso /mnt/cdrom2/mdk92iso2 /path/to/MandrakeLinux-9.2-18-Download-2.i586.iso: No such file or directory [root@localhost hbob]# mount -t iso9660 -o loop /path/to/MandrakeLinux-9.2-19-Download-3.i586.iso /mnt/mdk92iso3 /path/to/MandrakeLinux-9.2-19-Download-3.i586.iso: No such file or directory [root@localhost hbob]# mount -t iso9660 -o loop /path/to/MandrakeLinux-9.2-19-Download-3.i586.iso /mnt/mdk92iso3 /path/to/MandrakeLinux-9.2-19-Download-3.i586.iso: No such file or directory [root@localhost hbob]# note: When I recieved the message the second time after typing it in a different way, I inserted cd1, then it fonund the first iso. I tried inserting both cd1 and cd 2 during the next cammand lines iso2, and iso3, did not help. to keep you up to date, I did a complete new install to be able to see the cdroms at least. So made this attempt on a fresh system. Here is the current copy on the fstab: /dev/hdb1 / ext3 defaults 1 1none /dev/pts devpts mode=0620 0 0 /dev/hdb8 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,iocharset=iso8859-1,codepage=850,sync,umask=0 0 0 /dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 /dev/hdb6 /mnt/win_c2 vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 /dev/hda5 /mnt/win_d vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 /dev/hdb7 /mnt/win_d2 vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 none /proc proc defaults 0 0 /dev/hdb5 swap swap defaults 0 0 I also have another fstab.mdkgiorig it reads as follows: /dev/hdb1 / ext3 defaults 1 1none /dev/pts devpts mode=0620 0 0 /dev/hdb8 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,iocharset=iso8859-1,codepage=850,sync,umask=0 0 0 /dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 /dev/hdb6 /mnt/win_c2 vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 /dev/hda5 /mnt/win_d vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 /dev/hdb7 /mnt/win_d2 vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 none /proc proc defaults 0 0 /dev/hdb5 swap swap defaults 0 0 Hope You can sence of it all, it's new to me. Quote Link to comment Share on other sites More sharing options...
hbob Posted April 5, 2004 Author Report Share Posted April 5, 2004 Can install packages straight from CD. Checked and DVD (reader) jumper as Master. and HP cd/rw is jumpered as slave. What does the black dot mean in the envelope, attached to my thread? Quote Link to comment Share on other sites More sharing options...
scoopy Posted April 6, 2004 Report Share Posted April 6, 2004 Is this problem all straitened out now? I always read to have your CD's the other way around... writer as master and reader as slave... there was always questions on whether is was proper to mix them with the harddrives on both IDE cables. BTW: The icons that have a black dot in it, means it is a topic you have posted/voted in. Quote Link to comment Share on other sites More sharing options...
bvc Posted April 6, 2004 Report Share Posted April 6, 2004 Can install packages straight from CD. yeah, is it fixed? What was it? Do you know? Quote Link to comment Share on other sites More sharing options...
hbob Posted April 6, 2004 Author Report Share Posted April 6, 2004 No As I stated before I could always see the files on the DVD drive it's just that RPMDRAKE. Still wants to see the file in hdc and thats not possible to date. But I can mnt the cdrom2 either (cd1 or cd2 ) and see the contents. And I can go into the Mandrake folder in the RPM folder and I can install what ever I want, it tells me of the programs it's dependent on and seems to install all. And after I checked if mplayer was installed or not and it was, it even worked although I still can't play streaming video yet ( movie trailers and the like). Nor can I update Mandrake. Quote Link to comment Share on other sites More sharing options...
aRTee Posted April 6, 2004 Report Share Posted April 6, 2004 Ok, back to where you nicely used the CODE tags and explained about how you tried to follow the instructions on my site: [root@localhost hbob]# mount -t iso9660 -o loop /path/to/MandrakeLinux-9.2-17-Download-1.i586.iso /mnt/mdk92iso1 /path/to/MandrakeLinux-9.2-17-Download-1.i586.iso: No such file or directory really is quite natural, the way I explain on my site is how to proceed if you have the iso images on your harddrive, and /path/to/...iso then has to be substituted by the correct path, for instance: /home/hbob/mdkisos/MandrakeLinux-9.2-17-Download-1.i586.iso What you have to do is just pop in the cd in the drive, then copy the base and Mandrake/RPM(1,2,3) directories to /mnt/mdk92iso/ I described that in my previous message - read that one carefully. If you don't understand this, I will try to get the exact commands that you have to do to get this right, hopefully tonight, next time I'm at my machine. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.