Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.

ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!
Download and Activate to enter!

Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.

Learn More!


Download to Enter
| Contest Rules

Tutorials | Forums

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
 
Unread Dev Shed Forums Sponsor:
  #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: 70 spackbace User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 21 sec
Reputation Power: 11
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 53 m 49 sec
Reputation Power: 11
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: 70 spackbace User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 21 sec
Reputation Power: 11
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: 11
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: 70 spackbace User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 21 sec
Reputation Power: 11
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: 11
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

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


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 6 - Follow our Sitemap