LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 09-18-2004, 01:14 PM   #1
zeejdeej
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Rep: Reputation: 0
Unhappy linux dont start and cant boot from Win98 or XP CD?


hello there,
i am having a prob. i have win XP professional installed on my laptop and i recently installed Mandrake Linux 10 on it and wanted to make it as a DUAL BOOT SYSTEM . but unfortunately after the successfull completing of Mandrake Linux 10 Installation , now it dont even boot from Linux nor WinXP . it shows a 'L' on the screen and get stucks . when i try to boot from win98 or win Xp CD its dont allow me to boot from them , i think that is coz of the MBR as linux has made some changes to MBR.
can anybody tell me how can i boot from Win98 or WIn XP CD in order to recover my MBR by using the command fixmbr or fdisk /mbr .
i even tried to reinstall the bootloader from the Mandrake Installation/Upgrade menu but cant find the boot loader option. it automatically tried to reinstall the boot loader but still cant boot to Linux nor XP.

how can i have a DUAL boot system with WinXp and Mandrake Linux 10???(without having any problems).

waiting for some prompt replies..

Regards,

Zeeshan Javed
 
Old 09-18-2004, 01:25 PM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi
u need to ake sure that ur first boot device is ur cdrom

boot from a win98 cd
at the command prompt
#fdisk /mbr
will remve grub and rewrite the windows MBR to it


or boot from a winxp/200 cd in to recovery console
and use "fixmbr"


also if u want to reinstall the bootloader

boot into the rescue mode it comes by presing F1 while using mandrake 1 cd(not confirmed though)

he when u are dropped at the rescue console

the mount ur root partiton by


"mount /dev/hda4 /mnt/tmp"


here hda4 is my root partion and there should be a tmp directory in /mnt.u can mount it anywhere else also
the run

"chroot /mnt/tmp"

run
"lilo"

regards
gaurav
 
Old 09-18-2004, 02:04 PM   #3
zeejdeej
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy hello

i tried but its not allowing me to boot from win98 or Win Xp bootable CD. i double check the bootup sequence and its set to CD rom. infact it tries to boot from win98 or XP cd but then it stucks and i get a blank screen.
on the other hand i am able to boot from Mandrake Linux 10 CD or RedHat Cd. why its not letting me to boot from win Xp or Win98 bootable CD???

what else i can do in order to recover my MBR for Windows OS?

regards,

Zeeshan Javed
 
Old 09-18-2004, 02:14 PM   #4
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

what about the rescue method i told u

and about the windows CD i cannot tell if there is something wrong with the CD

regards
 
Old 09-19-2004, 02:03 AM   #5
zeejdeej
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Original Poster
Rep: Reputation: 0
hello

hello there,
thanks a lot for your help. i highly aperitiate it.

well the win98 and win Xp bootable CDs work just fine on other PCs , infact i have installed WinXp from the same CD on my laptop earlier. anyways i have managed to recover the MBR from rescue option u told me .

now i am able to boot to my Win Xp installation but the linux is still not accessable. although its completly installed. i think the Linux bootloader is not working properly. during the installation or linux repair/upgrade it didn't ask me which bootloader to install i.e. GRUB or LILO? it installed automatically ? i even re-installed the bootloader from the rescue but it still didn't show me any boot loader and the laptop haults during bootup and 'L' is diaplayed on the laptop screen.

what should i do in order to make it a DUAL boot system.

waiting for your reply

Regards,

Zeeshan Javed
 
Old 09-19-2004, 02:13 AM   #6
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

when iin rescue mode

after 'chroot /mnt/sysimage'
did u run
'lilo'

and what did u get after u ran 'lilo'

regards


regards
 
Old 09-19-2004, 06:19 AM   #7
zeejdeej
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Original Poster
Rep: Reputation: 0
hello

how to manually install the boot loader ??? i re-installed the boot loader from linux rescue but it didn't ask me which boot loader i want to install i.e GRUB or LILO? i think it automatically installed LILO but lilo isin't working and when it boot it haults the system and on Display i see a 'L' . i dont know why its not working and allowing linux to load.
 
Old 09-19-2004, 08:29 AM   #8
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi

to re-install lilo
u need to run

lilo

after u r in the rescue mode at the prompt(after the "chroot /mnt/sysimsge" step)

post what u get after "lilo"

regards
 
Old 09-19-2004, 09:53 AM   #9
zeejdeej
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Original Poster
Rep: Reputation: 0
hi

hello ,
well i checked the command u told me to run in the rescue mode i.e 'chroot /mnt/sysimage' but there was no directory by the name of sysimage in mnt. there is a directory in /boot/grub and there are three files in it menu.lst , stage1 , stage 2 .

what should i do now ??? why the Mandrake Installation didn't ask me for the bootloader option. it automatically installed one .... i was expecting to get an option of GRUB or LILO as the bootloader.

what else can i do ???
 
Old 09-19-2004, 10:03 AM   #10
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
h

boot into the rescue mode

then when u are dropped at the rescue console


se ur root partiton by

fdisk -l /dev/hda

-----------------------
like my O/P of th above command is
root@gaurav root]# fdisk -l /dev/hda

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 446 3582463+ b W95 FAT32
/dev/hda2 447 3845 27302467+ f W95 Ext'd (LBA)
/dev/hda3 3846 4546 5630782+ 83 Linux
/dev/hda5 447 892 3582463+ b W95 FAT32
/dev/hda6 893 1402 4096543+ b W95 FAT32
/dev/hda7 1403 2868 11775613+ c W95 FAT32 (LBA)
/dev/hda8 2869 3544 5429938+ b W95 FAT32
/dev/hda9 3545 3845 2417751 b W95 FAT32
[root@gaurav root]#


here my hda3 is root partiton
-------------------

the mount ur root partiton by
mkdir /mnt/temp

"mount /dev/hda3 /mnt/tmp"


here hda3 is my root partion and there should be a tmp directory in /mnt.u can mount it anywhere else also
the run

"chroot /mnt/tmp"

run
"lilo"

and post the O/P there

regards
 
Old 09-19-2004, 10:10 AM   #11
zeejdeej
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Original Poster
Rep: Reputation: 0
how can i install GRUB boot loader? i like GRUB ...

in the mean time i am trying what u have written in your last post.
 
Old 09-19-2004, 10:11 AM   #12
zeejdeej
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Original Poster
Rep: Reputation: 0
and will this method all the windows Installation to the LILO automatically or do i have to add it manually? please tell me the procedure to add Windows to Lilo ?
 
Old 09-19-2004, 10:49 AM   #13
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

to add windows partition

ad the following entry
-----------

other=/dev/hda1
optional
label=windows

------------------

where by windows bootable partition is /hda1

is ur lilo runing???

regards
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to be a linux developer but dont know where to start Neoxeekhrobe Programming 16 09-29-2005 04:06 PM
fc2-gnome : Applications dont start / very slow to start nox104 Linux - Software 0 08-18-2004 08:53 PM
linux-win98 dual boot rickym1 Linux - Newbie 3 07-18-2003 10:10 AM
Linux/Win98 Dual Boot, Win98 won't boot TIMMY! Linux - Software 21 04-18-2001 03:17 PM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 09:00 AM


All times are GMT -5. The time now is 04:24 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