Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Selectively Disable modules on boot? (system hangs on mods)

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
Ravenium
n00b
n00b
Posts: 19
Joined: Mon Mar 22, 2004 4:53 pm

Selectively Disable modules on boot? (system hangs on mods)

  • Quote

Post by Ravenium » Thu Sep 23, 2004 3:01 pm

Alright, I'll admit I did something stupid. I threw in the latest and greatest nvsound module without providing myself a backup kernel. We all know what happens when you get overconfident and make changes to the kernel/modules without having a failsafe (at least eventually), right?

Yep, the system tries to load nvsound and just sits here. Argh!

Ordinarily, I would just boot from the gentoo live cd, comment out the module, and reboot. But alas my CD drive has decided to stop reading any bootable burned cd (probably busted, of course). Oddly enough, it will read them once whatever OS I boot finishes booting.

Now, my question is, without running out and dropping cash on another cd drive (It's more the effort to find the nearest best buy, etc than the money), is there ANY way that I can disable a certain module or even all modules on load? Heck, I'd even accept being able to edit files on a partition.

I've tried mounting the partition in windows (guess what, no util reads ext3 r/w yet), booting from USB (for some reason the distro crashed due to it not liking some aspect of my hardware), floppy distros (most are too old), etc.

Anyone else got any ideas? It's frustrating to have this be such a simple problem, yet so difficult.
Top
chunderbunny
Veteran
Veteran
User avatar
Posts: 1281
Joined: Mon May 31, 2004 11:28 am
Location: 51°24'27" N, 0°57'15" W

  • Quote

Post by chunderbunny » Thu Sep 23, 2004 3:11 pm

I don't see how a floppy distro could be too old. As long as it has a terminal and ext2 drivers then you can mount your partition and comment out the module.

This is a reasonably up to date floppy based distro, give it a shot.
Top
gmichels
Guru
Guru
User avatar
Posts: 480
Joined: Fri Jun 20, 2003 8:02 pm
Location: Brazil

  • Quote

Post by gmichels » Thu Sep 23, 2004 3:50 pm

I don't remember exactly, but I think booting in single mode doesn't load any modules.

To boot in single mode, while seeing grub's boot menu, press 'E' on the kernel you wish to boot. On the kernel line, add 'single' to the end of it. Now press enter then 'B' and your system will boot in single mode, allowing you to edit anything you need on your system.

hope that helps
Top
Ravenium
n00b
n00b
Posts: 19
Joined: Mon Mar 22, 2004 4:53 pm

  • Quote

Post by Ravenium » Thu Sep 23, 2004 8:53 pm

Thanks for the tips - I ended up using RUNT earlier this afternoon (booted from a floppy, loaded kernel from USB flash). I'll have to remember the single user mode bit for next time, though :)

I guess I might have been a bit mistaken when I described floppy distros as too old. I think it was more that the ones I tried to use didn't like the way my drive was partitioned and refused to mount it. I wasn't sure if it was an ext3 thing or what, but it just wouldn't mount.

Anyhow, back up and steaming along, thanks to both of you :) Another reason I love these forums!
Top
Post Reply

4 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic