LinuxQuestions.org
Visit Jeremy's Blog.
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 10-12-2003, 05:30 PM   #1
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Rep: Reputation: 15
Unhappy Linux doesent boot anymore, just Windows


Hi
I wanted to play the game "Splinter Cell" but it doesent work under Wine and there isnt any Linux-version. Under a Workstation it didnt work either because the drivers werent supported.
So I installed Win98 but since then when I boot it loads Windows. So I cant acced to Linux.
How can I get to Linux? I installed Win98 on an extra-Partition and under Fdisk it still shows the Linux Partition.
So please tell me how to get to Linux!
 
Old 10-12-2003, 05:42 PM   #2
speter
Member
 
Registered: Sep 2003
Location: Edison, NJ
Distribution: Fedora, Mac OS X
Posts: 313

Rep: Reputation: 30
Windows always writes its bootloader to the MBR, since of course, you have no other OSs on your system. Did you make a boot floppy when you installed Linux? Use that to boot, then reinstall LILO or GRUB.

Steve
 
Old 10-12-2003, 07:28 PM   #3
Louie55
Member
 
Registered: Oct 2003
Location: Nebraska
Distribution: SuSE 9.0, Redhat 9.0
Posts: 41

Rep: Reputation: 15
I had this problem also. This is how I fixed it:

If you have a RedHat CD. Boot off of the CD and when the install menu comes up, type linux rescue and press enter.

then when you get to the prompt, type grub-install /dev/hda

Then reboot your system and GRUB should be there.

I used a RedHat 8.0 CD. I don't know if it works the same way with a different distribution of Linux? I tried the same routine with a SuSE 8.2 disk and it didn't work.

If I typed something wrong above, someone please correct me.

Last edited by Louie55; 10-12-2003 at 07:29 PM.
 
Old 10-12-2003, 10:02 PM   #4
webrurouni
LQ Newbie
 
Registered: Oct 2003
Distribution: 1.8p4 RedHat9 WinXP
Posts: 16

Rep: Reputation: 0
yes! i'm having the same problem.

i've been using XP with NTFS system. and recently i've installed RH9 on a second HD, and after installing it, it had errors booting up, and nothing came up other than a whole bunch of "07 07 07"

so what i did was boot up my system with a XP install cd and clicked on rescue or repair mode and typed "fixboot" then "fixmbr" which cleared and rewrote the mbr

after that my system only booted to xp, and the only way i could boot to linux was if i used the boot disk, and after installing LILO on the mbr on the XP drive it still boots to XP.

is there anyway i can configure the LILO or install another dual boot starter? (currently the only way i can boot to RH9 is to use the boot disk)
 
Old 10-12-2003, 10:15 PM   #5
webrurouni
LQ Newbie
 
Registered: Oct 2003
Distribution: 1.8p4 RedHat9 WinXP
Posts: 16

Rep: Reputation: 0
should i clear the mbr again and try to install grub? i beleive i did, but it didn't work, so i went on and tried LILO
 
Old 10-13-2003, 09:43 AM   #6
Deck
LQ Newbie
 
Registered: Oct 2003
Location: Charlotte, NC
Distribution: School Windows
Posts: 1

Rep: Reputation: 0
OPERATING SYSTEMS

What is The Best OS out of the new linux and windows os and where can I find info on them.
 
Old 10-13-2003, 12:31 PM   #7
speter
Member
 
Registered: Sep 2003
Location: Edison, NJ
Distribution: Fedora, Mac OS X
Posts: 313

Rep: Reputation: 30
Quote:
Originally posted by webrurouni
should i clear the mbr again and try to install grub? i beleive i did, but it didn't work, so i went on and tried LILO
If you cleared it with your XP CD (as you said in the other post), then you installed the Windows bootloader. You need to boot from a Linux disk and install GRUB or LILO (and if you use LILO, make sure you run /sbin/lilo at the end).

Deck: for one, don't tag a new question onto an old thread. Second, do a search on the site for your question. It has been asked millions of times.

Steve
 
Old 10-13-2003, 08:47 PM   #8
webrurouni
LQ Newbie
 
Registered: Oct 2003
Distribution: 1.8p4 RedHat9 WinXP
Posts: 16

Rep: Reputation: 0
sry... felt like posting in the same thread

but i did look around for help.. and i did try installing LILO from the linux cd

but i think the main problem is, is that my winXP is on NTFS and RH can't seem to install it right.
 
Old 10-13-2003, 09:55 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Installing Lilo on the first drive will overwrite the mbr that xp has installed. You need to install it to /dev/hda

First you need to see which partitions to specify, so you need to know where windows and / are at



fdisk -l

Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 141 1132551 a0 IBM Thinkpad hibernation
/dev/hda2 * 142 3789 29302560 7 HPFS/NTFS
/dev/hda3 3790 3806 136552+ 83 Linux
/dev/hda4 3807 7296 28033425 5 Extended
/dev/hda5 3807 3931 1004031 82 Linux swap
/dev/hda6 3932 7296 27029331 83 Linux


mount

/dev/hda6 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda3 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)


/etc/lilo.conf

prompt
timeout=50
default=2.4.20-20.9
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
restricted
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.20-20.9
label=2.4.20-20.9
initrd=/boot/initrd-2.4.20-20.9.img
read-only
append="hdc=ide-scsi root=/dev/hda6"

other=/dev/hda2
optional
label=WinXP






then run lilo


/sbin/lilo


Last edited by DavidPhillips; 10-13-2003 at 10:01 PM.
 
Old 10-14-2003, 08:10 PM   #10
webrurouni
LQ Newbie
 
Registered: Oct 2003
Distribution: 1.8p4 RedHat9 WinXP
Posts: 16

Rep: Reputation: 0
[root@localhost root]# fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4865 39078081 7 HPFS/NTFS

Disk /dev/hdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 4177 33551721 c Win95 FAT32 (LBA)
/dev/hdb2 * 4178 4190 104422+ 83 Linux
/dev/hdb3 4191 9899 45857542+ 83 Linux
/dev/hdb4 9900 9964 522112+ f Win95 Ext'd (LBA)
/dev/hdb5 9900 9964 522081 82 Linux swap


[root@localhost root]# mount
/dev/hdb3 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hdb2 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

lilo.conf

# LILO configuration created by QuickInst 22 Sun Oct 12 17:53:07 CDT 2003

boot = /dev/hda
prompt # always expect prompt
timeout = 150 # wait 15 seconds
vga = normal # force sane state
lba32 # 'linear' is deprecated
delay = 30 # delay 3 seconds if there is a stored command line
#serial = 0,1200n8 # uncomment to use COM1 too
read-only # initailly mount roots r/o
root = current # use "current" root
image = /boot/vmlinuz
label = linux
other = /dev/hda1
table = /dev/hda
label = dos


---------------------------------------
could ya please help see what's wrong?

-thanks
 
Old 10-14-2003, 08:44 PM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
do you get errors when you run /sbin/lilo

one thing you might consider is to use initrd as shown in my lilo.conf above

look in your /boot folder to see if the .img file mqtching you kernel is there
 
  


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
Can't get grub to boot Windows anymore! a10waveracer Linux - General 7 08-24-2005 02:58 AM
just installed fc2 and windows wont boot anymore coolinuxguy246 Fedora 6 11-26-2004 04:29 PM
Cant boot to windows anymore? Using lilo/mandrake af_dave Linux - General 4 07-18-2004 11:19 PM
Windows 98 won't boot anymore... and music softwares... suddierocks Linux - Newbie 4 01-17-2004 12:35 PM
Boot problems, carn't boot Linux anymore Thom_Redhat Linux - General 2 01-01-2004 08:21 AM

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

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