LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-29-2006, 07:28 PM   #16
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357

Quote:
Originally Posted by ygloo
i select windows
message: loading windows...

freeze...
I'm trying to think back to my Windows days. That "loading windows" part, is that on a graphical display (Windows logo is present) or a text display (black screen with plain white text)? I seem to remember this text coming up AFTER the Windows graphic logo is displayed. If so, then you can try booting Windows in "safe mode". It could be trying to load some driver and hanging. In safe mode you can stop drivers from loading and get some debugging done. Sorry, I've been away from Windows and do not remember the key combination you press at boot time for force safe mode. My mind is drawing a blank right now. I'll probably remember it right after I submit this post! Try a Google search on "Windows safe mode"

Anyway, I don't know why you might be having a problem with a driver after copying stuff to your D: drive. Unless the driver or some file it wants to read happened to be on D: before you wiped it out. Usually drivers would be on your C: drive. Are you sure you didn't sneak in a little copying to your C: drive while you were trying to get stuff to your D: drive?

My previous post, referring to WIndows multibooting, would not apply to you. If you're only running Win98. Microsoft did not introduce their multibooting until W2k.
 
Old 09-29-2006, 07:35 PM   #17
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
after selecting "win" from lilo menu
i see a black screen and in the top-left corner a message...
i'm pretty sure that did'n write to C: - i copied files several times and used the same dir...
/mnt/usb-storage/net/backup

Last edited by ygloo; 09-29-2006 at 07:38 PM.
 
Old 09-29-2006, 07:49 PM   #18
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
OK. I was thinking your message was comming from Windows. I don't think so now. It's coming from LILO.

Unfortunately, I know Grub, not LILO. There are a lot of LILO users here that could better help you debug than I could. Hopefully one of them will chime in...
 
Old 09-30-2006, 03:35 AM   #19
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
yeah well now that you mention you have w98 I will change tactics.

Can I suggest that you download some free (GPL) bootable live cds
The closest to W98 is www.freespire.org has nvidia and ati graphic drivers by default and win codecs.

The bigger live cd is knoppix either as a cd or dvd....yep dvd.

If your hardware is really old and can not handle hi graphics or has small ram like 64 Megs try Damn small linux.

You can find lots of live cds and download sites at
www.distrowatch.com

http://www.distromania.com

I am suggesting also you may want to read some FAQs at this site and do some browsing so you are better armed with what you want to ask or do.

end of arrogance (mine not yours)

Last edited by aus9; 09-30-2006 at 03:37 AM.
 
Old 09-30-2006, 05:57 AM   #20
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Quote:
what could be the reason?
Possibly something you have done but not reported.

An easy way out is to restore Lilo. Log in root and in Bash shell type
Code:
lilo -b /dev/hda
 
Old 09-30-2006, 09:03 AM   #21
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
i restrored lilo
 
Old 09-30-2006, 09:48 AM   #22
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Put it this way. If your Win98 cannot be booted by Lilo, after retoring Lioo properly and has it confirmed "Windows added" then may be you have damaged the Win98 partition.

The proof of a pudding is in the eating so why not retore MS's MBR, boot up a Dos floppy with fdisk.exe inside and type
Code:
fdisk /mbr
Now you are only dealing with a 100% MS system. Tell us if it boots.

I am with many posters here in thinking technically writing whatever files from a Linux partition to a logical partition in Win98 (Drive "D") should not have any influence to the Win98 housed in the first primary partition.

Last edited by saikee; 09-30-2006 at 09:51 AM.
 
Old 09-30-2006, 12:50 PM   #23
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
i disconnect HDD where is linux ( just in case )
fdisk /mbr - and win loads
win loads Ok

i connect again HDD with linux
try to load win - - Fail

i run lilo
it says added win

i reboot and try again.. no luck...
 
Old 09-30-2006, 01:42 PM   #24
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by ygloo
i disconnect HDD where is linux ( just in case )
fdisk /mbr - and win loads
win loads Ok

i connect again HDD with linux
try to load win - - Fail
The disconnecting/reconecting thing sounds suspiciously related to Window's normal refusal to boot itself off of a second hard drive. I believe Windows needs some help for Linux to accomplish this seemingly trivial feat (not trivial for native Windows however).

I do not know the details. I am simply remembering something I read somewhere talking about "Windows vs. the second harddrive". There is some trick in LILO or Grub (I think) where you can make Windows think it's on the first HDD when it's really on the second. But I can't remember the details, or even if what I'm remembering is relevent. Maybe somehow in the past you had this "trick" in LILO but now it's somehow been overwritten and wiped out?

I'm just guessing at all of this ... trying to help you out ... but I don't want to send you down a bad path because of my failing memories, so I'll shut up now.
 
Old 09-30-2006, 01:53 PM   #25
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
disconnected HDD manualy - unplugged the cable inside PC (precaution)

when win is alone - it boots ( only HDD with win is switched on )
when run 2 HDD's together - Linux loads lilo menu and win won't boot from there...

Last edited by ygloo; 09-30-2006 at 02:00 PM.
 
Old 09-30-2006, 04:50 PM   #26
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
You committed a crime in an operating system if you install it in the 1st boot disk and later boot it as the 2nd boot disk. No operating system in the world can accept such a humiliation because the system files would have the addresses all pointing to the 1st boot disk.

Since you use Lilo you can ask Lilo to do a disk swap on-the-fly with these two lines in the section of /etc/lilo.conf that boots Windows
Code:
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
This is the Lilo's way to switch the 1st and 2nd disk orders temporary. The disks revert back to original positions after you exit Win98.

Just don't do it again.
 
Old 09-30-2006, 04:59 PM   #27
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
here is story:
first i use only win installed on a single HDD
then attach a 2nd HDD which is connected as primary... Linux is installed on this drive

at that moment i was able to boot either Linux and win...
then copied files from Linux HDD to D: drive of win HDD

now i can boot win when it is the only HDD connected...
Lilo won't boot win...

Last edited by ygloo; 09-30-2006 at 05:01 PM.
 
Old 09-30-2006, 05:30 PM   #28
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
If you do not know how to edit /ect/lilo.conf to include the suggestion I outlined in Post #26 then paste the content of /etc/lilo.conf here. Also list the content of the Bash command "fdisk -l" which will tell us your partitioning scheme.

I summarize your current situation as

(a) Win98 boots if it is only one hard disk (hda) in the PC
(b) Linux boots when connected as the primary but Win98 doesn't when hooked as the slave.

My advice to you is to connect the two disks permanently and chop off one of your two hands so that the disk order can never change again. Let Linux deal with the problem using software. Pulling hard disk connectors off for booting purpose is an activity belonging to the Dark Ages.

Last edited by saikee; 09-30-2006 at 05:38 PM.
 
Old 09-30-2006, 05:37 PM   #29
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
lilo.conf

Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
default = linux
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
bitmap = /boot/bitmap/boot.bmp
# VESA framebuffer console @ 800x600x256
vga = 771
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769


# End LILO global section
# Partition 1 : DOS/Windows 
other = /dev/hdb1
    label = windows
    table = /dev/hdb
# Partition 2: Linux GUI mode
image = /boot/vmlinuz
    root = /dev/hda1
    label = linux
    append = ""
    read-only
    
# Partition 3: Linux TUI mode
image = /boot/vmlinuz
    root = /dev/hda1
    label = linux-tui
    append = "2 "
    read-only
    
# Partition 4: Linux GUI mode
image = /boot/vmlinuz
    root = /dev/hda1
    label = linux-gui
    append = "5 "
    read-only
    
# Partition 5: Linux
image = /boot/vmlinuz-2.6.12
    root = /dev/hda1
    label = 2.6.12
    append = ""
    read-only
# Partition 6: Linux
image = /boot/vmlinuz-adaptec-2.4.29
    root = /dev/hda1
    label = adaptec-2.4.29
    append = ""
    read-only
# Partition 7: Linux
image = /boot/vmlinuz-sata-2.4.29
    root = /dev/hda1
    label = sata-2.4.29
    append = ""
    read-only
 
Old 09-30-2006, 05:43 PM   #30
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Alter your /etc/lilo.conf in the #Partition 1 with the addition (marked red)
Code:
# Partition 1 : DOS/Windows 
other = /dev/hdb1
    label = windows
    table = /dev/hdb
    map-drive=0x80
    to=0x81
    map-drive=0x81
    to=0x80 
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot -fedora core 4 and windows xp- problem booting from windows xp cd r_desu Linux - Newbie 4 06-17-2007 04:33 PM
Windows XP Suse 9.2 dual boot problem:Yast doesn't find windows Salawat SUSE / openSUSE 1 03-31-2006 04:33 AM
Suse 10/Windows Boot Problem whoomjah SUSE / openSUSE 11 02-27-2006 12:11 PM
boot problem,windows reinstall? spx2 Linux - Newbie 27 01-16-2006 11:29 AM
Windows XP boot problem metallicafan_316 General 11 09-03-2005 08:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:16 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
Open Source Consulting | Domain Registration