LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 05-25-2004, 10:41 AM   #1
lamiczka
Member
 
Registered: Feb 2004
Location: EU
Distribution: Fedora
Posts: 62

Rep: Reputation: 15
Angry Linux + NT over LILO - NT fails to boot up


Got this problem: I had Win NT installed on my small 1,6GB harddrive. I decided to add 120GB drive with Mandrake. I changed 1,6GB to secondary master and 120GB to primary master.
Everything was fine, i installed Mandrake, created partitions 7GB for Linux, 1GB for swap and 102GB for data formatted as FAT32.
Then i changed LILO to let boot NT4 from the other drive (dev/hdb1)
And........ NT failed to boot up and i get only blank screen with cursor "_"

When i change the drive back primary master, NT boots up normally.

Any suggestions?
 
Old 05-25-2004, 01:55 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
The partitions are wrong in your lilo.conf.

Primary harddisk is /dev/hda
Secondary is /devhdb or /dev/hdd....

When you switch them, you make it inverse (hda=hdb) and the loader can't find the system. Try changing your lilo.conf to point to the right harddisk.
 
Old 05-25-2004, 03:48 PM   #3
lamiczka
Member
 
Registered: Feb 2004
Location: EU
Distribution: Fedora
Posts: 62

Original Poster
Rep: Reputation: 15
Partitions are ok

No, partitions are right. hdb is small and hda is large disk.

The problem is not in LILO but somewhere in particular config of NT4 setting or in NT4 loader.

Linux boots up normally.
 
Old 05-25-2004, 03:52 PM   #4
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Then do this.

Change the harddisks, the way you want them to be. Boot from your NT bootdisk. and run:

fixmbr (or so it is in XP) This will erase mbr.

Then reboot

Hope to get into NT. If this works, boot from your linux cd. install LILO. This should fix the problem. If NT doesn't boot, well, nothing I can help you with then. Sorry.

Peace!
 
Old 05-25-2004, 08:13 PM   #5
weeboo0104
LQ Newbie
 
Registered: Mar 2004
Location: Chicago, IL
Posts: 1

Rep: Reputation: 0
Booting NT4

If I remember correctly, the NT4 System partition must be on the first (Primary Master in your case) hard drive. You can store "\WINNT" on another partition or drive, but the C:\ has to be just that, C:\ (for the boot.ini, ntdetect, and ntldr files)

If I may make the following suggestions;
1) Leave your NT drive as the Primary Master (hey, you know it works right?) and plug your 120GB in as a Secondary Master and reinstall Mandrake on the second drive. Linux dosn't have any issues booting from a second hard drive.

OR

2) While you still have your Mandrake on the Primary Master, edit your /etc/lilo.conf. Leave your "boot = /dev/hda" entry unchanged and be sure your entry for NT4 is configured to boot from the first drive (remember to run /sbin/lilo afterwards). Edit your /etc/fstab file so the mountpoints refer to /dev/hdc (or /dev/hdb, I don't remember which) instead of /dev/hda. Shutdown your system and plug drives in the new configuration you want. Then restart your machine.

Personally, I would take suggestion #1 as it would be the easier of the two to implement.

Good luck.
 
Old 05-27-2004, 02:11 AM   #6
lamiczka
Member
 
Registered: Feb 2004
Location: EU
Distribution: Fedora
Posts: 62

Original Poster
Rep: Reputation: 15
ok folks, i resolved it :-) I put there /dev/hdc, WITH NO table and it worked!!! It says "press a key to reboot" and then NT boots up.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Fails to Boot Serzi Linux - General 4 05-25-2007 06:19 PM
Linux fails to boot... drzigman Linux - Newbie 2 06-11-2005 06:13 AM
Linux fails to boot neopad Linux - Enterprise 3 05-16-2005 02:02 AM
dual boot - XP and Linux - Need to reinstall XP without effecting linux -LILO boot godofmind Linux - General 1 05-05-2004 08:13 AM
Etho0 fails on mandrake linux boot thehellwitu Linux - Newbie 5 11-22-2003 07:35 PM


All times are GMT -5. The time now is 12:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration