LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2013, 02:44 PM   #1
mavrck48
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Rep: Reputation: Disabled
Botched up /etc/network/if-pre-up.d/iptables, now can't boot


Hello Forum!

I am running Debian 7.2 (Wheezy).

I was following this guide to get my iptables to restore on reboot, but messed up somehow: https://wiki.debian.org/iptables

Now, when I boot I get this error: http://snag.gy/dL6ZL.jpg and can't get booted into the OS.

Any guides or steps I can follow to get booted up so I can work on the file and hopefully fix my mess?

Thanks for the help!
 
Old 11-24-2013, 05:04 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
You should be able to boot into single user mode and fix/remove the part(s) that giving you problems.

If you don't know how to boot into single user mode, have a look here: Boot Linux Grub Boot Loader into single user mode
 
Old 11-24-2013, 08:27 AM   #3
Tech7
Member
 
Registered: Oct 2013
Location: Maine
Distribution: BT 5
Posts: 68

Rep: Reputation: Disabled
Another option would be to boot a live system then edit the files needed.....
 
Old 11-24-2013, 04:45 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,897

Rep: Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313
Wonder why that would stop you from booting?
 
Old 11-24-2013, 07:12 PM   #5
mavrck48
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
I found a solution through googling/trial and error. If you type ^d it will let the boot sequence continue and get into the OS. However, I appreciate all the replies everyone!

Last edited by mavrck48; 11-24-2013 at 08:56 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Botched up! Debian Sid x86_64 cannot start GUI (KDE4) and cannot connect to network 0++ Debian 4 07-21-2013 09:13 PM
[SOLVED] installing ubuntu botched network adapter angrym0use Linux - Networking 5 05-19-2010 12:35 AM
Botched dual-boot XP/Ubu. 8.10 - XP won't load properly Eddie_the_Hated Linux - Newbie 2 02-28-2009 07:17 PM
Help! I botched LVM and botched most of system!!! Labyrinth Linux - Newbie 7 01-08-2008 04:50 AM
Sarge botched boot bretticus Debian 2 07-26-2005 04:14 PM


All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration