LinuxQuestions.org
Help answer threads with 0 replies.
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-31-2004, 07:48 PM   #1
doody
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware
Posts: 28

Rep: Reputation: 15
Help --> Invalid Partition Table?


Well, My slack 10 cd came in the mail...



I've used cfdisk to create the following partitions:

/dev/hda1 primary some-stupid-dell-partition
/dev/hda2 bootable primary linux
/dev/hda3 primary linux swap
/dev/hda4 bootable primary ntfs


Everything installs fine except for when I get to the option of configuring LiLo. It spits an error out at me and tells me I can probably still configure it manualy. So I figured ok, I'll configure it manually.

So, I procede with setup and eventually restart the computer (after taking the cd out of the drive). All I see is an error about the Partition Table. I'm having to use the bootable cd to get into linux.

However, I want to be able to dual boot between winxp and slackware! I am having a hard time figuring out what I'm doing wrong with LiLo!

Some good news though, I have gnome and my touch-pad mouse working great =)

I have not yet installed xp, could that be the reason LiLo isn't working? Someone please help!

- Stephen
 
Old 08-31-2004, 07:50 PM   #2
doody
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 15
When I type LiLo at the prompt it says "Fatal: First sector of /dev/hda4 dosnt have valid boot signature"

I'm assuming my entire problem here is simply not installing windows... if that is the case then /me hangs his head in shame =(
 
Old 08-31-2004, 07:53 PM   #3
irlandes
Member
 
Registered: Nov 2003
Posts: 117

Rep: Reputation: 16
Oops...

usually, most folks have maximum benefit when they install the Win junk first. You see, when you install Win, it usually rewrites the MBR, thus over-writing any lilo stuff there.

I do not know if there is a way to install XP now without having to reinstall linux. I hope others with more knowledge can help you.
 
Old 08-31-2004, 07:58 PM   #4
doody
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks for the reply.

Well, I'm installing xp now. Hopefully it won't rewrite over the mbr but if it does re-installing slack isn't a problem.
 
Old 08-31-2004, 08:13 PM   #5
doody
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 15
Well, after the initial setup of windows I restarted... and lo-and-behold it went directly into windows to finish setup! I'm thinking I can still boot into linux with the cd, update lilo, and then everything will be ok. If not, I'll just have to reinstall linux. Unless anyone has any other opinions?

- Stephen
 
Old 08-31-2004, 08:30 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Reinstalling Windows *will* overwrite your MBR. That's just the way it behaves, and that's why it's recommended to install Windows first in a dual boot system.

In any event, Yes, you should be able to revive Linux by doing exactly what you describe - boot into Linux using either the installation CD or a boot floppy, then install lilo (or rerun it if it was already installed- as root: /sbin/lilo ) As you suspect, reinstalling Linux is not necessary.

Good luck with it, and Welcome to LQ! -- J.W.
 
Old 08-31-2004, 08:33 PM   #7
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Install lilo into hda2, then use Windows bootloader to load it.
for example edit the boot= option /etc/lilo.conf so that its "boot=/dev/hda2", run /sbin/lilo to install.
Then extract it using
Code:
dd if=/dev/hda2 of=linux.bin bs=512 count=1
copy linux.bin into a floppy disk, reboot into Windows XP, copy linux.bin to where boot.ini is(usually c:\, and its hidden by default)
open up boot.ini and enter something like this:
Code:
C:\linux.bin="Slackware 10"
 
Old 08-31-2004, 08:43 PM   #8
doody
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 15
XP just finished installing and I'm booting slack now with the cd. It's a laptop and I don't have a floppy drive!

I ran liloconfig, set it up, ran lilo, and restarted. Working perfectly! Now to set up my cable connection. I've already found a few posts here that deal with that so unless I run into anything totally confusing I'll be quiet for a little while =)

Thanks for the help everyone!

- Stephen
 
Old 09-01-2004, 01:33 AM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Congrats on the successful resolution doody -- J.W.
 
  


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
Invalid Partition Table on /dev/sda - Wrong Signature 0 ulasergin Fedora - Installation 1 06-30-2005 12:59 AM
Invalid Partition Table xiojqwnko Slackware 2 04-04-2004 05:27 PM
invalid partition table MunterMan Linux - Software 3 11-26-2003 02:45 PM
FreeBSD invalid partition table error gmalleus *BSD 4 10-22-2003 11:58 PM
partition table invalid or corrupt colindoig Linux - Software 3 10-01-2003 09:14 PM


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