Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old November 26th, 2001, 10:52 AM
spackbace spackbace is offline
graphics monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: Georgia Tech, Atlanta, GA
Posts: 71 spackbace User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 21 sec
Reputation Power: 7
Send a message via AIM to spackbace
windows XP overwrote lilo, now i cant boot into linux

I had windows98 and linux redhat7 dualbooted. windows was on hda1, linux was on hda6. well, i wanted to install windowsXP. so i went into linux and backed up a bunch of stuff (about 3 gigs worth) from my windows mount onto my linux partition.

Then I installed windows XP on hda1. Works like a charm, I love it.

But... now when I start my computer, the bootloader never comes up, and I can't get into linux. Which means I cant get to all that data i backed up on my linux partition. which is BAD.

so can someone please tell me a quick and easy way to get my boot loader back?

unfortunately, I dont have a linux boot disk OR the linux install CD's (a friend installed linux for me at his house)...

so can anyone walk me through how to get my linux back??

thanks
__________________
Brian

Reply With Quote
  #2  
Old November 26th, 2001, 04:00 PM
yhcmarc's Avatar
yhcmarc yhcmarc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Heemskerk, The Netherlands
Posts: 254 yhcmarc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 42 m 25 sec
Reputation Power: 7
download loadlin.exe and a standard kernel from the internet (kernel probable available at ftp.cdrom.com) and copy them both on a msdos bootdisk.

boot from the msdos bootdisk and load

loadlin.exe [kernelimage] root=/dev/hda6

this should boot the kernel from the disk and load linux from that disk, it should mount your filesystems and when in Linux execute lilo that should reinstall your bootloader. Hopefully you'll be able to get your bootloader back. I can and will not garantee it will work but it should do so.

Otherwise download an iso with a live filesystem, burn it on cd and boot from the cd. mount all your localfilesystems and reinstall lilo. I personally would choose the first option cause it's a little easier to do so even though is some more work.

Marc

Reply With Quote
  #3  
Old November 26th, 2001, 05:05 PM
spackbace spackbace is offline
graphics monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: Georgia Tech, Atlanta, GA
Posts: 71 spackbace User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 21 sec
Reputation Power: 7
Send a message via AIM to spackbace
Where can I get one of these "standard linux kernels"? And what would they be named? I went to ftp.cdrom.com but they have so much stuff, i didn't know where to look to find a kernel.

and where can i also find this loadlin.exe thing?

thanks

Reply With Quote
  #4  
Old November 26th, 2001, 05:56 PM
IceMan IceMan is offline
Roving Icicle
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Netizen
Posts: 56 IceMan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to IceMan Send a message via AIM to IceMan Send a message via Yahoo to IceMan
Another, possibly easier (depends on your POV) solution would be do download Trinux (that URL may be down, if so try this) and create a cd/floppies. Then once you boot off them, chroot into hda6. From there you should effectively be in your filesystem and can then run "lilo" to write lilo make to your MBR.

In the unlikely that that doesn't work, you should be able to see both NTFS and EXT2 partitions from Trinux and be able to make copies between the two.
__________________
Is it just me or is it cold in here?

Reply With Quote
  #5  
Old November 26th, 2001, 06:04 PM
spackbace spackbace is offline
graphics monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: Georgia Tech, Atlanta, GA
Posts: 71 spackbace User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 21 sec
Reputation Power: 7
Send a message via AIM to spackbace
ok, i went to that trinux page, and it sounds like it will work great -- but what do i download? i can choose between boot, trinux-ide, trinex-iso, trinex-etc etc etc. which one do i need to make the floppy disk?

Reply With Quote
  #6  
Old November 26th, 2001, 09:11 PM
IceMan IceMan is offline
Roving Icicle
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Netizen
Posts: 56 IceMan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to IceMan Send a message via AIM to IceMan Send a message via Yahoo to IceMan
I've always used the CD-ROM version, which works wonderfully.

For the floppy, you most likely want the trinux-ide. Just a clarification of what I said earlier, it appears that it will NOT let you write to NTFS from trinux, just read it. You CAN however write to FAT(32) partitions.

And again, make sure you write the image to the floppy, not just copy it. I know someone who coastered two CD-Rs because they did that, not fun.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > windows XP overwrote lilo, now i cant boot into linux


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway