LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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
  Search this Thread
Old 08-27-2003, 08:39 PM   #16
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33

i'm not an expert, but here's how i think it works...

all the files for LILO should be stored under /boot on your linux native partition, when you run sbin/lilo from the command line, it simply tells whatever boot= in lilo.conf (in most cases the MBR) to look at the following images for a kernel or whatever. i guess it installs lilo at that location, but the lilo files are all still stored under /boot. that means that even if you re-install windows boot loader, your lilo.conf should be untouched, which means that once you get windows working again, you can boot linux from a disk, type lilo at the command line and it should reinstall LILO to the MBR.

if anyone else understands this a little better maybe they can add more detail. in the meantime, here's a link about lilo:

http://www.control-escape.com/linux/lilo-cfg.html

it's fairly short and well explained.

hope that helps...
 
Old 08-27-2003, 09:32 PM   #17
uranologist
Member
 
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81

Original Poster
Rep: Reputation: 15
ok, thanks.. i'm gonna go fix XP now... i feel confident with this info you gave me. will reply to this again with an update on what happened.
 
Old 08-28-2003, 02:50 AM   #18
uranologist
Member
 
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81

Original Poster
Rep: Reputation: 15
aw, damnit... i installed XP, configured it how i wanted it to be...

restarted, popped in the boot disk for linux...

"can not find kernel image - linux"

i remember renaming linux to Mandrake-Linux, and windows to Windows-XP.

what do i do now?
 
Old 08-28-2003, 02:54 AM   #19
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
you sure you have a working boot disk? doesn't sound like it... but you should still have the mandrake cd's right? those will work if you use rescue instead of setup. i think you type F1 for more options or something like that.

if none of that works, boot into XP and download a bootdisk, they're readily available online.
 
Old 08-28-2003, 03:04 AM   #20
uranologist
Member
 
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81

Original Poster
Rep: Reputation: 15
i was sure. i know it isnt workin now, i'm gonna make another one. thanks - i read another thread and someone said the same thing you did... although there were some parts during boot, before lilo showed up, where it said something about some parts being mounted wrong... will try to write it down next time i restart. fortunately i had copied and pasted my /etc/lilo.conf file here, so i reset everything the way it was, with the exception of the timeout=100 to timeout=250.
 
Old 08-28-2003, 03:43 AM   #21
uranologist
Member
 
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81

Original Poster
Rep: Reputation: 15
ok, that's a "mount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems."

but i only have 4...?
 
Old 08-28-2003, 10:36 AM   #22
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
i just went back and looked at your fdisk, it looks like your XP partition uses NTFS fs instead of FAT32. unfortunately all i know about NTFS is that for some reason people have a lot of trouble getting it to work in linux - if you type it into www.google.com/linux or search this site you should find a whole bunch of threads about getting it to mount properly. or you could use XP FAT32 converter to change it to FAT32, then edit /etc/fstab to reflect the difference (ie something like /dev/hda1 /mnt/windows vfat defaults,umask=000 0 0) (vfat = FAT32)

so does this mean your system is dual booting ok now?
 
Old 08-28-2003, 11:14 AM   #23
uranologist
Member
 
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81

Original Poster
Rep: Reputation: 15
yes it is dual-booting ok now... i just started up the computer just now, and i see:

LDM_validate_partition_table(): Disk Read Failed
(2 times)

and

Mounting Local filesystems: mount: wrong fs type, bad options, bad superblock on /dev/hda1, or too many mounted filesystems
(2 times)

this happens after i select linux at lilo... also it takes a while for it to check for new hardware. when i reinstalled XP, i made sure to make it FAT32. i never got this before when i first installed linux, it just happened for the first time after reinstalling XP.

i'll check into the /etc/fstab file

i really appreciate all the help everybody's given me... now i know for sure where to go if i need a problem!

i gotta get a book from mandrake about their linux os... whenever i have extra spending money, that's my first priority!
 
Old 08-28-2003, 11:16 AM   #24
uranologist
Member
 
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81

Original Poster
Rep: Reputation: 15
ok, here's a copy of my /etc/fstab...

"/dev/hda5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda7 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdb,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,ro,umask=0 0 0
none /mnt/zip supermount dev=/dev/sda4,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0"
 
Old 08-28-2003, 12:44 PM   #25
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
ok, first here's a good link if you can't afford to buy a good linux manual (although you should at some point just so the authors can afford to continue publishing) http://www.fokus.fhg.de/linux/LDP/rute/

second, if you know that hda1 is FAT32, then you should change the entry in fstab from ntfs to vfat.

i don't know what iocharset does, but if your floppy and cdrom are working then i guess it's ok, but if you want to be able to make changes to that partition, instead of ro i would set rw and users. which options you end up going with are largely a matter of personal preference though - do a quick search of mounting windows fs on this forum and you'll come up with dozens of different opinions.
 
  


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
Lost panel in Gnome -- now I'm completely lost! webwench Linux - Newbie 3 04-30-2005 02:38 AM
Lost mouse after reboot+lost modem BACTRATE Mandriva 3 04-07-2005 07:45 AM
power lost from cable modem, interface lost a10392 Linux - Networking 4 11-16-2004 10:01 AM
Lost klfreese Linux - Newbie 13 07-02-2004 11:27 PM
C++ templates + linked lists... lost.. very lost.. exodist Programming 2 05-13-2004 12:04 AM


All times are GMT -5. The time now is 09:05 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration