euglug.org

[작성자:] admin

  • [Eug-lug] grub problems on Debian Sarge



    Bob MillerFri Nov 5 20:43:40 PST 2004

    Allen Brown wrote:
    
    > Booting into RedHat7.3 works fine.
    > Booting into Debian Sarge fails!  The entry is there but the
    > kernel panics saying there is something wrong with the root
    > partition /dev/hda15.
    
    I am going to guess that your kernel uses an initrd, and that your
    grub.conf doesn't correctly load it.  Ensure that your initrd image is
    on the /boot partition and that your grub.conf gives the right path
    relative to /boot.  Also make sure it's the RIGHT initrd image -- it's
    full of drivers and other closely-kernel-coupled things.
    
    Of course, it could be something else entirely.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] Re: [lug] grub problems on Debian Sarge



    Rob FightmasterFri Nov 5 20:09:22 PST 2004

    Allen,
    
    I also installed Debian Woody, and then Sarge, for the first time a couple weeks ago. I've had some of the hassles as you. In truth, I think I would have abandoned the distro if I hadn't read so many positive reviews from people I respect. I miss the familiar comfort of rpm and up2date, and have not had good experiences with dpkg, apt-get, and dselect. Maybe I'll get the hang of it.
    
    Regarding your Grub trouble. Are you using a config file (menulst, or grub.conf)? 
    
    -----------------------
    Sample grub.conf
    -----------------------
    default=0
    timeout=10
    
    splashimage=(hd0,1)/grub/splash.xpm.gz
    
    title Fedora Core (2.6.8-1.521)
            root (hd0,1)
            kernel /vmlinuz-2.6.8-1.521 ro root=LABEL=/
            initrd /initrd-2.6.8-1.521.img
    -----------------------
    
    I didn't see that you communicated how you are choosing between your various installations. I ask because my past grub stumbles have involved:
    
    a. not declaring the correct root drive
    b. not declaring the kernel path correctly relative to root
    c. not having a correct initrd with the correct modules and fstab
    
    The config file offers the opportunity to get any of these right or wrong.
    
    - rob
    
     
    On Fri, Nov 05, 2004 at 05:04:34PM -0800, Allen Brown wrote:
    > I need assistance.
    > 
    > I have fixed a lot of problems with my Debian Sarge installation.
    > In a few cases I have resorted to asking of the linux mailing lists.
    > Fortunately in most cases I could figure them out on my own.
    > I still have a list of things that are not-quite-right.  Most
    > I will simply ignore.  But there is one which is causing significant
    > trouble.  Grub.
    > 
    > I have a several existing installations on my computer.  And I've
    > been using grub for years with good results.  So when an install
    > wants to overwrite my grub info I generally divert it to some
    > harmless place so that I can analyze what it did and incorporate
    > that into my existing grub configuration.  That has worked well.
    > 
    > When I got to the grub step in the Sarge install I told it to
    > write the loader to a floppy.  The floppy works.  I can boot
    > into Debian as long as the floppy is in the drive.  And since
    > I didn't mount the /boot partition during the install, it wrote
    > the Debian specific configuration to its own directory.
    > 
    > If I remove the floppy I am back to my old grub menu (controlled
    > by the /boot partition which I have mounted).  So far so good.
    > 
    > Now I merge the new grub entries into the /boot.  Hmm.  Something
    > odd here.  The format has some new features.  Study the manual.
    > Aha!  This is a new grub family from Gnu.  OK.  Works mostly the
    > same.  So I add the relevant parts to the old /boot and reboot
    > without the floppy.  Mind you, since I haven't written a new copy
    > of the grub bootloader to my hard drive I am still using the old
    > bits to boot.
    > 
    > Booting into RedHat7.3 works fine.
    > Booting into Debian Sarge fails!  The entry is there but the
    > kernel panics saying there is something wrong with the root
    > partition /dev/hda15.
    > 
    > That's odd.  Boot from the floppy.  Works fine even tho it
    > is booting to the same kernel and same root partition.
    > 
    > So I follow the grub instructions to install the bootloader to
    > a second and third floppy.  In both cases the bootloader fails
    > in the stage2 of the loader.  I never get to the prompt.
    > What the heck is going wrong?  It's like the new images use
    > instructions that don't work on my hardware.  But that could
    > only be true if the grub image files used during the installation
    > were different from what it installed on the hard drive.
    > 
    > I have an older grub floppy that I wrote under RedHat7.3.  It
    > loads just fine and can boot to RedHat7.3.  But when I try to
    > use it to boot to either Debian or Knoppix, it complains again
    > about partition /dev/hda15 or hda14 respectively.
    > 
    > Since some of this may have to do with the partition type, here
    > are selected parts of my /etc/fstab:
    > /dev/hda15   /               reiserfs notail         0       1
    > /dev/hda14   /media/knoppixroot  ext2  defaults,errors=remount-ro 0 1
    > /dev/hda3       /boot           ext2    defaults                1 2
    > 
    > It would be tempting to blow this off and just live with the
    > fact that Debian will only boot from a floppy.  But I need to
    > change the boot options to add hdc=ide-scsi.  Without that I
    > can't write CDs.  So this really is important.
    > 
    > I suspect I am running into at least two problems.  It is hard
    > to imagine how one failure mechanism could cause this odd
    > combination of symptoms.
    > --
    > Allen Brown
    >   work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
    >         allen_brown at agilent.com             abrown at peak.org
    >   "The guy sure looks like plant food to me." Little Shop of Horror
    
  • [Eug-lug] Question from the O’Reilly UG program



    Marsee HenonFri Nov 5 17:09:22 PST 2004

    Hello,
    
    Do you publish book/product reviews on your web site? If you do, please
    let me know. And send me the URL to your main review page.
    
    Thanks,
    
    Marsee
    
  • [Eug-lug] grub problems on Debian Sarge



    Allen BrownFri Nov 5 17:04:34 PST 2004

    I need assistance.
    
    I have fixed a lot of problems with my Debian Sarge installation.
    In a few cases I have resorted to asking of the linux mailing lists.
    Fortunately in most cases I could figure them out on my own.
    I still have a list of things that are not-quite-right.  Most
    I will simply ignore.  But there is one which is causing significant
    trouble.  Grub.
    
    I have a several existing installations on my computer.  And I've
    been using grub for years with good results.  So when an install
    wants to overwrite my grub info I generally divert it to some
    harmless place so that I can analyze what it did and incorporate
    that into my existing grub configuration.  That has worked well.
    
    When I got to the grub step in the Sarge install I told it to
    write the loader to a floppy.  The floppy works.  I can boot
    into Debian as long as the floppy is in the drive.  And since
    I didn't mount the /boot partition during the install, it wrote
    the Debian specific configuration to its own directory.
    
    If I remove the floppy I am back to my old grub menu (controlled
    by the /boot partition which I have mounted).  So far so good.
    
    Now I merge the new grub entries into the /boot.  Hmm.  Something
    odd here.  The format has some new features.  Study the manual.
    Aha!  This is a new grub family from Gnu.  OK.  Works mostly the
    same.  So I add the relevant parts to the old /boot and reboot
    without the floppy.  Mind you, since I haven't written a new copy
    of the grub bootloader to my hard drive I am still using the old
    bits to boot.
    
    Booting into RedHat7.3 works fine.
    Booting into Debian Sarge fails!  The entry is there but the
    kernel panics saying there is something wrong with the root
    partition /dev/hda15.
    
    That's odd.  Boot from the floppy.  Works fine even tho it
    is booting to the same kernel and same root partition.
    
    So I follow the grub instructions to install the bootloader to
    a second and third floppy.  In both cases the bootloader fails
    in the stage2 of the loader.  I never get to the prompt.
    What the heck is going wrong?  It's like the new images use
    instructions that don't work on my hardware.  But that could
    only be true if the grub image files used during the installation
    were different from what it installed on the hard drive.
    
    I have an older grub floppy that I wrote under RedHat7.3.  It
    loads just fine and can boot to RedHat7.3.  But when I try to
    use it to boot to either Debian or Knoppix, it complains again
    about partition /dev/hda15 or hda14 respectively.
    
    Since some of this may have to do with the partition type, here
    are selected parts of my /etc/fstab:
    /dev/hda15   /               reiserfs notail         0       1
    /dev/hda14   /media/knoppixroot  ext2  defaults,errors=remount-ro 0 1
    /dev/hda3       /boot           ext2    defaults                1 2
    
    It would be tempting to blow this off and just live with the
    fact that Debian will only boot from a floppy.  But I need to
    change the boot options to add hdc=ide-scsi.  Without that I
    can't write CDs.  So this really is important.
    
    I suspect I am running into at least two problems.  It is hard
    to imagine how one failure mechanism could cause this odd
    combination of symptoms.
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      "The guy sure looks like plant food to me." Little Shop of Horror
    
    
  • [Eug-lug] sound on Debian Sarge



    Allen BrownFri Nov 5 16:31:33 PST 2004

    Never mind.  It's working.  I had the connector plugged into
    the wrong socket.  Duh!
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      "'Moderation in all things' is for wimps."
    
    
    
  • [Eug-lug] Stupid Security Story of today



    Mr OFri Nov 5 16:02:17 PST 2004

    The reason you'll find XP Pro on more laptops in a retail
    enviroment is they are more likely aimed towards business users
    where as desktop systems are geared for home users with a bunch
    of mulitmedia crap on them. Look at Toshiba Tecra laptops,
    mostly XP Pro. Toshiba Satellite on the other hand is often XP
    Home. It's all about the modeling and intended end user. 
    
    Lastly, why buy prebuilt? Computerbase as well as other stores
    can build you a custom system in as little as 24 hours with
    whatever OS or no OS. 
    
    
    --- Garl Grigsby <badd_karma at comcast.net> wrote:
    > >
    > I really doubt this last statement. Try to buy a computer in a
    > retail 
    > store (Costco, Office Depot, Office Max, Circuit City, etc.).
    > Every 
    > single desktop will have either XP Home or XP Media Edition.
    > The later 
    > is based on Pro, but is only available on very high end
    > systems. I know 
    > this because I need a PC fast and I just looked at all of the
    > stores 
    > listed above. No XP Pro without spending $180 on the "Upgrade"
    > edition 
    > of Pro.  I did find a couple of high end laptops that had Pro,
    > but that 
    > was it.
    > 
    > Garl
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
    
    
    		
    __________________________________ 
    Do you Yahoo!? 
    Check out the new Yahoo! Front Page. 
    www.yahoo.com 
     
    
    
  • [Eug-lug] Stupid Security Story of today



    JasonFri Nov 5 13:59:45 PST 2004

    This is good advice O. I typically recommend non-savvy
    users to get a hw firewall/router immediately if they
    have a broadband connection. 
    
    FWIW, AV, FW and patching make up the core of what MS
    calls 'Protect your PC' (their overall strategy for
    security guidance for end/home users). They've been
    recommending this route for a few years now:
    
    http://www.microsoft.com/athome/security/protect/default.aspx
    
    
    --- Mr O <notanatheist at yahoo.com> wrote:
    
    > XP Home and Pro both give any users entered during
    > setup Admin
    > access. 
    > 
    > "Any user not running FW or AV" is overrated. A
    > router does a
    > fine job of providing one with a hardware firewall
    > (although as
    > hackable as any other firewall), and you could get
    > by without AV
    > software if you know exactly what you're doing on
    > the web as
    > long as you have a firewall. Of course, I would
    > recommend that
    > 99.9% of Windows users have both. 
    
    
    
    		
    __________________________________ 
    Do you Yahoo!? 
    Check out the new Yahoo! Front Page. 
    www.yahoo.com 
     
    
    
  • [Eug-lug] sound on Debian Sarge



    Allen BrownFri Nov 5 13:50:29 PST 2004

    How do I get sound working?  I have a Sound Blaster PCI512,
    so it should be easy.  I also have a VIA on the motherboard.
    I disabled that in the BIOS, but somehow Debian found it anyway
    judging from the lsmod
    $ lsmod | grep via8
    via82cxxx_audio        17404   0 (unused)
    uart401                 5860   0 [via82cxxx_audio]
    ac97_codec             11252   0 [via82cxxx_audio emu10k1]
    sound                  48872   0 [via82cxxx_audio uart401 emu10k1]
    soundcore               3268   9 [via82cxxx_audio emu10k1 sound]
    via82cxxx               9256   1 (autoclean)
    ide-core               91800  10 (autoclean) [ide-scsi ide-cd ide-detect 
    via82cxxx ide-disk]
    
    I would like to disable the Via.  I added the following to
    /etc/modutils/aliases:
    
    alias sound-slot-0 emu10k1
    #alias sound-slot-0 snd-card-0
    alias sound-service-0-0 emu10k1
    alias sound-service-0-3 off
    
    but it didn't seem to have any effect.  And I see the
    /etc/modules.conf says "DO NOT MODIFY THIS FILE!".
    
    What do I need to do to get this working?
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      Clones are people two.
    
    
  • [Eug-lug] Stupid Security Story of today



    Garl GrigsbyFri Nov 5 13:46:06 PST 2004

    jgw at absent.org wrote:
    
    >>In XP, when you add users during the install they're all administrators.
    >>    
    >>
    >I believe this is with the Home Edition only, but I may be wrong. Home
    >basically ignores the normal user/administrator distinction. Fortunately,
    >Home's a lot less common, even in the home.
    >
    >  
    >
    I really doubt this last statement. Try to buy a computer in a retail 
    store (Costco, Office Depot, Office Max, Circuit City, etc.). Every 
    single desktop will have either XP Home or XP Media Edition. The later 
    is based on Pro, but is only available on very high end systems. I know 
    this because I need a PC fast and I just looked at all of the stores 
    listed above. No XP Pro without spending $180 on the "Upgrade" edition 
    of Pro.  I did find a couple of high end laptops that had Pro, but that 
    was it.
    
    Garl
    
  • [Eug-lug] Stupid Security Story of today



    Mr OFri Nov 5 13:36:31 PST 2004

    XP Home and Pro both give any users entered during setup Admin
    access. 
    
    "Any user not running FW or AV" is overrated. A router does a
    fine job of providing one with a hardware firewall (although as
    hackable as any other firewall), and you could get by without AV
    software if you know exactly what you're doing on the web as
    long as you have a firewall. Of course, I would recommend that
    99.9% of Windows users have both. 
    
    
    --- jgw at absent.org wrote:
    
    > 
    > >> I believe this is with the Home Edition only, but I may be
    > wrong. Home
    > >> basically ignores the normal user/administrator
    > distinction.
    > >> Fortunately,
    > >> Home's a lot less common, even in the home.
    > >
    > > What metrics were used to come to this last conclusion?
    > 
    > Just from experience and word on the net. It's entirely
    > non-scientific,
    > but my experience is that a lot of families/people wipe Home
    > and end up
    > installing XP Pro, usually pirated, of course.
    > 
    > I could be entirely wrong. Anyone know a good home OS usage
    > graph?
    > 
    > Any home user not running a firewall and antivirus software on
    > a Windows
    > box, either doesn't care very much about that Windows box, or
    > likes the
    > wild life. Cripes, even my grandma got ZoneAlarm and installed
    > it on her
    > own.
    > 
    > /jgw
    
    
    
    		
    __________________________________ 
    Do you Yahoo!? 
    Check out the new Yahoo! Front Page. 
    www.yahoo.com