Unix Technical Forum

Bootdisk lost-reformatted

This is a discussion on Bootdisk lost-reformatted within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello, I installed Slack 10. My son reformatted the boot disk for Win98, it dual boots. At least it ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 05:30 PM
Steve
 
Posts: n/a
Default Bootdisk lost-reformatted

Hello,

I installed Slack 10. My son reformatted the boot disk for Win98, it dual boots.
At least it did at one time.

I have used the Slack CD to boot in the past using "bare.i root=/dev/hda2
noinitrd ro". I even ran startx and it seemed to work fine.

Now I get a kernel panic and it won't load any further. I have also tried
another floppy boot disk and it also gets a kernel panic.

When using a CD and just booting "bare.i" with no parameters, I tried running
lilo but it says it's not installed. I ran setup but it doesn't show a menu for
installing a bootloader that I can see.

I know I don't have to reinstall Slack just to get it to boot but I need a
pointer or some advice.

I read, ad am going to try, running /sbin/liloconfig may be the answer. I'll try
that from CD but would appreciate any suggestions.

Thank you in advance.
Steve
My real email address is dealsgalore[A-T]earthlink.net

http://www.cheap-land.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 05:30 PM
Steve
 
Posts: n/a
Default Re: Bootdisk lost-reformatted

Just more info

the error on booting using the CD is:

FAT: bogus logical sector size 50250
Sh-2021: reiserfs_read_super can not find resierfs on ide(3,2)
Kernel panic: VFS:Unable to mount root fs on 03:02

I also tried to run cfdisk just to look and it gave an error of:

FATAL ERROR: Bad primary partition 1:logical partitions overlap
Press any key to exit cfdisk

fdisk reports the partitions as:

dev boot start end blocks id
/dev/hda1 * 1025 2108 81950040 c W95 FAT32
/dev/hda2 1356 3938 19527480 83 Linux
/dev/hda3 3939 3972 257040 82 Linux Swap

It's obvious to me now that somehow a program wrote across the partition onto
another partition.

I started with Win 98 first then installed Slackware. I have run Slack very
little. My son used it for Win right after I installed Slack.

Does anyone have any clue as to how this happened so I can stop it in the
future. Is this a reiserfs problem?

Funny, I wanted to learn more about Linux and now I guess I have figured out my
own problem.

I will reinstall Slackware. probably alone this time.

Thanks for any feedback.
Steve
My real email address is dealsgalore[A-T]earthlink.net

http://www.cheap-land.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 05:32 PM
John Briggs
 
Posts: n/a
Default Re: Bootdisk lost-reformatted

On Thu, 18 Nov 2004 16:34:24 -0700, Steve <THISISAFAKE@ADDRESS.000> wrote:
> Just more info
>
> the error on booting using the CD is:
>
> FAT: bogus logical sector size 50250
> Sh-2021: reiserfs_read_super can not find resierfs on ide(3,2)
> Kernel panic: VFS:Unable to mount root fs on 03:02
>
> I also tried to run cfdisk just to look and it gave an error of:
>
> FATAL ERROR: Bad primary partition 1:logical partitions overlap
> Press any key to exit cfdisk
>
> fdisk reports the partitions as:
>
> dev boot start end blocks id
> /dev/hda1 * 1025 2108 81950040 c W95 FAT32
> /dev/hda2 1356 3938 19527480 83 Linux
> /dev/hda3 3939 3972 257040 82 Linux Swap
>
> It's obvious to me now that somehow a program wrote across the partition onto
> another partition.
>
> I started with Win 98 first then installed Slackware. I have run Slack very
> little. My son used it for Win right after I installed Slack.
>
> Does anyone have any clue as to how this happened so I can stop it in the
> future. Is this a reiserfs problem?
>
> Funny, I wanted to learn more about Linux and now I guess I have figured out my
> own problem.
>
> I will reinstall Slackware. probably alone this time.
>
> Thanks for any feedback.
> Steve
> My real email address is dealsgalore[A-T]earthlink.net
>
> http://www.cheap-land.com


When your son reformatted the hard drive somehow your partitions were
stuffed up. I think it has to do with the LBA that MSWindows uses for
addressing large hard drives.

My suggestions to resolve this problem are:

Check your system BIOS and make sure the hard disk doesn't use LBA.

Run cfdisk again and delete all partitions.
create primary partition 1 as W95 FAT32 and set the bootable flag.
create primary partition 2 as linux
create primary partition 3 as linux swap

print the partition table and ensure there aren't any overlaps between
partitions.

re-install all your software

John
--
Feeling exploited, impoverished or imprisoned??
Knock down the Gates of .... and break free into the "Brave GNU World" of the
"Free Software Foundation".
"Squeak" with delight at pleasure this freedom brings.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 05:36 PM
MikeyD
 
Posts: n/a
Default Re: Bootdisk lost-reformatted

Steve wrote:

> Just more info
>
> the error on booting using the CD is:
>
> FAT: bogus logical sector size 50250
> Sh-2021: reiserfs_read_super can not find resierfs on ide(3,2)
> Kernel panic: VFS:Unable to mount root fs on 03:02
>
> I also tried to run cfdisk just to look and it gave an error of:
>
> FATAL ERROR: Bad primary partition 1:logical partitions overlap
> Press any key to exit cfdisk
>
> fdisk reports the partitions as:
>
> dev boot start end blocks id
> /dev/hda1 * 1025 2108 81950040 c W95 FAT32
> /dev/hda2 1356 3938 19527480 83 Linux
> /dev/hda3 3939 3972 257040 82 Linux Swap
>
> It's obvious to me now that somehow a program wrote across the partition
> onto another partition.
>
> I started with Win 98 first then installed Slackware. I have run Slack
> very little. My son used it for Win right after I installed Slack.
>
> Does anyone have any clue as to how this happened so I can stop it in the
> future. Is this a reiserfs problem?
>

That's not a reiserfs problem, it's a messed-up-disk problem. Make sure you
always use linux fdisk to make linux partitions, and run it before using
dos fdisk to make dos partitions, then make sure the tables in the two
fdisks match. Options like linear and lba32 can help.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:19 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com