Re: Rebooting problem
In linux.debian.user, you wrote: Hi all, I'm a debian newbie. Last night I've download the debian-installer beta. With a litle luck I got it to install the base system. Now comes the problem. I have 3 HDs the boot HD has Grub and XP on it. The 2nd HD has Debian on it. With LILO install on (HD2) /dev/ide/host2/bus0/target0/lun0/disc2;disc1 ( primary partition) is a swap,disc2 (primary partition 2) is a root,disc5 is (extended partition)/usr. And SusE on HD3.Grub boot the others OS fine except Debian. How do I make Grub boot Debian? Any help is greatly appreciated. Vanh I think you should boot into SuSE which appears to be the system that installed Grub. Mount the Debian /boot and copy the kernel and System.map to SuSE /boot. Give them the same extension on the end and rename the kernel if it has the same version number as the one for SuSE. umount Debian's /boot. Edit SuSE /boot/grub/menu.lst to include a stanza for Debian. Then try to boot. You do not need to reinstall Grub. If that doesn't work, then I think we will need you to boot into SuSE and give us /etc/fstab and /boot/grub/menu.lst. I think the output of 'ls /boot boot-contents' would be good too; so we can see the names of the kernels. Be sure you do not alter the stanza for SuSE so you don't lose the ability to boot into it. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: reboot problem
In gmane.linux.debian.user, you wrote: After a power outage, my system (sarge) is not booting properly. Once it starts to boot, it no longer boots from /boot, but / instead, which leads to /usr, /home not being mounted. I can log in as root, mount the partitions, but it still is missing some stuff, I think, from not booting properly. fsck runs okay on all partitions. nothing else seems to be missing/broken. Any pointers, or suggestions would be greatly appreciated. -- Rodney D. Myers [EMAIL PROTECTED] Registered Linux User #96112 So, you are saying that it is booting with a kernel that is on /? That should not cause /usr and /home to not be mounted. That is controlled by /etc/fstab. Are you using LILO to boot? If so, check /etc/lilo.conf to be sure that it still looks right - image is pointing to /boot and root is pointing to the proper / partition. If that looks good, then as root run /sbin/lilo to rewrite LILO. If you are not sure /etc/lilo.conf is right, then I would suggest that you do this on a floppy. Put a floppy in the drive. Edit /etc/lilo.conf so that you have 'boot=/dev/fd0' in place of 'boot=/dev/hda' or whatever it is. Then run /sbin/lilo and it will write LILO to the floppy. Check /etc/fstab and make sure that you have /usr and /home listed in there to mount. Then with reboot - use the floppy if you wrote LILO there. If it boots correctly, then you can edit /etc/lilo.conf again and put the original line for 'boot=' back in. Actually you could just comment it out in the first place and now just remove the comment and remove the line for the floppy. Run /sbin/lilo to write LILO to the hard drive and try booting without the floppy. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: file system check, and defrag
In gmane.linux.debian.user, you wrote: Hi all, being real new to Debian, and fairly new to Linux, I have the following questions - I have 3.0r1 Woody installed with ext3 file systems and would like to periodically check, and then defrag, the file system(s). 1. How (and what is the best way) to do this? 2. Other distributions I've had installed, run a file system check at bootup. Why not Debian? 3. How can I setup Debian to check at bootup? Thanks in advance! Kordula I've installed several distros over the years and never seen one that did the filesystem check at every boot. Most have been set to run after 30 boots or so. If you want to change this, see 'man tune2fs' especially '-i' which is used to set the interval. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Multiple 'To' in mutt
In linux.debian.user, you wrote: I'm trying to shift to mutt full time, and I'm amazed at how little it sucks (!). I do have one question though, how do I add people to the 'To', 'Cc' and 'Bcc' fields from my address book? I know how to do one, I hit Q, search, and enter. I know I can append to a search and then tag the results, but how do I use them? And is it possible to add more people from my address book once I finish composing? (the screen right before I send it). snip - because I don't know about IMAP -- Naitik Shah. When you start to write a message, you use 'm' and the first thing that comes up is To:. Hit the TAB key and use 't' to tag the list of names that you want for To: and then ENTER. Then do Subject and write the message and save it. Then you have the mail ready to send. I can see both Cc: and Bcc: in mine. To add to Cc: do 'c' and then TAB, t, and ENTER. For Bcc: do 'b', etc. If you want to add more to To, after composing, you just hit 't', TAB and so on. Then send. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: I can't boot on the Debian I just installed
You are using the same kernel and initrd.img for Debian as you are for Mandrake. I guess the boot fails because it can't find the modules it needs to boot. It is looking for Mandrake stuff on your Debian partition. (Right partition - wrong kernel and initrd.img) The way I do this is to boot mount the Debian partition (/dev/hdd2) and copy the kernel (rename it vmlinuz-debian in the copy), the System.map (rename System.map-debian) and initrd.img (initrd.img-debian). Then edit /etc/lilo.conf using these new names for the image and initrd.img. Rerun /sbin/lilo and try booting. Anita I didn't say where to copy the files - put them in your Mandrake /boot directory. lilo.conf states that this is where they are located, or it will once you change the names for the kernel and initrd.img in the Debian section. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: return of DNS problem
In linux.debian.user, you wrote: Hi, After getting grub to work and booting with the k7 kernel rather than the bf2.4 the DNS problem returned..or that's what I think I'm seeing-basically a conection that doesn't work. So I ran plog, I got an exit status 1; I put exit 0 in the 6 scripts in /etc/ppp/ip-up.d Oct 13 12:34:57 deblnx pppd[1328]: not replacing existing default route to tap0 [0.0.0.0] Oct 13 12:34:57 deblnx pppd[1328]: Cannot determine ethernet address for proxy ARP Oct 13 12:34:57 deblnx pppd[1328]: local IP address 67.75.63.145 Oct 13 12:34:57 deblnx pppd[1328]: remote IP address 63.215.27.35 Oct 13 12:34:57 deblnx pppd[1328]: primary DNS address 209.244.0.3 Oct 13 12:34:57 deblnx pppd[1328]: secondary DNS address 209.244.0.4 Oct 13 12:34:57 deblnx pppd[1328]: Script /etc/ppp/ip-up started (pid 1369) Oct 13 12:34:58 deblnx pppd[1328]: Script /etc/ppp/ip-up finished (pid 1369), status = 0x0 deblnx:/home/john# Is this a kernel that you compiled? If so, did you use the config file that came with the original kernel from /boot? Does it have PPP enabled? Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: I can't boot on the Debian I just installed
In linux.debian.user, you wrote: Hello, I installed some days ago a Debian r3.0r1 next to Mandrake 9.1. The installation went ok, but I can't boot on Debian! If I select the Debian item in lilo, it boots on Mandrake!?! Here's the partitions details of the hard drive on which Debian is installed: Disk /dev/hdd: 40.0 GB, 40027029504 bytes 255 heads, 63 sectors/track, 4866 cylinders Units = cylindres of 16065 * 512 = 8225280 bytes Périphérique AmorceDébut FinBlocs Id Système /dev/hdd1 * 1 823 6610716 83 Linux /dev/hdd2 * 824 1646 6610747+ 83 Linux /dev/hdd3 1647 4766 25061400 93 Amoeba /dev/hdd4 4767 4866803250 92 Inconnu I modified the /etc/lilo.conf on the Mandrake system (and ran lilo), in order to add a Debian item. Here's that file: boot=/dev/hda map=/boot/map prompt default=LinuxMandrake keytable=/boot/fr-latin1.klt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw disk=/dev/hdd bios=0x82 image=/boot/vmlinuz label=LinuxMandrake root=/dev/hdd1 initrd=/boot/initrd.img append=devfs=mount acpi=off quiet vga=788 read-only image=/boot/vmlinuz label=Debian root=/dev/hdd2 initrd=/boot/initrd.img append=devfs=mount acpi=off quiet vga=normal read-only other=/dev/hda1 label=WindowsXP table=/dev/hda If I select the Debian item, it boots on Mandrake (which ends with a kernel panic). I put image=/vmlinuz for the Debian item, but nothing changed. What can I do? I'd like to try Debian. It's installed, but I can't access it... Thanks for the help! You are using the same kernel and initrd.img for Debian as you are for Mandrake. I guess the boot fails because it can't find the modules it needs to boot. It is looking for Mandrake stuff on your Debian partition. (Right partition - wrong kernel and initrd.img) The way I do this is to boot mount the Debian partition (/dev/hdd2) and copy the kernel (rename it vmlinuz-debian in the copy), the System.map (rename System.map-debian) and initrd.img (initrd.img-debian). Then edit /etc/lilo.conf using these new names for the image and initrd.img. Rerun /sbin/lilo and try booting. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Installation has not created boot properly
In linux.debian.user, you wrote: Well, after several attempts at re-running LILO, it still didn't get any further. So, needing my PC in some kind of working order I set about repairing the Win2000 boot sector... And got exactly the same as my post-Linux install boot attempts. In the end (after running round the room panicking quite a lot) I found out about, and ran FIXMBR from the Windows recovery disks. It worked (easing my heart condition somewhat!) So it appears LILO is doing something nasty with my disk's MBR. Any suggestions where I could go from here? Are there other Linux boot programs I could try? Do you need any technical details about my system to help? (I'm a bit of a newbie when it comes to system type stuff). In case it's this, here's my lilo.conf (with comments taken out): lba32 boot=/dev/hda root=/dev/hdd1 install=/boot/boot-menu.b map=/boot/map delay=20 vga=normal default=Linux image=/vmlinuz label=Linux read-only image=/vmlinuz.old label=LinuxOLD read-only optional One way to play around with this without wrecking the mbr is to do this on a floppy. change the boot line to 'boot=/dev/fd0' so that it writes to a floppy. Put a floppy in the drive and run /sbin/lilo. Then boot with that floppy in. This is not the same as a rescue or boot floppy - the kernel will not be on the floppy - just LILO will be there. I personally prefer to use the image that is in /boot for the image line, but yours should work if /vmlinuz is a symlink to the real kernel in /boot. There was a post about disk geometry. It's possible that LILO is not reading the geometry on /dev/hdd correctly. That post told you how to check it. You can specify the geometry in lilo.conf if that is the problem. At any rate while you are testing this, if you use the floppy instead of writing to the mbr, it will save you that trouble. There is also GRUB which can be put on a floppy as well. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: lilo problem
In linux.debian.user, you wrote: Hi, I have installed debain (woody) next to my current dist (mandrake 9.1). I added entries to mandrakes lilo.conf so that I could boot both debian and mandrake, I am sick of mandrake and want to completely switch to debian. I get the following error message when running lilo (on mandrake): Added linux * Added linux-nonfb Added failsafe Added windows Added floppy Added OldMandrake Fatal: open /vmlinuz: No such file or directory The last two entries in (mandrakes) /etc/lilo.conf: image=/boot/vmlinuz label=OldMandrake root=/dev/hdc1 initrd=/boot/initrd-2.4.21-0.13mdk.img read-only image=/vmlinuz label=Debian root=/dev/hdc8 boot=/dev/hdc8 install=/boot/boot.b map=/boot/map read-only What should I do? You are running this while in Mandrake; so mount hdc8 so that lilo can get to the kernel. I don't know about putting that boot=/dev/hdc8 in there. I would take that and map=/boot/map out of there as well as the install=/boot/boot.b. Change the first part of the stanza to: image=/mnt/vmlinuz (that is most likely a link to the kernel in /boot) Then mount /dev/hdc8 /mnt And try /sbin/lilo again. I usually just copy the kernel and the System.map from /boot of the second distro into /boot of the one I am using to do lilo. Then my line for all of them is image=/boot/vmlinuz-whatever-it-is. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
SOLVED Re: Detect Mail Status in mbox - not mail spool
In linux.debian.user, you wrote: I'm using icewm. There is a nifty little icon that shows the mail status on the toolbar. The problem is that I have procmail deliver all my mail to folders - much of it to separate folders, and what's left goes in mbox. The reason for this is that I have various versions of Debian installed and want to get to my mail (in separate /home) in whichever one I am currently using. I don't want a joint /var for them in order to keep the apt caches separate. How do I set up to have the mail status checked in somewhere other than /var/spool/mail? Thanks, Anita Got it! It was in the icewm docs - the mailbox used by whatever program involved in that mail status icon on the icewm toolbar, is governed by $MAIL environment. So I put 'export MAIL=my-chosen-mail-file and it works fine. I really like this simple icon, because it tells me how many mails are in the box and I can also set the config file so that it will open up mutt when there is new mail. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Getting KDE 3.1
In linux.debian.user, you wrote: After having tracked some of the KDE updates I would not recommend it for the faint of heart. There is no clear update path at this moment. The most reliable method I have found is to completely remove kde first then install the new kde packages second. Remember these are not released and so there are problems to be worked out before it gets into a releasable state. How do you find and remove all of the old kde packages? I am sure there are better ways. I found all version 2.2.2 packages and then manually skimmed the list to make sure it was only kde packages and then removed that list. Don't remove awk or anything that is not part of kde! I used dselect and removed libarts1 with that. I did a *very* thorough job. I don't think it took out awk. ark was taken and a bunch of kde things which looked like all of it. I think you would see a difference in removing kdelibs with dselect rather than apt-get. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Mutt: How to find new mail in mult. mailboxes?
In linux.debian.user, you wrote: man 5 muttrc. Look for mailboxes After you make the entries in .muttrc with mailboxes, you can type 'c' to change mailboxes and you will get the name of the next mailbox in the list that has mail. If use the TAB key after 'c' you will get a list of the mailboxes and an 'N' will be there for those which have new mail. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Getting KDE 3.1
In linux.debian.user, you wrote: Hello [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: In linux.debian.user, you wrote: There is a KDE 3.1.3 backport available for Woody from KDE.org. Add this to your sources.list: deb ftp://ftp.kde.org/pub/kde/stable/latest/Debian woody main Then do apt-get update and apt-get upgrade. Is there anyway to do this for Sarge as well? As far as I know there is no backport of KDE 3.1.3 for Sarge. This question has been discussed recently on debian-user-german, and I think at the moment you either have to wait or get the packages from unstable. best regards Andreas Janssen I had done this before and thought that maybe Sarge had changed since then and made it impossible, but last night I kept at it and got it. Actually I lost most of kde in the process, but the thing I wanted was quanta version 3. I think I can get the rest of kde back, because I have these installed: kdelibs-bin_4%3a3.1.2-0woody1_i386.deb kdelibs-data_4%3a3.1.2-0woody1_all.deb kdelibs4_4%3a3.1.2-0woody1_i386.deb libarts1_1.1.2-0woody1_i386.deb libqt3-mt_3%3a3.1.2-0woody1_i386.deb quanta_1%3a3.1.2-0woody1_i386.deb The trick is around libvorbis0, libarts1, and libqt3-mt. You have to remove the newer version libarts1 which gets rid of kde entirely. Ouch. And you also have to remove libvorbis0a. I think there is also another version of libqt3-mt that has to go. Then I installed libvorbis0 from the Woody cd. After that I used dpkg -i to install libarts1 and libqt3-mt from the above debs. And then I did the same with the kdelibs and quanta debs above. Now I have quanta3 and nothing else of kde. I'll download the rest of kde when I get to a dsl line and then try installing them. I would not recommend this to anyone. It was a royal pain, because I had to install and uninstall things about 5 times running apt-get -f install to fix things etc. I just really wanted to do it, because I had managed it on another partition and wanted to duplicate it. It is very messy. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Getting KDE 3.1
In linux.debian.user, you wrote: There is a KDE 3.1.3 backport available for Woody from KDE.org. Add this to your sources.list: deb ftp://ftp.kde.org/pub/kde/stable/latest/Debian woody main Then do apt-get update and apt-get upgrade. Is there anyway to do this for Sarge as well? Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to monitor file changes?
In linux.debian.user, you wrote: Hi, Is there a way to (sys)log a filesystem? I.e, to log files that has been modified in a certain area such like a partition or directory. thank you, --dullatip. tripwire checks for modified files. I'm not sure on the configuration, but I imagine you can limit the area. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Lilo Problems
In linux.debian.user, you wrote: Sorry I mis-typed the rescue line. My root is /dev/sda3 and I type rescure root=/dev/sda3. Below is my lilo.conf file with comments removed. In addition I've included my /etc/fstab file and the output of df -h to show my /boot partition is small and at the front of the drive. == /etc/lilo.conf == lba32 boot=/dev/sda root=/dev/sda3 install=/boot/boot-menu.b map=/boot/map delay=20 vga=normal default=Linux image=/vmlinuz label=Linux read-only # restricted # alias=1 == snip /etc/fstab and df results - looked good to me I haven't actually seen the answer to your question and am not real sure what it is. I looked at the lilo manual and L 01 means that the first stage boot loader is loaded and there is a Disk error - the drive is not accessible. I think that may have to do with a module that is needed to run the SCSI drive and that module doesn't get loaded in time for LILO. I don't know what module that would be, but perhaps you can find out what is needed. I glanced at the SCSI-2.4 HowTo and Section 4 covers what is needed in the kernel for SCSI. I think your answer will be there. If you don't have this on your machine, you can get it in the HowTo section at www.tldp.org. Basically, I think you just need to recompile your kernel to include something scsi which is currently compiled as a module. I think you can also do this with an initrd image, but I know even less about that. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Moving /home to its own partition.
mkdir /b2 mount -t ext2 /dev/hdb2 /b2 # Drop to single user; kills any pesky daemons writing stuff in background. telinit 1 # Anything here we don't understand? If not, proceed. cd /homels -la # Copy everything whose name does not start with a dot. cp -a * /b2sync I was questioning the thing about not getting the dot files, but now I realize that this means not the dot files in /home. It would get the dot files in /home/username though. You would get the config files for the users. A little slow this morning. Question: What is the 'sync' for? I haven't done this before and am wondering what I've been missing. Thanks, Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Moving /home to its own partition.
In linux.debian.user, you wrote: mv /home/* /mnt/home2 get rid of old home directory with rmdir /home I would not remove /home, because you will need it for a mount point. You have moved everything out of it; so it should be empty. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Linux commands
In linux.debian.user, you wrote: Alan, I think you posted this to the newsfeed only, so people on the debian-user mailing list would never see it (at least it isn't showing up in the archives). I notice User-Agent: slrn/0.9.7.3 (Linux) in your headers. linux.debian.user is only a newsfeed from the list and not a newsgroup on Usenet as such. You need to use a mailer to post to [EMAIL PROTECTED] Tony Thanks Tony. I guess I'll just finally have to figure out how to get slrn to send the post as an email..:-) The crafte so long, the lyfe so short. (Chet Ramey's great sig. From Chaucer, I believe.) Alan I'm doing just that. I just hit 'r' for reply instead of 'f'. That puts me into my editor. I change the address at the top from the poster's address to [EMAIL PROTECTED] Then I write and send. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Linux commands
In linux.debian.user, you wrote: 1. try: http://www.er.uqam.ca/nobel/r10735/unixcomm.html Google will be a useful resource here. Also try snooping around in the Debian documentation pages. 2. Assuming you have installed and configured X11, type 'startx' at the prompt. ... salman When using google for a linux question, it is helpful to use http://www.google.com/linux Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: wvdial problem
In linux.debian.user, you wrote: Hi list, I have used wvdial to access my work dial-up for several years with no problems. I am now trying to connect via an alternative dial-up account (new job), using exactly same wvdial parameters, apart from the phone number, username and password. When I connect to the new account, wvdial appears to send my username and password several times before starting pppd as a last resort, then the modem immediately hangs up. It seems like the authentication isn't proceeding correctly. I have tried two different account username-password combinations so I'm pretty sure it isn't down to user error... Using my partner's laptop it is possible to dial-up to the new account using KPPP with no problems, which suggests that there is no problem at the remote end. I don't run kde on my laptop, so this isn't an option for me. He also had problems connecting using wvdial the one time he tried it I believe, but put it down to a backslash in his password, and soon after switched to using KPPP anyway. Has anyone encountered similar problems, and if so what was the solution? Thanks, naomi. You could try using pon which is part of the ppp package. pppconfig is a nice program for configuring it. Another idea would be to go through the manual procedure by Bill Unruh in order to find out what the problem is. http://axion.physics.ubc.ca/ppp-linux.html Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: configuring start options of X
In linux.debian.user, you wrote: Hi I remember beeing asked about where should be able to start X and its nice level from debconf... I reconfigured many packs now i did't find the right one... Can someone tell me the correct package? Is there in general a method to find out wich package configures what? I usually look first in 'man package-name. This will often say if there is a method for configuring. Another place to look is in /usr/share/doc/package-name. The README.Debian gives Debian specific information. Another possibility is 'apropos package-name' which lists not only the manpage, but related packages. For example 'apropos grub' will give the packages that install grub, etc. There is also 'info package-name' for some packages. And then there are searches at www.google.com/linux and http://groups.google.com/advanced_group_search where you can stick '*debian* in the group block and get archived newsgroup posts on the topic. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Upgrading the kernel
In linux.debian.user, you wrote: Anita Lewis [EMAIL PROTECTED] schrieb: # apt-get install kernel-image-2.4.18-powerpc [...] ls /boot (see if that new kernel is in there) ls /lib/modules (see if it gave you any modules to go with it) No no.. This is not intel. It's a Macintosh. In order to install a new kernel it is the best idea to fetch a vanilla kernel from kernel.org and patch it with the series by Benjamin Herrenschmidt (ftp://ftp.kernel.org/pub/linux/kernel/people/benh/). And then just compile. You need yaboot (etc/yaboot.conf and /usr/sbin/ybin) too. www.ppckernel.org is a nice place too. Search the archives of [EMAIL PROTECTED] There're a lot of threads refering to this topic. *Kristian According to his reply he has the two kernels, both for the mac, and the two sets of modules. So the thing that is wrong is trying to use LILO. He has Bootx which must have a way of setting up for the new kernel. I don't suppose there is any reason to shift over to yaboot in that case. By the way, I note that your post came from the mailing list. I thought I sent mine just to the newsgroup. It used to be that mail to the list went to the newsgroup, but not the other way from the newsgroup to the list. I read at the newsgroup and if it is posted with the note at the bottom from the email list, then I send a response there. Otherwise I just post to the newsgroup. I'm just curious if the newsgroup stuff regularly comes to the mailing list. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: GRUB problem
In linux.debian.user, you wrote: I have /boot on /dev/hda1 and root on /dev/hda5 Grub when installed and booted gives the following: GRUB Loading Stage 1.5 GRUB Loading, please wait... Error 2(and that's as far as it gets) Error 2 means Bad file or directory type This error is returned if a file requested is not a regular file, but something like a symbolic link, directory, or FIFO. Does anyone have any ideas? [The details - I installed GRUB in accordance with /usr/share/doc/grub/README.Debian - 1. grub-install --root-directory=boot /dev/hda 2. Ran update-grub 3. Checked /boot/boot/grub/menu.lst and didn't need to change a thing - the significant lines (leaving out all the comments) are: title Debian GNU/Linux, kernel 2.2.20-idepci root (hd0,0) kernel/vmlinuz-2.2.20-idepci root=/dev/hda1 ro savedefault In /boot I have (amongst other files left over from lilo) -rw-r--r--1 root root 224124 Jun 21 23:05 System.map-2.2.20-idepci -rw-r--r--1 root root 3888 Jun 21 23:05 config-2.2.20-idepci -rw---1 root root17408 Jun 21 23:50 map -rw-r--r--1 root root 665509 Jun 21 23:05 vmlinuz-2.2.20-idepci In /boot/boot/grub I have (put there by grub-install) *all* the stage1_5 flavours, including -rw-r--r--1 root root 60 Jun 21 23:06 device.map -rw-r--r--1 root root 7904 Jun 22 00:10 e2fs_stage1_5 -rw-r--r--1 root root 2392 Jun 22 00:10 menu.lst -rw-r--r--1 root root 512 Jun 22 00:10 stage1 -rw-r--r--1 root root95712 Jun 22 00:10 stage2 None of those look like symlinks to me. Have I got root set right in menu.lst, as /dev/hda1? Should it be /dev/hda5? Seems unlikely to be the cause since the boot menu or 'booting in 5 seconds' message never comes up and I wouldn't expect that root setting to take effect until after the menu.. Chris I tried using grub at home this morning and see that I was wrong in what I posted about using /boot/vmlinuz-xx. So I'm going to post what I have here that is working. I have a separate /boot partition. I have the same files that you have above and they are the same size except my device.map is a tad smaller. These files are, however, all in /boot/grub and not in /boot/boot/grub. I already had them installed and can't tell you how I did it for sure. I was playing with grub a long time ago when I was trying out the HURD. Anyway, I think the person who suggested moving the files to /boot/grub was correct. Here are the sections of menu.lst and fstab that pertain: ---menu.lst title Win4Lin root(hd0,1) kernel /vmlinuz-win4lin-2.4.20 root=/dev/hdb5 ro savedefault ### END DEBIAN AUTOMAGIC KERNELS LIST ---etc/fstab # /etc/fstab: static file system information. /dev/hdb5 /ext2 defaults01 /dev/hda2 /bootext2 defaults00 I put a floppy in and ran 'grub-install /dev/fd0' and the floppy then booted me into linux. So as far as I can tell, the changes to be made on this initial posting should be 1. put the grub stuff in /boot/grub 2. change the kernel line so that it says root=/dev/hda5 And my guess is that you have already tried this. I guess I would try installing it on a floppy after making sure those two things are in place. Also be sure that the kernel line does not have the /boot in front of the kernel. I looked at 'info grub' and there was next to no information on Troubleshooting Stage 1.5. There were error messages for Stages 1 and 2. I apologize for the wrong information earlier. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: GRUB problem
In linux.debian.user, you wrote: I'm still booting off floppy and trying to get GRUB sorted. I have /boot on /dev/hda1 and root on /dev/hda5 (At first, LILO was just hanging with 'LI 99 99 99' and GRub, when I installed it gave an Error 5 - 'partition table bad'.Eventually I got half a clue and added /boot (/dev/hda1)into /etc/fstab and started again...) Lilo when installed and booted just gives 'LI' and stops. Grub when installed and booted gives the following: GRUB Loading Stage 1.5 GRUB Loading, please wait... Error 2(and that's as far as it gets) Error 2 means Bad file or directory type This error is returned if a file requested is not a regular file, but something like a symbolic link, directory, or FIFO. Does anyone have any ideas? Could we see your /etc/fstab and the output of 'df mount-partitions, please? I'm thinking that maybe you entered the line for /boot into /etc/fstab and didn't put a new line character at the end of the file. It would then not see /boot. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Mail from M$ Outlook Express - something
In linux.debian.user, you wrote: I'm archiving my mail inWindoze and as I'll be switching to Debian soon I would like to ask if there's any converter that would convert my Outlook mail to the format used by kmail or some other linux mail client. Thank you again. jernej Your subject says Outlook Express which is different than Outlook. I think what you want is mbx2mbox. http://mbx2mbox.sourceforge.net/ Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Changing UID's?
In linux.debian.user, you wrote: I'm 'cr', UID 1000 in my Debian setup.However, under RedHat I was UID 500 and all my heaps of data (left over from RedHat) is filed as owner 500 group 500. This means I can't readily access it without changing something. I could, of course, chown the whole lot to cr:cr (i.e. 1000:1000 in this Debian system) but that means if I ever crash this installation and have to put my RedHat disk back I'll have to change it all back again, so I'm a little reluctant to do that (and also, I'm nervous about changing ownerships on entire directory trees) For now, I've given myself access by adding a line in /etc/group cr1::500:cr which as I understand it makes Debian think all the files with UID/GID of 500:500 belong to a group 'cr1' and I, 'cr', am a member of that group. (It doesn't work on any files copied from the old RH /home/cr/ which have 'owner' permissions only, unless I su root or change permissions, but those are just backups so I can live with that). However, it would be more sensible I think if I was User 500 in both systems. Is there any safe legal way to change my UID from 1000 to 500? Or, failing that, can I do it by using 'adduser' to create a new user, say 'cr2', as user 500, then when I've got 'cr2' properly set up and everything works, delete user 'cr' (with UID 1000) and rename user 'cr2' to 'cr'. And, more importantly, are there any hidden snags in any of the above which will crash my whole system or lock me out of it? Regards cr I usually do this when I first install a new distro and before I mount my regular /home partition. adduser --uid 500 ajlewis2 After I have made the user and have the /home/ajlewis2 directory I edit fstab so that my /home partition will be mounted on the next reboot and then do 'mount /home' Now I have all my personal files in /home/ajlewis2 and my uid on the new distro is 500 like it was on the old distro. I came from RedHat a few years ago and am still using that original /home partition. I have shared it between distros a couple of times and had a few configuration files overwritten; so be careful if you do that. If you make this change after you have a bunch of files already on your debian user directory, then you will have to deal with changing those, but since it is a new install that should be minimal. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: fatal error on RH partition
In linux.debian.user, you wrote: hey all, in trying to partition this machine up and install various OSes on it, i've managed to screw up a lot. there's a redhat install on a different partition, and though i can mount it, i can't boot into it. more specifically, if i add a stanza (really basic, like below) to my /etc/lilo.conf and run lilo, i get the following error: Fatal: First sector of /dev/hda5 doesn't have a valid boot signature the stanza i add to /etc/lilo.conf looks like this: other=/dev/hda5 label=RedHat(hda5) pretty basic. Boot into Debian. mount /dev/hda5 /mnt cd /mnt/boot cp vmlinuz-whateveritis /boot/vmlinuz-rh (or some similar name) cp System.map /boot/System.map-rh (or the same ending as vmlinuz) cd umount /mnt Then edit /etc/lilo.conf and change that two lines you show to: image=/boot/vmlinuz-rh label=RedHat read-only root=/dev/hda5 Save /etc/lilo.conf Then do: /sbin/lilo That should work. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Questions re kernel
In linux.debian.user, you wrote: I've just managed (on my second attempt) to install Debian 3.0 and get PPP working (so this time the RedHat 7.2 hard drive doesn't go straight back in) However, there are a number of things that need sorting, including a couple of what may be fundamental points that I should sort out before this installation gets too far down the track. First, I have a couple of DOS partitions which I'd like to access from Linux. mount -t umsdos /dev/hdc1 /mnt/dosC gives mount: fs type umsdos not supported by kernel Am I using the wrong kernel? (uname says I'm using idepci: Linux alti 2.2.20-idepci #1 Sat Apr 20 12:45:19 EST 2002 i586 unknown Should I be using Vanilla or is there another type name for DOS partitions? Can I install the 'right' kernel without a full reinstall? Or is there any program that will give me access to the DOS partitions without needing kernel support? Secondly, I'm having to boot off the boot floppy (which takes forever) - I had this same problem with RH7.2, eventually fixed by installing GRUB. I presume GRUB will work with Debian? Chris Use 'msdos' instead of umsdos or 'vfat' if the formatting is FAT of some kind. Yes, GRUB will work with Debian. What was the problem with LILO? Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: LILO Dual-boot blues
In linux.debian.user, you wrote: Hello all, I am installing a dual-boot Linux/Win2K machine for a graduate student at the University I work at and I am having a major problem with LILO. The machine is a Gateway2000 E-4200. I have woody installed on /dev/hdb with /dev/hdb2 as the root of the filesystemand /dev/hdb1 as the /boot partition. Windows 2000 is installed on /dev/hda1. I have the LILO bootstrapper installed in the MBR of /dev/hda. The /etc/lilo.conf is unchanged from what debconf set up during installation. What happens when I try to boot the system is this ... nothing at all. The POST runs the screen blanks and the cursor sits flashing in the upper left-hand corner of the screen. I have used dd to copy the MBR of /dev/hda to a file, looked at it with ghex, and it appears to be a valid LILO bootstrap program. My question is this ... does anyone have any experience with dual-booting on the Gateway E-4200? Does anyone know if the ROM-BIOS on that machine supports booting off of anything but BIOS Device 0x80 (Primary Master IDE device)? I have pored over the Dual-Boot-HOWTOs and even compared /etc/lilo.conf to the /etc/lilo.conf on my sarge box at home (dual-boot Debian testing/Win95), all to no avail. The system boots up just fine using my Debian CD1 with rescue root=/dev/hdb2 typed in at the boot: prompt, so it doesn't appear to be filesystem-related. It just appears that the system is refusing to run the bootstrapper for LILO. Thanks in advance, ninewands The lilo manual says that having no letters of the word LILO appear means that either LILO is not installed or the partition that it is installed on is not active. Can you do 'fdisk -l' and see if /dev/hda is marked bootable and also check /etc/lilo.conf to be sure that it says boot=/dev/hda? I'm thinking lilo.conf says that, because when you boot, Windows doesn't boot. If that had not been written over, I'd think that it would - I assume that it used to. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Broken Mouse: [Was: Unidentified subject!]
In linux.debian.user, you wrote: What type of mouse do you have? Is it a PS/2 mouse? Serial? USB? PS/2 Post the contents of the mouse section of /etc/X11/XF86Config-4. Here they are: Section InputDevice Identifier Serial Mouse Driver mouse Option Protocol Microsoft Option Device /dev/ttyS0 Option Emulate3Buttons true Option Emulate3Timeout 70 Option SendCoreEvents true EndSection There is most likely a second Mouse listed - the one for the PS/2 mouse. I have this one and the PS/2 both in my XF86Config-4. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: compiling a kernel
In linux.debian.user, you wrote: Hello everybody, As I want scsi emulation, and I'm missing the sr_mod module, I think I'll have to compile a new kernel. What do I need to do for this, exactly? I'll have to get the source, ofcourse, but next to that ? I know allready before the compiling many hardware issues are going to asked. I tried compiling the kernel once before, but I gave up then as I had the feeling I new much too little to answer everything correctly As I don't know that much on the hardware details, how can I get a more or less complete list of hardware features ? For example, I do know 'uname -a' will get me some info on the debian kernel version (currently that's 2.2.20) Could you please tell me some more commands like this one which will give more info about other issues, like mouse, keyboard, etc - the more the better I imagine, as the prog will ask loads of things Thanks for any help, Joris Huizer I get the source and then use the README that is contained in it. It has excellent instructions. Tips: Configure.help in the Documentation directory answers lots of questions about what various things are for. Be sure to look in /boot for the config file for the current kernel. If you put that in your /usr/src/linux directory with the name '.config', you will have the things you already have. If you don't do that, you will have to carefully make sure that you select all that you need. Little things like PPP are not default. Copy the config file *after* 'make mrproper' Be sure you always keep a copy of your current config file for the next time you do this procedure. An accidental wipe out of it when you run 'make mrproper' is a real pain. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cookies
In linux.debian.user, you wrote: can anybody tell me for sure whether lynx-ssl in debian has exp_persistent_cookies compiled in or not. If so, can anybody tell me where my problem might lie. right now, in the lynx.cfg, I have it configured to accept all cookies, set_cookies is TRUE, and so is persistent_cookies. My cookie file and file for saving cookies are both ~/.lynx_cookies. when I go online, cookies do end up in the file and they are there when I quit lynx. But if i start lynx again and access a website that gives me a cookie, all my cookies from the previous session are then gone. If I access lynx but don't add any new cookies, I believe the cookies from the last session still stay there. I also have a shell account for backup and notice that when I obtain cookies in consecutive sessions there the new cookies are added without wiping out the former ones. I am also wondering what the true/false combinations (sometimes both true or both false or one of each) mean in the cookies in the file. thanks. Cheryl I went through this with lynx. By default this is not compiled into it. I downloaded the source and compiled it myself. I imagine this is also true for lynx-ssl. You have to compile with the --enable-persistent-cookie flag. I found this in the help section under cookies. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: New Kernel - No Network
In linux.debian.user, you wrote: [EMAIL PROTECTED] writes: I just compiled and installed linux-2.4.20. I had been running linux-2.2.22 without network problems. The new kernel does not configure the network. At startup, the new kernel says it can't find module 3c59x, the driver for the 3COM network card (it also says it can't find the unix module). If I boot the older kernel, I have no network problems at all. I'm relatively new to Linux and don't know how to troubleshoot the new kernel. The modules and modules.conf files in both kernels look the same. Please advise. Thanks. Vince You compiled the kernel yourself? If so you forgot to select the 3Com driver for your ethernet adapter. You'll have to recompile the kernel with that module. Using make xconfig in the kernel-source directory, go to Network device support-Ethernet (10 or 100Mbit) Click y for 3COM cards and then select m for [3c590/3c900 series (592/595/597) Vortex/Boomerang support]. Gary Couldn't he just do the 'make xconfig' and then run 'make modules' and 'make modules_install'? I'm wondering if the original .config was used. There should be a copy in /boot. That would help a lot. I'm also wondering what is the meaning of the 'modules and modules.conf files in both kernels look the same'? Does this mean that the files in /lib/modules/2.2.22 are the same as in /lib/modules/2.4.20? If that is the case, then it would appear that all the same modules had been selected, right? Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help on starting X
In linux.debian.user, you wrote: Hi All, I've posted a couple of times on this issue... does no one know the solution to this problem? Or, does no one use the 3dfx Voodoo 5000 card wih Debian at all? I'm running Debian Woody 3.0r1 on a powerpc and get this error when trying to start X: (WW) INVALID IO ALLOCATION b: 0x1 e: 0x100ff correcting (II) Loading /usr/X11R6/lib/modules/libvgahw.a (II) Module vgahw: vendor=The XFree86 Project compiled for 4.1.0.1, module version = 0.1.0 (**) TDFX(0): Depth 16, (--) framebuffer bpp 16 (==) TDFX(0): RGB weight 565 (==) TDFX(0): Default visual is TrueColor (--) TDFX(0): Chipset: 3dfx Voodoo5 (--) TDFX(0): Linear framebuffer at 0x9000 (--) TDFX(0): MMIO registers at addr 0xA000 (EE) TDFX(0): No valid PIO address in PCI config space (II) Unloading /usr/X11R6/lib/modules/libvgahw.a (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found Any ideas? Thanks, Kevin I don't have the card, but I took a look at /usr/share/doc/xserver-xfree86/README.DRI.gz In there it tells you that you need the 3dfx Glide Library for this card. Check out the doc. I just scanned it. There may be more information on what all you need to do. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Downgrading to xfree86 3.x
In linux.debian.user, you wrote: Quoting Bob Nielsen [EMAIL PROTECTED]: On Thu, Feb 06, 2003 at 08:02:59PM -0600, Jeffrey Taylor wrote: I have an old VLB video card (ATI Graphics Ultra Pro). It does not appear to be supported in xfree86 4.x. How do I downgrade to xfree86 3.x in woody? apt-get install xserver-mach32 xserver-common-v3 Debian's 3.x and 4.x versions of X can co-exist without problems. How to I tell it which version to start? And does anyone have any advice about getting it to work at greater than 8 bpp? TIA, Jeffrey The symlink is /etc/X11/X. Change it from pointing to XFree86 to the Mach32 server which will be in the same directory as the XFree86 is - /usr/X11R6/bin, I think. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: editing a text file in a tar.gz file without decompressing
In linux.debian.user, you wrote: On Sat, Feb 08, 2003 at 11:32:52AM +0100, Calber Chainy wrote: I have example.tar.gz, and I know in it there is a file named document.text, a plain text file that I want to edit. So I wondered if there is such an application that I can edit document.text without having to untar and decompress the file. As I remember, mc can do this. -- Colin Watson [[EMAIL PROTECTED]] I thought so too and made a little test.tar.gz to try it. It looks at a file in it and opens the editor, but it wouldn't save. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: CRASHING HARD DRIVE
In linux.debian.user, you wrote: Hi All, I know that this has been discussed before so I apologize for asking again. I believe that my hard drive is on its last leg. Can I do a quick and dirty bzip2 / and will that bzip2 by drive so that I can copy it to another, then do the bunzip2? I'm looking for a easy solution, I can re-install, that's not a problem, I just hate to loose some programs that I have installed. Thanks in advance. Don If you can hook the second drive up along with the bad drive, you can partition it and use 'cp -a' to put the system from the bad drive on to th good one. I do everything except /mnt and /proc. Then I make the /proc directory and /mnt directory with the subdirectories in /mnt which aren't very many on my system. I've done this several times and got a duplicate of my system. Two things though. I have had the new drive in another place and had to modify fstab. If you are going to put it in the same place as the old drive, you wouldn't have to do that. I haven't had the problem with booting, because I've just updated LILO on the old drive (In my case, the drive was not bad.) You will have to figure out how to boot if you are moving the new drive to the same spot as the old one. You will not have LILO in place. Your boot floppy will work, I think, as long as the partitions are the same. Then you could run lilo once you get booted and write LILO to the mbr. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Disk Corruption
Quoted - Here is the information from fdisk -l device boot Start EndBlocks IDSystem /dev/hda1*1243419551073+ 7HPFS/NTFS /dev/hdb1*162497983+ 83Linux /dev/hdb26386996030 82 Linux swap /dev/hdb3 187392130001387+83 Linux /dev/hdb439224164 1951897+ 5 Extended /dev/hdb539224164 1951866 83 Linux --- Early on you said you had 27Gb free. Your extended partition is only 2Gb. Before you go any further, I think it would be good to use fdisk to delete /dev/hdb5 and /dev/hdb4. Remake /dev/hdb4 as extended to use the remainder of the drive. Then make /dev/hdb5 again and reboot to see if it works. If you don't show more than 2 Gb for the extended, then something may be wrong that is not showing your entire drive. How big is that drive? As it is, this is showing that the logical partition is using the whole extended - 2 Gb worth. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Disk Corruption
Jonathan Brandmeyer said: The drive is 60GB. You are saying that the extended partition should consume all of the space that may be parceled out as logical partitions, Right? I am going to try it and see. Thanks, Jonathan Yes, if you do not have the extended consume all the remaining space, you will not be able to access it. You can have only 4 primary partitions and one of them may be extended. You have 4 and 1 is extended; so the remaining 25 Gb is unavailable. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Disk Corruption
Jonathan Brandmeyer said: The drive is 60GB. You are saying that the extended partition should consume all of the space that may be parceled out as logical partitions, Right? I am going to try it and see. Thanks, Jonathan Yes, if you do not have the extended consume all the remaining space, you will not be able to access it. You can have only 4 primary partitions and one of them may be extended. You have 4 and 1 is extended; so the remaining 25 Gb is unavailable. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Disk Corruption
Jonathan Brandmeyer said: Done. I should have recognized the size discrepancy. My new partitions for hdb4 and hdb5 are: /dev/hdb43922 - 7299type5Extended /dev/hdb53922 - 4180type83Linux (unformatted) Also re-ran Lilo, and this did not solve the problem. As the long string of 01 01 01 is scrolling by, the hdd light is lit without thrashing = slow read of something, right? What if the boot sector for hda1 is causing problems somehow? What happens if I toggle the boot flag on hda1 - off? Will that force the lilo-occupied hdb1 to be booted? Does it affect the ability to boot WinXP? Not that I can boot into windows right now, anyway. Even though we don't seem to be getting anywhere, I am grateful for your help. Jonathan I didn't think that would help the problem, but at least it was something to fix. I'm thinking there is another way to make sure that you are using the LILO that is getting written. Try writing it to a floppy. Edit /etc/lilo.conf and put boot=/dev/fd0 in place of boot=/dev/hda Then put a floppy in and run /sbin/lilo. Leave the floppy in and boot. If that works, then you can figure out what to set for booting. Does your lilo.conf say that boot=/dev/hda1? Maybe that is the problem. I know you have xp and I'm not sure if writing it to /dev/hda instead of /dev/hda1 would be a good idea. Well, try the floppy thing and see what happens with that. How are you booting XP, btw? Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Disk Corruption (was: Disk formatting)
In linux.debian.user, you wrote: Something VERY BAD has happened. When I attempted to format the disk, with mkfs.ext3, it reported that the partition table for that partition said 0 size, and I should reboot the computer to re-read the partion table. When I rebooted, instead of LILO, I saw an endless stream of 01 repeating without end! I can boot into BIOS, and probably an emergency disk, but that is all. HELP! -Jonathan Had you rebooted after making the new partition and before running mkfs? I would first try booting from the emergency boot floppy. See if you can access any of the partitions. If you can, then you still have a partition table there. In that case, I would try running fsck on the / partition - when it is NOT mounted. If you cannot get mounted on anything and can't find a partition table with 'fdisk /dev/hdb' then you might want to try gpart or rescuept for finding the partition info and then rewriting the table with fdisk. www.stud.uni-hannover.de/user/76201/gpart/ www.doclib.org/Linux/system/misc/util-linux-2.9r/rescuept ( I think that is right) Unless, you happened to be lucky like me and had your table written down on an index card... Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Disk Corruption (was: Disk formatting)
I would first try booting from the emergency boot floppy. See if you can access any of the partitions. If you can, then you still have a partition table there. In that case, I would try running fsck on the / partition - when it is NOT mounted. Forget this! I was thinking of booting with a rescue disk. If your boot floppy gets the system booted, then I would think that / is fine. Maybe the output from df and 'fdisk -l' would give some ideas here. I was thinking running lilo would help, but I see that it has not. I'm thinking that maybe you should try deleting /dev/hdb5 and reboot to see what happens there. If it doesn't reboot, go on with the floppy and try lilo again. Getting rid of hdb5 would sort of put it back to where it was before you did this. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: hdparm -d1: Operation not permitted
In linux.debian.user, you wrote: I'm trying to turn on dma on my dvd drive so that when I play dvds the movie plays real smooth. When I run 'hdparm -d1 /dev/dvd' I get this output: /dev/dvd: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma= 0 (off) I get the same output when I do 'hdparm -d1 /dev/hda': /dev/hda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma= 0 (off) Yes, I am running this as root. The permissions on the drives are set as: rw-rw, root is the owner and disk is the group. I don't think it's a problem with the permissions, being that I'm running it as root. Google was of little help, steering me to think that the support for my ide controller might not have been built into the kernel. I am running an newer motherboard: abit at7 max. It uses the kt333 chipset. From what I understand it is a fairly popular via chipset. I am also running the 2.4.18-bf2.4 kernel. Anyone have any ideas why I would not be able to enable dma on any of my drives? I know the drives can do it b/c dma works in mandrake. --Mark. -- DMA may not be in your kernel and you might need to compile it in. If you have not recompiled this kernel, then you would not have the .config file in /usr/src/linux to look at. I think there is one in /boot after the install. It would have 'config' and the version number in the filename. look at it for DMA and see if it is there - IDEDMA. There is also an option for it to be AUTO which is not needed. hdparm will do that for you. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: partition table incorrect/ fdisk messed up?
In linux.debian.user, you wrote: it worked!! thanks loads, matt Good!! Now I can put that in my good-to-know info file. It was nice having that backup, though, wasn't it! smile Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: if you could have just one dead tree book
In linux.debian.user, you wrote: I am taking care of my big sister's farm here in western Canada while she is visiting her daughter at UC Davis in Davis California. My brother in law phoned and asked me if there was a book I would like from the ucdavis book store. Oh fellow debian-users, if you could have just one dead tree book what would you ask for? If I don't reply to his I will own a big book about red-hat! All I could think of is Rute, but I see Matt Welsh's Running Linux was reccomended. Dan A Practicl Guide to Linux by Sobell is very good. I think I'd pick that one instead. I have both though and have found both helpful. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: partition table incorrect/ fdisk messed up?
I have remade a partition table before from a printout after losing it. The data was still there. Something is nagging me about this remaking the partition table. I'm not positive, but I think it is important to reboot before writing to the partitions. So just to be safe, be sure that you reboot after you remake the table whether you do it by moving all the data first or by just leaving the data in place. I think there is a warning about that when you do the write with linux fdisk at the end of editing the table, but I'm not sure about that. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: partition table incorrect/ fdisk messed up?
In linux.debian.user, you wrote: Device BootStart EndBlocks Id System /dev/hda1 1 373 2996091 83 Linux /dev/hda2 374 871 4000185 83 Linux /dev/hda3 872 1120 292+ 83 Linux /dev/hda4 1121 5116 320978705 Extended /dev/hda5 1121 1493 2996091 83 Linux /dev/hda6 1494 1991 4000153+ 83 Linux /dev/hda7 1992 2489 4000153+ 83 Linux /dev/hda8 2490 2684 1566306 82 Linux swap /dev/hda9 2685 3900 9767488+ 83 Linux /dev/hda10 3901 5116 9767488+ 83 Linux and here's the output of df -h matt@anarres:~$ df -h FilesystemSize Used Avail Use% Mounted on /dev/hda1 2.8G 1.7G 1.0G 63% / /dev/hda2 3.8G 2.4G 1.2G 67% /usr /dev/hda3 1.9G 804M 1021M 45% /usr/local /dev/hda5 2.8G 1.2G 1.4G 44% /var /dev/hda6 3.8G 74M 3.4G 3% /tehanu /dev/hda7 3.8G 82M 3.4G 3% /tehanu/usr /dev/hda9 19G 6.5G 11G 37% /moreaudio /dev/hda109.2G 5.8G 2.9G 67% /home You already got the answer on why. You have the exact cylinders for these partitions. I don't see any reason why you can't delete /dev/hda5 through /dev/hda10 and then delete /dev/hda4. Then make /dev/hda4 again only make it the total size of the rest of the drive. Then remake /dev/hda5 through /dev/hda10 with exactly the same cylinders as they had before. Reboot and everything should be in the same place. I have remade a partition table before from a printout after losing it. The data was still there. Another way to deal with it would be to move /usr/local to /dev/hda2 by umount and remount /dev/hda3 as /mnt. Then mv everything from /mnt over to /usr/local. Edit fstab to remove the line for /usr/local. Then delete /dev/hda3 and remake it. The number might change - /dev/hda3 might become your extended partition. I would reboot after removing it and then see what the numbers are. Now you can make another primary partition of some size to hold all that stuff you have in the extended. I would say to use the cylinders at the end - looks like you need about 15 Gb to store everything. Then go back and delete the extended and remake it to be from where it begins now to where that 15Gb partition begins. Then make the logicals again and move the stuff back. And that leaves you with a bigger extended and a 15Gb primary partition. Well, you could leave the music on that one, come to think of it. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: debian woody beside suse
In linux.debian.user, you wrote: Hello Debian user, I am planning to install Debian woody as second linux on my computer beside Suse 8.1. I would like to know if debian will recognize the spare 50 GB on my /home directory (in Suse) and create a partition by it own without infering with Suse or if it would be better to resize it and create a new partition for debian with YAST2. If the partitioning would be the better idea, which format do you recommend? And the second concern I have is the configuration of the boot manager, will debian show up with suse linux as choice when starting up? thanks for your help, cheers Martin The Debian installer will not recognize that 50Gb on your /home partition. It will see that as a used partition. You need to resize it and create a new partition. You do not need to format the new partition. The installer will do that for you. When you install Debian, just choose the new partition that you create from that spare room on the /home partition and let it format it. It will also ask for a partition for swap - choose what you are using for SuSE. Debian will not show up automatically in the boot manager. What I usually do is fix this after the install. I ask the installer to *NOT* put LILO in the mbr. I make a boot floppy, of course. Then after the installation I go into the other system, SuSE here, and I mount the partition of the new installation and copy the things in /boot to the /boot of SuSE. Be sure that you name these things with something different than what you have in the SuSE /boot. I just copy vmlinuz and System.map. If you have initrd, you will need that too I think. Give them all the same ending like vmlinuz-debian-2.4.20. Put that same ending on System.map so that when it boots the correct one will be used. Then you have to edit /etc/lilo.conf and add a stanza for Debian. Then run /sbin/lilo to put it in the mbr and try booting. This is not the only way, it's just how I do it. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Can't start X with Nvidia
In linux.debian.user, you wrote: When I modprobe NVdriver, I get the following message: Warning: loading /lib/modules/2.4.20/kernel/drivers/video/NVdriver will taint the kernel: non-GPL license - NVIDIA See http://www.tux.org/lkml/#export-tainted for information about tainted modules nvidia: loading NVIDIA Linux x86 NVdriver Kernel Module 1.0-3123 Tue Aug 27 15:56:48 PDT 2002 Module NVdriver loaded, with warnings snip Section Device IdentifierNvidia Drivernvidia VideoRam 32768 EndSection snip I apologize for the earlier post to the newsgroup that was just a copy of the original post. Hit the wrong button. This one is going to the list and will make its way to the newsgroup too. My module is called nvidia and not NVdriver. I think the problem is that you are loading a module called NVdriver and you have nvidia listed as the driver in the X config file. Maybe try changing the Driver in X to NVdriver to see if that works. Or I guess you could put an alias in so that nvidia would be the same as NVdriver. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Curious...Are most of you in tech-related careers/schooling?
In linux.debian.user, you wrote: I wonder if all (or most) of you are in similar careers and that is why you are so proficient with compiling and testing and tweaking all of this stuff. Or is it just a hobby that has gone on for so long that you have advanced your knowledge of Linux/Debian to these levels that all of you are at? Just curious... :o) Scott (sidewalking) -- To UNSUBSCRIBE, email to with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Hobby for 4 or 5 years, but not sure how advanced my knowledge is *:-) +++ Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: SOLVED: permissions on a mounted windows fat32 drive
In linux.debian.user, you wrote: Op zo 12-01-2003, om 03:25 schreef Benedict Verheyen: When i do groups benedict as benedict, it doesn't show me as member of the group windows. When i issue the same command as root, it shows that i'm member of the group windows. Why is there this difference? The group file shows me correctly that i'm member of the group. After a reboot it worked. So it was the groups thingy that prevented me from accessing the drive. I have no clue however to why i had to reboot to get the groups command reflect the correct situation. Most likely, you just needed to log off and then log back in as benedict. When you make a change in something like this it does not take effect for a currently logged in user. You have to log out and log in to get the environment or whatever it's called. -- Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Which to upgrade first?
In linux.debian.user, you wrote: Quick question. I have been slowly (but surely) fine tuning my install of Debian (Woody stock--not the upgrade...yet). I finally redid my kernel to 2.4.18 to enable various things (like sound). But I have an nvidia card (yea, here we go again). Should I upgrade to XFree86 4.2 unstable or testing *before* I mess with the nvidia kernel stuff? Also, will the upgrade to 4.2 mess with the rest of my stable Woody install? Thanx. I just did this and it worked fine. I have 2.4.7 kernel, but Woody. I put in a new video card - nvidia and needed the driver. Someone told me to get X4.2. I used 'apt-get xfree86-common xserver-xfree86' after 'apt-get update' with testing in sources.list. Then I installed the nvidia kernel and glx. I don't think it would matter, but I did it after upgrading X. This process didn't mess up the rest of my install. -- Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Getting a Higher Version w/out upgrading
In linux.debian.user, you wrote: I'm still having problems with my ATI card. I know it's worked fine under XFree86 4.2, but Woody has X 4.1. How can I upgrade to X 4.2 w/out upgrading anything else or moving to unstable? Hal This is not generally a good idea, but I just did this on my machine because I needed 4.2 as well. I went to /etc/apt/sources.list and changed 'woody' to 'testing' in the address for the ordinary stuff. Then I did 'apt-get' update' and 'apt-get install xserver-xfree86 xfree86-common' I was pleased to see that I did not have a huge amount of stuff to be changed; so I said 'Y' when it asked if I wanted it and that was that. After it was installed, I immediately changed sources.list back and ran 'apt-get update' again so that I wouldn't forget and do a complete upgrade to testing next time around. I had put in a new video card; so I reconfigured X after this process. I did a similar thing back when I had potato and ended up with a huge upgrade and a big mess. I was new to Debian then; so it's hard telling what I really did. I was using dselect. I came back to try Debian again about a year later. smile -- Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: hard drive partitioning questions
In linux.debian.user, you wrote: thanks to all who responded -- this has been immensely useful. right now i'm thinking: / 100M /usr 3G /tmp 100M /var 3G swap 384M /home rest a couple questions more: - i need to make / bootable, right? - i don't think i need a /usr/local, as i don't think i usually download and compile a lot from non-debian sources ... but i might be wrong on that one. what do most people have in theirs? now, what i'm most confused on: - if i can only have 3 primary partitions if i want more than 4 partitions total, do i just designate the first three (/, /usr, and /tmp) as the primary ones, and then just keep partitioning my merry way along, designating all the rest to be logical? will that work, or do i need to make four partitions, and somehow subdivide the last one into the rest of the partitions i want? i think it's the former and i'm just confusing myself ... please correct me if i'm wrong here. - i *do* need to specifically partition /home as its own partition, right? yeah, okay, i do. and this can be the entire rest of the disk? i don't need to leave anything left over? or should i, just as some sort of security backup, in case i were to need to repartition ... or is that not even an option? thanks again, all! /nori -- .~. nori @ sccs.swarthmore.edu /V\ http://www.sccs.swarthmore.edu/~nori/jnl/ // \\ @ maenad.net /( )\ www.maenad.net ^`~'^ I personally would not use the entire rest of it for /home. Yes, /home would be its own partition. I'm not sure what you will use to partition - I use fdisk. That has you do 'n' to add a partition. Then you choose if it will be primary or not. The first three time through, you say primary. Then you ask for an extended partition. After that, you say you want logical partitions which will be parts of that extended partition. I would not partition the entire drive. You may well find that later on you will decide to compile a kernel or some programs. You may want to make more partitions so that /usr/src can go on one and /usr/local can go on one. It would be much better to start off with a 6 G home and make more partitions to store data on later. They could have mount points like /home/myuser/pictures and so on - whatever you collect that is big. I think you said you have an 80G drive. That would be one very large /home. Remember that this has to be fsck'd now and then. That takes a long time on a large partition. If you put it all into /home, you will have no space later for something else if /usr gets small etc. If you still have 50 G sitting unpartitioned, you can make a 6 G /usr later and copy the current one over there if you run out of room on that 3G. Don't worry about what you make bootable. I've never done that and with LILO or GRUB, the installer finds what it needs to boot. I am not sure, but I think you need to make a bootable partition when you do not use a boot loader. I could be totally wrong on that though. I just know that I've never made a partition bootable and I've installed at least 20 times - mostly using LILO. It could be that the installer did that for me. Oh, another reason to keep more room unpartitioned is that you may want to install something else some time. Once I copied my debian potato to a new partition and then upgraded it to unstable/testing. That was fun. I kept the stable one for a while and gradually just started using the 'unstable' which was woody at the time. You just never know what you might want to do with all that space. -- Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: agpgart
Can someone tell me where the agpgart mod is located in Debian, and if I don't have it, how I go about getting it. I am trying to use X and I can't start it without it. Thanks all. I noticed that my kernel has it installed in the kernel instead of by module. I was just looking for the module myself and looked in the .config for the kernel and saw this. I've recompiled my kernel a few times, but I'm sure that I did not put that in - I just found out what it was!! LOL. If you have not compiled the kernel and don't have the source, I think you might find a config file in /boot. There was one for my kernel on another install I did of Debian. I think it was just called config-2.xx-whatever. If you look at that, do a search on AGP and you may see it configured as Y rather than m. If it is Y, then there would be no module - the support is already in the kernel without loading it. That may even be the default setting. Just an idea. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade (potato-woody): how to get X back up?
In linux.debian.user, you wrote: under potato i had X (and kde2 thanks to some unofficial sources.list items) up and running like a champ. occasionally konqueror would die colorfully (hit alt-left to go back a few pages and boom, only one desktop, no window borders...) and X windows worked fine under potato. now i've dist-upgraded to woody and there are a plethora of technical questions i'm supposed to know the answers to, in order to get X going. such as-- select the desired X server driver please enter the video card's bus identifier enter the amount of memory used by your video card use kernel framebuffer interface? select the XKB rule set to use choose your mouse port choose the entry that best describes your mouse write default dri section to config file? ...to name a few... SO: how do i find out what those answers should be? e.g. what makes a mouse a ps/2 mouse and not ImPS/2? what the heck is a DRI device? how can you tell, by looking at the case, whether the mouse port would be called mouse or ttyS0 or psaux? (i finally figured out how to get to the questions again: it's dpkg-reconfigure xserver-xfree86 that does the asking. and i have no clue for the answers... :( ) === Try 'XFree86 -configure' If it detects your hardware, it will produce the proper XF86Config or XF86Config-4 file. Mine gave me such high resolution that I had to include some Mode lines in the Screen section for lower resolution. If it is less than perfect, at least you might be able to modify it. -- Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Lilio 01 01 01
In linux.debian.user, you wrote: I have a problem with Lilo: I wanted to make a test installing Lilo on a floppy first. But all I get is a screen full of '01 01 01'. I have found on the net that many people had this problem when trying to boot a partition on the second IDE controller from Lilo. The recommandation is to plug the hd to the first controller, which is not an option here. But there must be another solution, I'm sure... It seams that also the following contributes (or is) the problem: 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] :-( /etc/lilo.conf boot=/dev/fd0 prompt delay=110 = the distinction is not really clear to me timeout=120 = but I have tried both alone and together... lba32 # compact vga=normal # install=/boot/boot.b read-only # Debian Woody: image=/boot/vmlinuz-2.4.18-bf2.4 root=/dev/hdd3 label=l ... I have experimented with commenting out and in lba32, compact, and install=/boot/boot.b. It does not make a difference. Lilo does *not* prompt and wait for user input but fills the screen with '01 01 01' and then hangs... (Yes, I *did* run lilo and I *have* tested with another floppy medium) Robert Epprecht Maybe remapping will help. If not, switch to grub which I'm sure will take care of it. I found it more difficult to set up than LILO, but I was used to LILO. Then I had this computer that I just couldn't get LILO to work on, and grub worked. To remap you add to lilo.conf: map-drive=0x80 to=0x83 map-drive=0x83 to=0x80 What this does as I understand it, is to make hdd appear to be hda and hda to be hdd. I've seen folks use this when they have Windows on a drive other than hda. They leave it as 'other=/dev/hdd1'; so I infer that you would leave the image at /dev/hdd3. It's worth a try since you are doing this on a floppy. Very wise move. The only other thing I can thing of is the use of 'linear' instead of 'lba32' I've seen that mentioned in the lilo manual. I don't understand the difference, but I know that the two are incompatible - if you have linear you can't have lba32. -- Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: that dreaded APM
In linux.debian.user, you wrote: Ive almost got my system 100% the way I want it !!! However APM. I have configured the kernel with the modules Y General setup/power management support Y General setup/advanced power management BIOS support I have dselected and loaded apmd if I type amp -v I get AMP bios 1.2 (kernel driver 1.16) AC on-line, no system battery I take this to be good, I have a AMP bios ??! If i /sbin/poweroff or shutdown -h now Linux shuts down but the hardware does not. Its a 700MHz PIII, pretty standard, my old Red Hat 7.2 shut the hardware down AOK, so I know it can work. I tried to find documentation on AMP in /usr/src/ .. /Documentation I have checked /var/log/messages syslog no luck If someone can throw me a bone and tell me where to look I would appreciate it Dave I tried this and failed for a long time and just read this a couple days ago. It works with one machine and not with another. I think that's because I don't have everything I need on the one that doesn't work. Anyway, I added this to /etc/lilo.conf and ran /sbin/lilo: append=apm=on apm=power-off There were other things that could be done as well. They were listed in the Debian reference manual at http://qref.sourceforge.net/ Sometime I have to read that whole document, because it looks like it has a lot to offer. Anyway, there were some other options for getting the poweroff thing to work - modules to load or things to compile into the kernel. -- Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: can't find startx after installing Xserver-Xfree86
In linux.debian.user, you wrote: Hi, I installed Debian - Woody - stable on an x86 machine and then installed the package XServer-Xfree86 and walked through all the configuration steps. At the end when I executed startx it couldn't find the command! What else do I need to install? Thanks, Nimar You could use tasksel and choose X window system. -- Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Howto add a crontab job ?
In linux.debian.user, you wrote: I use crontab -e to edit my personal crontab. The format that you are looking for is: * * * * * command \n The first star is the minutes: every 5 minutes would be 0-59/5 or 0,5,10,15,20,25,30,35,40,45,50,55 The second star is the hours: every hour is * The third star is day of the month The fourth star is month of the year The fifth star is day of the week: Sunday is both 0 and 7. The \n means that every line must end with a new line. So every five minutes is something like: 0-55/5 * * * * command \n I have put this in using crontab -e so that all the info is there when I do my next edit: #minute (0-59) #| hour (0-23) #| | day of the month (1-31) #| | | month of the year (1-12) #| | | | day of the week (0-6 with 0=Sunday) #| | | | | commands It is at the top and then my cron jobs are lined up under it. -- Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Problems with PPP under Linux 2.4.19
In linux.debian.user, you wrote: --0-1690367834-1034174371=:44987 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi fellow debian users. I recently compiled Linux 2.4.19 on my linux workstation. But when I try to connect to my ISP i encounter problems. It dials up as it should but just when it *should* exchange login information, passwords and such it just zaps. It works perfectly in linux 2.2.19. If anyone know what to do, please answer. I dont have any logs from my system available at the time I'm writing this message. I'm sorry but hopefully someone might know something that might help me. Thanks. A common problem is to forget to include PPP in the new kernel. It is not in by default. -- Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: New user with X-Windows problem
In linux.debian.user, you wrote: Recently I installed the latest version of Debian (Woody). After the base system was installed and I selected my packages were installed I went through the x-window configuration. When that process was completed the operating system attempted to start X-Windows. X failed to started and I received the following error messages; (==)Parse error on line 321 of section Monitor in the /etc/X11/XF86Config (==)file 85 is not a valid keyword in this section. (EE)Problem parsing the config file (EE)Error from XF86HandleConfigFile() No screens found Using emacs to view the XF86Config file I noticed the following; Line 321 HorizSync 30-85 The entry for HorizSync looks correct. I would backup this XF86Config and run xf86config. That will write another config file using a different program. Then you can see if it works and also compare the new one to the backup to see if there are differences. -- Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: List as a newsgroup
In linux.debian.user, you wrote: On Mon, 3 Jun 2002 11:30:15 +0100, Dougie Nisbet [EMAIL PROTECTED] wrote: I've just discovered I can get this list as a newsgroup. I tried this about a year ago when I first started using Debian, but it didn't work, so since then I've been getting it as a mailing list. Has it always been like this, or is this a recent thing. I'm not beginning to wonder whether my ISP didn't provide the group, and I mistakenly assumed it was only available as a mailing list. I'm reading this list and a couple of others via news.gmane.org. Works well, but I've never tried to post, so let's see if this gets there. -- Juha Siltala I read it as a newsgroup too, and if I find a post that has the UNSUBSCRIBE message at the bottom, I know it has come through the email list. I then try to remember to send it to debian-user@lists.debian.org so that it will go through the list and on to the newsgroup so that the person who posted it will see it there. I'm not sure if all the messages go from the list to the newsgroup or if any of the newsgroup messages go to the list. That's why I send my reply to the list if that is where they originated. That is what I am doing with this one. I am not a member of the list, but this still seems to work. -- Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Trouble getting my screen resolution correct.
On Sat, Apr 06, 2002 at 11:47:54AM -0800, Steve Juranich wrote: I'm having trouble getting my screen resolution set correctly. The relevant part of my /etc/X11/XF86Config-4 file says: snip DefaultDepth 24 SubSection Display Depth 24 Modes 1280x1024 1024x768 800x600 EndSubSection snip But I can't get the 1280x1024 resolution at all. It defaults to 1024x768, and by hitting ctrlaltkp_+ I cycle through 1024x768, 800x600, and 600x400. WTF? Are the changes supposed to go somewhere else now? It looks like maybe the color depth is too high for it. You can run startx startxlog and examine startxlog to see if modelines are getting tossed out for some reason that relates to the monitor specs not being enough, but you might find that you get the resolution if you put the Depth down to 16. While you are at it check that your Monitor horiz and vert are right. -- Anita GnuPG key: 1024D/9EDAC910 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do remove frozen messages from Exim Queue?
In linux.debian.user, you wrote: Hi, How do I remove frozen messages from the exim queue, messages like : (output from 'exim -bp') 14d 1.7K 16gLfk-0001Ka-00 *** frozen *** [EMAIL PROTECTED] 13d 1.8K 16gmi6-0001Fb-00 *** frozen *** [EMAIL PROTECTED] Is there a way to confirm deletion of each message - or just a way to remove all frozen messages? Kind Regards Thanks in Advance, Troels I think this is how I did it. I believe there was a set of files there for each mail. One was the header and one the message. They were in /var/spool/exim/input and I just deleted both files for each message. Anita
Re: emergency shutdown?
In linux.debian.user, you wrote: Okay, so the potato rescue disk seems to kick in alright, at the boot prompt I type 'rescue root=/dev/hda1'. I get a whole string messages as it locates some things and fails to find others - seems alright to me - but ends with the line 'Kernel panic: VFS: Unable to mount root on fs 03:01' at which point nothing more happens! I assume that /dev/hda1 is really your root partition and that your kernel is there. If you aren't sure, try 'fdisk -l /dev/hda' after booting just into rescue mode from the disk without the 'root=/dev/hda1' appended. You can look it over to see that it is the correct partition. I would try booting just into rescue and running 'e2fsck /dev/hda1' You might have to use another superblock if that fails: 'e2fsck -b 8193' or for filesystems with 2k blocksizes, 16384; and for 4k blocksizes, 32768. I haven't been following this; so I apologize if I'm off base here. Anita
Re: Debian issue's and problems
In linux.debian.user, you wrote: i came to try Debian because i have heard soo many good things about this distro. Well i have come to find that it is FALSE! r. Potato is the most broken release i have ever seen the most simple packages are broken all to hell. I get this when startx X connection to :0.0 broken i had problems installiong packages 5 times!!! xserver-vga16 task-x-windows-system-core all of gnome xext xf86setup in /user/bin/dpks i will from now on find a better distro that can make a OS that is NOT broken to hell! and that someone that wants to learn linux can do so without having everything go wrong! LOL. Yeah, I could have written this same email when I was trying to use dselect a year ago before learning how to use it. I can feel the frustration here in this poor person. I had it too. I was trying to install slink I think. Hopefully he'll do the same thing I did - stay with RedHat for a while and try again later. Fortunately potato had X 3.3.6 which had my video driver and I was able to install and bypass dselect for a while. Then I learned about apt-get which made a big difference. Good luck. Anita
Re: New user question
In linux.debian.user, you wrote: Hi , I have installed Debian on my system and now want to install windows. While installing I made a separate 7 GB FAT32 Partition. When I put the windows bootable disk , Linux does not reckognize it. What shall I do ..thanks Kapil I don't understand your question. Here is what I understand. You installed Debian. You made a FAT32 Partition to install Windows on. You put in the windows boot floppy. At that point Linux has nothing to do with it. The boot floppy should boot and offer to install windows. Or did you get Windows installed and you find that Linux does not recognize the partition that Windows is on. Please explain a little more. Thank you. Anita
Re: ppp daemon dies Newbie #61
In linux.debian.user, you wrote: Hi, Starting wvdial it dial in, commences ppp negotiation, and then the following message comes up. Can anybody give me a solution or tell me where to look as I can find nothing relevant. -- ppp negotiation detected -- Warning: Could not modify /etc/ppp/pop-secrets : Permission denied -- PAP (Password Identification Protocol) may be flaky -- Warning: Could not modify /etc/ppp/pop-secrets : Permission denied -- CHAP (Challenge Handshake) may be flaky -- Starting pppd date-time --PPP daemon has died! (exit code = 242) -- Disconnecting at date-time -- Auto Reconnect will be attempted in 5 seconds -- pppd error! Look at files in /var/log for an explanation. The first bit about permission denied is because (i think) i was not running from root and maybe as user need to join the group. What I need to do is to find out why the PPP daemon dies everytime. Help please. I see nothing in /var/log of any help. Note. I also set up to try pon and poff. pon also fails to connect Regards Ian Ian Balchin Grahamstown, South Africa. Running as root is best. If you are using GUI, bring up an xterm and do 'su -' and run it there or just login on a separate terminal and run it. It looks like your ISP is using CHAP. Make sure you have your password in /etc/ppp/chap-secrets. username * password Make sure the file is rw for only user. It should be that way by default and should be owned by root of course. Some ISP's also want the complete email address for the username, but most don't. It's possible to make user a member of the group. You will also have to become a member of the group on the modem as well. But before you play with that, be sure you can get connected as root. Anita
Re: Serial Terminals
In linux.debian.user, you wrote: Hi All, Has anyone configured linux serial terminals. I have a specialix ISA card and some terminals. How do I configure them. Tt I'm reading your post on the newsgroup and haven't seen an answer yet; so I'll offer what little I know. I've never had to actually do this. This is from 'man pnpdump' It looks like you do this to get the settings that the BIOS has given your ISA cards. I know you can also send this info to /etc/isapnp.conf, but I thought it might work to just do this command and then use setserial. from the manpage-- -d, --dumpregs this will cause pnpdump will dump all the standard configuration registers for each board. Note that this dump is dumping the physical registers, and will thus show the settings that have been put in there by the BIOS, or some cards will put a default setting in. Unused registers read back as 0. - http://www.linuxdoc.org/HOWTO/Plug-and-Play-HOWTO.html Section 7 especially 7.3 may help. I saw a post by a guy who gave this terse, but I think accurate explanation of how to set up an ISA PnP modem. -his explanation- My modem 3COM USR 56K Internal 100% PnP [no jumpers no DIP switches] Model 5685 Windows plays it on COM3 IRC7 3e8 What I did pnpdump /etc/isapnp.conf cat /proc/interrupts cat /proc/ioports vi /etc/isapnp.conf I know the options the modem offers from the dump of pnpdump I know what ports and what interrupts are not taken from proc files So I choose 3e8 with IRQ 3 from the option blocks in /etc/isapnp.conf From the rc script I run /sbin/isapnp /etc/isapnp.conf On the next line /sbin/setserial /dev/ttyS1 irq 3 port 0x3e8 uart 16550A spd_vhi Anita
Re: Seeking clarification about mail program interaction
In linux.debian.user, you wrote: Greetings, Now that I have my printer running properly, I'm trying to tackle the problem of mail delivery. I've installed fetchmail, procmail, and exim, but I have yet to make them interact properly. For the moment I am using ~getmail~ (a fetchmail replacement) to poll my ISP and deliver my mail in a timely manner. I then read it from mutt and can send (obviously). I'd like to be able to use the benefits of procmail though, so I thought I'd get some clarification on the actual process involved. This is what I understand would happen: 1. fetchmail (currently getmail) retrieves mail from ISP and hold it locally 2. procmail ~should~ then sort it according to recipes that I write 3. mutt reads the mail from any and ~all~ folders / mbox's that have been effected by the sorting My difficulty is that the few times I have tested fetchmail, it retrieves and then deletes ~all~ mail not expressly addressed to [EMAIL PROTECTED]. This means that mail from lists (including this one) is dropped before I am able to read it. It doesn't remain on my ISP's server, it just get dropped. I had thought that directing fetchmail to refer to procmail (ala the mda command) that sorting (~any~ pre-read deletion) would be done through procmail. I'm thinking that fetchmail is not deleting the mail, but to make sure you can temporarily turn off procmail. An easy way to do that is to rename the ~/.procmail directory. Just do 'mv .procmail off.procmail' and then use 'fetchmail -k' to make sure that the mail stays on the server in case it is lost. See if messages to the list come into your inbox. I suspect the problem is either in the way the recipes are written or in getmail/exim. I don't really know enough about this to explain it, but I'm running fetchmail, procmail, exim. Anita
Re: How do you repair a bad LILO?
In linux.debian.user, you wrote: Thanks, Shaya. I did that and that's when it told me that lilo.conf didn't exist. At this point I suspected that the absence of lilo.conf might indicated that the problems with my filesystem were more severe than I thought so I did a reinstall ... however, is there a way to run without lilo.conf being present? I mean, create a new one? Thanks! Jen When you run this using a rescue disk you have to use a switch to let it run from another root system. /sbin/lilo -r /dev/hdxy (where xy is the drive letter and partition number of the root directory.) This assumes that you have /boot and /etc on that partition. I don't know if this will work if you have a separate /boot partition. The other thing you can do is to boot the rescue disk using root=/dev/hdxy and then run /sbin/lilo. Anita
Re: Name instead of To in From: ?
In linux.debian.user, you wrote: Message Index in Mutt. I see everyone elses mail fine. It is only mail from myself that shows up as the To: Header. I tried changing %L to %F. No difference. What is L and F? F=From L=?List? Lance I came in late on this. For some reason I didn't see the start of it on the newsgroup since I'm not on the email list. I had this problem and it was solved by putting this in ~/.muttrc. set alternates=[EMAIL PROTECTED] Hope that helps. Anita
Re: xserver-xfree86 install problem (debian-testing)
In linux.debian.user, you wrote: I've got a system where I've recently installed potato and then upgraded to testing. (Current as of a couple of days ago.) I never had X working on potato, but I suspect the bits of it remaining may be part of the problem. When I try to install xserver-xfree86 I get the error subprocess post-installation script returned error exit status 128 Not very helpful. I've probably made matters worse trying to debug the problem. Adding a -v to /var/lib/dpkg/info/xserver-xfree86.postinst gave a few more messages, but the messages stop after starting the frontend. I've tried deinstalling, reinstalling, reconfiguring, and beating it sensless. (ok, not really beating it.) Nothing works, the package is wedged. xf86cfg does start X and try to configure it. Once I hand-edited the configuration for my mouse even was usable. I then removed the bogus second display (the onboard framebuffer has too little vram to be useful) and copied it to /etc/X11/XF86Config-4 . startx won't work, it wants something in /etc/X11/X, but I can't figure out what. I did find a reference to the deinstalled xserver-mach64 in /etc/X11/Xserver, fixing it to refer to xserver-xfree86 let the install ask if I wanted to overwrite /etc/X11/XF86Config-4 before it bombs with the same useless error. The framebuffer (vidio card) is an ATI @play 98 (mach64 with 8 megs) pci card. The unused motherboard one is also a mach64. Can someone give me a clue how to fix it, or at least some help figuring out what's wrong? -- Blars Blarson [EMAIL PROTECTED] Not sure if this will help fix the install, but you can try: apt-get -f install This is supposed to fix the broken stuff. I used it when things were only partly installed before. I'm not sure if this is your problem though. The other thing I'm wondering about is where you say that startx is looking for something in /etc/X11/X. That is supposed to be a link to your server. Check to see what you get with: ls -l /etc/X11/X I get this: lrwxrwxrwx1 root root 22 Aug 2 17:55 X - /usr/X11R6/bin/XFree86 XFree86 is the server you installed, or at least tried to install. You could check to see if you have it. If you need to make the link: ln -s /usr/X11R6/bin/XFree86 /etc/X11/X If you already have /etc/X11/X, check to see if it is a link to something else. If it is, then you should first remove it and then make the above link. Anita
Re: some questions about lilo
In linux.debian.user, you wrote: Christian Eckert wrote: - Original Message - From: Mike Alborn [EMAIL PROTECTED] To: Christian Eckert [EMAIL PROTECTED] Cc: Debian-User-List debian-user@lists.debian.org Sent: Thursday, September 27, 2001 7:04 PM Subject: Re: some questions about lilo Thank you for the help! What I've learnt: The first bootloader (e.g. lilo) is only installable at the first harddisk, either in the MBR or in any boot-block of its bootable partition, according to the line 'boot=/dev/sda' or 'boot=/dev/sdaXX' in lilo.conf. But: If I comment out the the line 'boot=/dev/sda' or change it to 'boot=/dev/sda1'(supposed sda1 is a bootable partition), rerun lilo and reboot. Will the MBR in this case be cleared and ready for the installation of another bootloader ? cheers Christian no. the boot record in MBR will remain the way it was last written. in fact you can maintain the MBR with a different lilo config file using lilo -C /etc/lilo-mbr.conf have you looked at grub? it's much easier to use and more flexible. daryl To restore the mbr to the original you normally do '/sbin/lilo -u', but in your case you have LILO installed in two places; so I think you need to include the device name '/sbin/lilo -u /dev/sda' I got this from 'man lilo' -u [device-name] Uninstall lilo by copying the saved boot sector back. The '-s' and '-C' switches may be used with this option. The device-name is optional. A time- stamp is checked. Anita
Re: Compiling the kernel
In linux.debian.user, you wrote: I have a new kind of doubt .. Could those in the know of things , please outline how you would compile a kernel (the steps) on a RedHat 7.0 system ? Mr.Bish had done so for a Debian system as a footer on one of his mails . I am having a current requirement .. to disable module version support (subsequently / on another date to re-enable it) . I shall be grateful for all help you might render. Thanks, ([EMAIL PROTECTED]) Shyam I just use the directions in /usr/src/linux/README. You have to get the kernel source first. It will probably be placed in a directory with the kernel name. You need to either change the name of the directory to 'linux' or make a link to it called 'linux'. Then you just follow the README. It's good to read it first, because there are changes with various kernel versions. Another good thing to look over is /usr/src/linux/Documentation/Configure.help That will tell you what is available in that kernel. A very good idea is to copy /usr/src/linux/.config to a safe place if you already have it. Then after you do 'make mrproper' move it back. This would be the case if you were recompiling with the same source. That way you can just change what you want and not have to figure out what you need all over again. I believe there is a config file in /boot if you have not ever recompiled. I have one called config-2.2.17 which must have been put there when I first installed. I don't know if that was from Debian or from some other distro I've had on this computer. You can check to see if you have something like that if you don't have /usr/src/linux and have to get the source. Anita
Re: Mounting a disk using backup superblock (solved now)
In linux.debian.user, you wrote: on Tue, Sep 04, 2001 at 05:03:08PM +0200, Stephan Hachinger ([EMAIL PROTECTED]) wrote: Hello! Below you see a copy of the last thread I'm referring to. My HDD and especially the superblock no.1 is heavily demaged - but I now have managed to e2fsck the partition using the backup superblock number 32768. Debugfs /dev/hda2 can also show me the contents of the partition, but mount -t ext2 -o sb=32768 /dev/hda2 /mnt just won't mount it and says bad magic number etc. Can anyone please tell me what I'm missing? Does mount calculate the superblock offset in another way or should I give up or??? I need this data desperately as I mentioned. If anyone can help me, thanks thousand times in advance. Can't help you on disk forensics, but I *strongly* recommend you image the disk to known good media before you tweak with it. Your debug tools should work on the disk image equally as with the physical disk, with the added bonus that it's not likely to go bad (or worse). Hmm, if I'd only have a HDD to save the data, I would be happy :) ; then I could probably do dd if=/dev/hda2 of=/dev/xyz and e2fsck - b 32768 /dev/xyz, e2fsck would restore the first superblock and my problems were gone... but I have no second hard disk which is that big :(. Cheers and thanks anyway, Stephan OK, just wanted to tell you the solution - while the block number which must be given to mount is based on the blocksize which is installed on the hard disk (4k in my case), the block number which must be given to mount is calculated on a 1k-block-basis, so I had to multiply 32768*4. Cheers, Stephan Gee, I thought after you ran e2fsck with a backup superblock you would just be able to mount it as usual with 'mount -t ext2 /dev/hda2 /mnt' I didn't realize you would have to give it a backup superblock on the mount command. I thought the old superblock would be updated. Where can I find out more about what e2fsck does when you use the backup superblock? Thanks Anita
Re: is exim the cause for this?
In linux.debian.user, you wrote: Hi! Since i use exim as MTA there is a very strange thing: Everytime if i make with Balsa a reply to all i get the following mail into my mailbox. It is eaqual which mail address of yours i reply. There cames everytime the same message. Only the subjet in first line is identical whith the subject of your mails i reply. And the same happens if i write e new mail to debians user-list. Any idea why this happens? Timo On 2001.09.05 14:40 Mensagem Automatica da TERRA wrote: Your message with subject [Re: i810 sound?] was not delivered to the following recipient: [heiliger]. This recipient's mailbox is full. Sua mensagem com assunto [Re: i810 sound?] nao foi entregue ao seguinte destinatario: [heiliger]. A caixa-postal deste destinatario esta' cheia. Same thing happened to me. I think that there is someone who has a full mailbox and the message is bouncing back from there to the one who sends the email to the list. I will probably get one now when I send this. It is not a problem with exim. It is someone else's problem. Anita
Re: Debian Parititioning Trouble
In linux.debian.user, you wrote: I'm trying to set up a machine I just built to run Debian. It installs fine, but LILO says it cannot install itself on the hard disk due to an error, (I forgot what it says precisely, but it says this is a common problem with disks over 500mb.) It suggests making a /boot partition at the start of the disk, but I do not understand how to do that. I tried installing it in the root partition's boot sector and writing an MBR, but the system can't find the OS when I boot with it that way. Does anyone know what I should do? Thanks, Deven G. Do you have Debian 2.2? I think that has lilo-21.4 or higher which will work with bigger drives. If you don't want to repartition and reinstall, you can correct this situation with editing /etc/lilo.conf and rerunning lilo. If you don't have 21.4 or higher, then you can get it and install it. If you have a working boot floppy, which should have been made with the install, then boot with that. If you don't have that, then put the cdrom in and at the boot prompt do: 'linux root=/dev/hdxy' where xy is the drive letter and y is the partition number for /. Once you are booted into your system, do 'dpkg -l lilo' to see what version of lilo you have. If you have a version lower than 21.4, go to www.debian.org, Packages, and choose to find lilo in the stable section (there is a drop down menu) Download the deb and put it on a floppy. Then reboot into Debian as above and put the floppy in. Do: mount -t vfat /dev/fd0 /floppy cd /floppy dpkg -i lilo (Hit the TAB to autofill) (ENTER) This will install it. I think you will not need to do this, though, because I think you will have a high enough version. Now you get the joy of using vi, unless you have something installed that is more friendly. If you have X working, that may be more helpful. If not, don't worry about X for now. So I'll describe with vi. cd /etc vi lilo.conf i (puts you in the mode to insert) Use the arrows and go to the first paragraph which is global. I'm not sure where this has to go, but I usually put it somewhere in the middle of the paragraph, since I'm not sure if 'boot=/dev/hda' has to be the first line. Look to see if you have a line that says 'linear.' If you do, then that is where you want to make the change. If you don't then you will be just adding this line. Change 'linear' to 'lba32' or add 'lba32' Type ':' which gets you out of insert mode Type 'wq' and hit ENTER to write the file and quit Check the file with 'less lilo.conf' to make sure it got changed. Do: '/sbin/lilo' to write LILO to the mbr This is easier than doing the install over after repartitioning with the little /boot partition at the beginning of the drive. That is another option however. Anita
Re: xwrapper not available?
In linux.debian.user, you wrote: We strongly advice against make the server SUID! So, I won't.. But thanks for your workaround. Does anybody know were Xwrapper can be found for a Debian potato installation? apropos Xwrapper yeilds: Xwrapper.config man Xwrapper.config has this: /etc/X11/Xwrapper.config contains a set of flags that determine some of the behavior of Debian's X server wrap- per, which is installed on the system as /usr/X11R6/bin/X. Anita
Re: My superblock has been destroyed - please help!
In linux.debian.user, you wrote: Hello! Hmm, the subject says almost everything... my almost new (!) IBM hard disk suddenly had some bad sectors and one was the superblock of my linux partition. So, I cannot boot into linux any more, and if I try to e2fsck the partition, e2fsck doesn't find the superblock. Also, if I try with -b 8193 or -b 16385, e2fsck says that these blocks contain a bad magic number. Hmm, I've read that these blocks should actually be superblock backups but I think since my fs was made with the new default sparse_superblocks option, the backups are perhaps somewhere else. Can anyone please help me with this issue? I just desperately want to rescue my data before I send the drive back to IBM or so because they will probably send me a new HDD but not my old data, and of course I have not made backups, stupid me. The partition is /dev/hda2 and about 7.7 GB. I also have a possibility to temporarely store up to 12 GB of data on hda1, a fat32 partition which scandisk could obviously stabilize more or less after a bad block marking. At the moment, I'm trying to dd /dev/hda2 into a file on /dev/hda1 but there seems to be a problem with the maximal file size on fat partitions (does anyone know about that?). Regards and thanks in advance, Stephan This is from the e2fsck manpage: The location of the backup superblock is dependent on the filesystem's blocksize. For filesystems with 1k blocksizes, a backup superblock can be found at block 8193; for filesystems with 2k blocksizes, at block 16384; and for 4k blocksizes, at block 32768. Additional backup superblocks can be determined by using the mke2fs program using the -n option to print out where the superblocks were created. The -b option to mke2fs, which specifies blocksize of the filesystem must be specified in order for the superblock locations that are printed out to be accurate. I just tried mke2fs -n /dev/hda5 where /dev/hda5 is an empty partition on my machine. I was afraid to try it on a good partition, even after looking at the manpage for mke2fs which states: -n causes mke2fs to not actually create a filesystem, but display what it would do if it were to create a filesystem. I don't know if you already know your blocksizes, but you could try the 'e2fsck -b' command using 16384 and/or 32768 in case you have 2k or 4k sizes. If that doesn't work, you could try the 'mke2fs -n' command to find your superblocks. I got this: Superblock backups stored on blocks: 8193, 24577, 40961, 57345, 73729 Just be real sure to include the '-n' in the command if you do it, but I doubt I have to tell you that. Anita
Re: dual boot from two hdd
In linux.debian.user, you wrote: Hello How can I boot my system with dual boot like having windows in one harddisk and linux on another harddisk. How to configure my lilo. please help me to solve this problem. Thankz V.Suryanarayan Install windows first. Install Debian on the other drive and tell the installer that you want LILO installed in the mbr. I'm assuming that you have windows 98. If you have windows with an NT bootloader, I think it still works, but I'm not sure. When you install Debian also make a boot floppy, because you may have to edit /etc/lilo.conf and add 'lba32' in the top paragraph. It depends on a few things. First: is your 2nd drive the primary slave or is it on the secondary ide? Second: Does the 2nd drive have more than 1023 cylinders? If it is the primary slave and has less than 1024 cylinders, you should not need to put 'lba32' in /etc/lilo.conf. Otherwise you will probably need to do that and then run /sbin/lilo. The installer will see the windows installed and will put the necessary paragraph in /etc/lilo.conf for that. Do you already have both windows and debian installed? Anita
Re: Console dead after update
In linux.debian.user, you wrote: I updated from the testing tree 2 days ago and after all the packages were installed the keyboard appeared to go dead. The system was still running fine as I could telnet to it and all services appeared to be running correctly but it would not accept any input on the console. It's like getty isn't running even though it is. If I boot to single user (runlevel 1) the keyboard works fine but when I go to runlevel 2 it goes dead. The keyboard works fine on another machine and was working fine before the update so I know it's not the keyboard. Any ideas? Thanks, Darren I looked at what is in /etc/rcS.d and what is in /etc/rc2.d and found S05keymap.sh S05keymaps-lct.sh I'm guessing that the reason it starts in Single is because these are there and I did not find them in rc2.d. That doesn't explain what happened with the upgrade, but it could have something to do with the keymap. I remember something in a recent woody (testing) upgrade that asked if I wanted to use my current config file or something like that and the word keymap was in it. I just chose the default, N, as I recall. I'm sorry that I don't recall what that was. You might be able to check if it has something to do with this, by going into Single and adding those two links into /etc/rc2.d. I just double checked and it appears that the second one is a broken link, because keymaps-lct.sh does not appear in my /etc/init.d directory. So just go to /etc/rc2.d (or whatever runlevel you use) and do: ln -s /etc/init.d/keymap.sh S05keymap.sh and see what happens when you reboot. Meanwhile, maybe someone knows where to look for the config file that might have got changed. I found something called /etc/console/boottime.kmap.gz and there is an old one too. It looks like mine was updated on the last upgrade. Maybe that has something to do with it. I don't really know how it all works; so I can't give you any real answer. Sorry. Anita
Re: how do i extract a bullet from my foot (tar woes)
In linux.debian.user, you wrote: hello: i have managed to insert a bullet in my poda courtesy of tar and my ineptness! that is, i did: tar -cvIf --remove-files /tmp/foo.tz /opt/tmp silly me filled up my current directory with a file called --remove-files. my question is: how the heck to i get rid of this beast i've tried rm -f --remove-files rm -f '--remove-files' rm -f \\-\\-remove\\-files rm -f \-\-remove\-files rm -f '\\-\\-remove\\-files' rm -f '\-\-remove\-files' all with the same lack of success! any assist in this would be most appreciated. -- regards, allen wayne best Another way to remove it would be to go to the directory and run 'mc' (midnight commander) Highlight the offending file and do F8. Anita
Re: newbie questions
In linux.debian.user, you wrote: I made the plunge and completely turned my Dell Inspiron 3000 into a Debian box. I installed using the CD's (that is installed multiple times). After a few false starts I have a working Debian computer using the Enlightened desktop. I'm unfortunately less than complete in my installation. Under the main desktop menu, I cannot get some of the programs to respond. Specifically I cannot get Netscape to run as well as I cannot get any games to show up. Also I need some suggestions on a word processor and user-friendly database program. I have one week before I start classes and I'd really prefer to get this box running under Debian. I'm going into the belly of the beast called Law School in the hopes of pursuing my idealistic interests in intellectual property. I'm mostly technically savvy,but not completely (read: I'm a mechanical engineering by schooling and previous job). Thanks ahead of time for any help. James A. Hilsenteger [EMAIL PROTECTED] Netscape has to be installed off the internet. It is not on the cd's. I had cd's that didn't install properly on my system. I tried it more than once too. I found out that not everything had got installed when I installed a small program (joe) that I like for an editor. Then all sorts of stuff started installing. These were packages I needed, but that had just not finished installing. I think there was a glitch on the cd somewhere. You might want to install Star Office. It has access compatible db, spreadsheet and word processor compatible with Word. It takes lots of memory to run and is pretty slow to load since it is big. I'm still using 5.1 since I couldn't get 5.2 to install for some reason. I think I had not got a good download on it. They are big files to download. Anita
Re: Unable to boot from hard drive
In linux.debian.user, you wrote: You wrote: The manual says this: (nothing) No part of LILO has been loaded. LILO either isn't installed or the partition on which its boot sector is located isn't active I don't know what it means by that except that it sounds like it would be important if you were putting LILO in a partition and not in the mbr. I have the line boot=/dev/hda as the first line. That may be important. That's how i have mine, set to /dev/hda instead of /dev/hda1 (the mbr instead of at the start of my boot partition). If lilo is installed in a partition instead of in the mbr, (a) should the mbr be wiped clean, and if so how, and (b) how does the system know which partition to transfer control to if there is nothing in the mbr? Is that where the partition flagged bootable takes over? I'm curious what would happen if you tried installing lilo on a floppy. I know it's not a solution, but it would be additional information. You can do this by changing the top line to boot=/dev/fd0 and put a floppy in the drive and run /sbin/lilo. Then see if it will boot from that. If that works, then it at least shows you that this problem has to do with where LILO is getting installed. Maybe you could just install it on /dev/hda1 instead of the mbr. OK, after installing to a floppy (the boot=/dev/fd0 was the only change i made), i get a 'L 01 20 20 20 ...', but at least it's loading. I don't know what that means; i can get lilo to load when installed to a floppy, but not when installed identically to the mbr of my hard drive. Is there a way to check what the mbr should look like after lilo has been properly installed? I ran 'dd if=/dev/hda of=./mbr.dat bs=512 count=1' and 'LILO' shows up in bytes 6-9, so it looks like it's being installed (either correctly or not) in the first blocks of the hard drive. -- \ / Mike Miller \ [EMAIL PROTECTED] In the first question: I don't know if the mbr should be wiped clean, but it can be done by doing '/sbin/lilo -u'. I assume the bootable flag is what shows it where to look. The installation on the floppy has shown you that this is a hard drive and or BIOS problem. Here are those two error messages from /usr/doc/lilo/Manual.txt.gz - 0x01 Illegal command. This shouldn't happen, but if it does, it may indicate an attempt to access a disk which is not supported by the BIOS. See also Warning: BIOS drive 0xnumber may not be accessible in section Warnings. 0x02 Address mark not found. This usually indicates a media problem. Try again several times. -- And: -- Warning: BIOS drive 0xnumber may not be accessible Because most BIOS versions only support two floppies and two hard disks, files located on additional disks may be inaccessible. This warning indicates that some kernels or even the whole system may be unbootable. The Warning does not seem to be your problem since you are using /dev/hda. I'm sorry to say that we are now into something I know nothing about. I have gotten the 0101 thing before when I had /boot over 1024 and/or on secondary IDE, but that is not your problem. The disk must be ok, since you can boot if you have the kernel on floppy, but for some reason you cannot with LILO. You might benefit from wading through that lilo manual in /usr/doc/lilo/. Maybe you can ask the question again with the information from the floppy lilo attempt and whatever happens if you try the lilo with boot=/dev/hda1. Good luck. Anita
Re: monitor power saving mode?
In linux.debian.user, you wrote: Hi... Is it possible to setup the display in linux to shut off after some time of inactivity, just like (gasp) Windows? I've been converting my machines to linux-only and I'd like to have the monitor auto-shutoff after some time. Does such a thing exist for linux? I've seen packages for managing UPS's but I'm not sure if I need any of that... Thanks for any pointers! -Chris For console, put this in .bash_profile or some such place: setterm -blank 4 setterm -powerdown 5 For X xset dpms 300 360 600 If you are using X4.0+, you will need to add Option DPMS in the Monitor Seciton: Section Monitor Identifier NEC MultiSync XV17+ HorizSync31.0 - 65.0 VertRefresh 50.0 - 100.0 Option DPMS Anita
Re: Unable to boot from hard drive
In linux.debian.user, you wrote: Hi, i have a problem booting from my hard drive after installation. I've installed the stable release on a clean hard drive, no problems with installation. If i boot from a floppy or a cd, the filesystem is intact on the hard drive partitions. The hard drive is a large one, but the BIOS autodetects the size and geometry fine. I have no problem with reinstalling and trying again; i've already reinstalled four or five times, tried different partitioning schemes. Basically, here's what i've determined so far: If i boot with no floppy or cd, i get a no system disk error message. The O'Reilly Running Linux book mentions this message, and suggests a failed or incorrect lilo installation, or no partition marked as bootable. I've tried messing around with the lilo.conf, changing settings in there, but i still get the same message. I've also tried a bunch of other boot loaders (the 'install-mbr' util from the debian cd, SBM from btmgr.sourceforge.net, and GRUB), and i get no results with those as well. Finally, if i try to boot from a floppy, but load the kernel on my hard drive from the boot loader, it either can't find the kernel image or can't read the hard drive. And yes, even though the bios seems to have no problem with my hard drive, i have a small hda1 partition for the /boot directory, which is marked bootable in cfdisk. -- \ / Mike Miller \ [EMAIL PROTECTED] When you say that you messed around with lilo.conf changing settings, did you also try doing /sbin/lilo after changing the settings? Did you see where the label for linux was installed when you ran it? I think it might help to see your /etc/lilo.conf and the partition table. I am more familiar with how that looks from fdisk and usually just do: fdisk -l /dev/hda partition.table to make the file to paste into an email. Thanks, Anita
Re: Unable to boot from hard drive
In linux.debian.user, you wrote: Yes, i ran /sbin/lilo after changing lilo.conf and it prints the message that Linux was added, the master boot record was written. In particular, the settings i tried playing with were the lba32/linear options, and adding the hard drive geometry to the file. None of that made any difference (no system disk error, lilo not loaded at all). Here's what i have now (i believe it's the default lilo.conf that debian sets up directly from the installation), minus comments: lba32 boot=/dev/hda root=/dev/hda3 install=/boot/boot.b map=/boot/map delay=20 vga=normal default=Linux image=/vmlinuz label=Linux read-only image=/vmlinuz.old label=LinuxOLD read-only optional And here's the result of fdisk -l /dev/hda: Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders Units = cylinders of 16065 * 512 bytes Device BootStart EndBlocks Id System /dev/hda1 * 1 1 8001 83 Linux /dev/hda2 232249007+ 82 Linux swap /dev/hda333 4865 38821072+ 83 Linux As i said in my first email, /boot is on /dev/hda1, which is marked bootable and is at the beginning of the drive. Thanks in advance for any help or insight :) -- \ / Mike Miller \ [EMAIL PROTECTED] I have /dev/hda1 bootable too, but it is my Windows partition. I do not have my /boot flagged bootable and it is on another drive. I don't know what that information is worth. I would think that having /boot flagged would be fine. The manual says this: (nothing) No part of LILO has been loaded. LILO either isn't installed or the partition on which its boot sector is located isn't active I don't know what it means by that except that it sounds like it would be important if you were putting LILO in a partition and not in the mbr. I have the line boot=/dev/hda as the first line. That may be important. I'm curious what would happen if you tried installing lilo on a floppy. I know it's not a solution, but it would be additional information. You can do this by changing the top line to boot=/dev/fd0 and put a floppy in the drive and run /sbin/lilo. Then see if it will boot from that. If that works, then it at least shows you that this problem has to do with where LILO is getting installed. Maybe you could just install it on /dev/hda1 instead of the mbr. Anita
Re: Help: lilo wasn't able to install...
In linux.debian.user, you wrote: Miaoling, I'm using a Dell GX110 with the latest A07 BIOS which surprisingly enough does not have any anti-virus options. So any MBR issues are not being caused by the BIOS. Please keep in mind that RedHat 7.1 can and does install LILO just fine on this system. It's just Debian that has the problem. I am already able to boot the floppy drive. That's how I was tying to install Debian. I'm completely confused why Debian refuses to install LILO and even make a simple boot disk. Thanks, /*Raj*/ When I did my install from the cdrom, it didn't actually install everything like it was supposed to. I found out that it was not all installed, when I used dselect to install joe. Suddenly all kinds of stuff started to install. The reason I mention this is that it could be that a driver has not been installed that is needed. I'm not familiar with your hardware nor with the install process - just relating that experience which may have some bearing on this. I would try booting with the install disk that you used and type 'linux root=/dev/hdxy' That could be sdxy if you have scsi hard drive which I think you said you do. The xy are the drive letter and the partion number for you / partition. This should boot with the kernel you originally used to install, but give you your hard drive root. Then you could try running dselect to install some small program like joe, or you could try 'apt-get -f install' which I think is what will finish it. Also look at /etc/lilo.conf to see what is in there since it was having trouble installing that. And maybe you can run 'mkboot' to make a boot floppy, but check 'man mkboot' on the syntax. Anita
Re: Installation off CD
[This message has also been posted.] On Thu, 16 Aug 2001 20:30:11 +0200, Michael Heldebrant wrote: On 15 Aug 2001 22:19:21 +, bboy boy wrote: To whom it may concern, Whenever I try to instal debian linux 2.2r3 off the cd (bootable) it installs the basehurd.tgz archive but then I don't know what to do because if I restart the PC then when booting off the hard disk, on the command line it just comes up and says LI thats it! whats wrong, can you help me to install debian?? Boot using your rescue disk and then set the root to your appropriate harddrive partition. Try changing your lilo.conf to comment out lba32 and try linear in it's place. Thats worked for me. --mike Or if you do not have lba32 in lilo.conf, try putting it there. If you have a big drive and /boot is above 1024, you might need lba32 instead of linear. If you use lba32, you have to delete linear. Anita
Re: Modifying a Windows 95/98 FAAT 32 partition
[This message has also been posted.] On Sun, 12 Aug 2001 02:50:05 +0200, Slaven Peles wrote: You should also check out GNU Parted. It comes on a single boot floppy, and can do almost anything you might need to install Linux and keep Windoze9x on your computer. I used it myself. Have look at: http://www.gnu.org/software/parted/parted.html Cheers, Slaven I don't think parted will work on a FAT32 partition. Anita