LinuxQuestions.org
Review your favorite Linux distribution.
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 12-31-2003, 08:35 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Help with booting and formatting


I installed slack but had to reinstall it because i accidentally deleted the wrong partition, No matter what i do the old lilo keeps booting the old installation with a kernel panic. I already repartitioned and formatted with linux fdisk but it keeps booting the old one. How can i format the drive completely and start from scratch. Ive tried to format with DOS but that does not work either. I know what your thinking, if I formatted it then Nothing should be booting but it is. I dont know what is going on. Its not an old system and the drive is good.
 
Old 12-31-2003, 08:52 PM   #2
kc8tbe
Member
 
Registered: Feb 2003
Location: Cleveland, Ohio (USA)
Distribution: Gentoo, Kubuntu 6.06
Posts: 179

Rep: Reputation: 30
To start completely from scratch (that is, to get rid of LILO and reinstall it from your Slack installation CD), you must wipe the MBR. Fdisk should be able to do this. You can also install a new version of LILO over the old one in the MBR - something the Slackware installation CD could do.

If you successfully deleted your old boot partition, there is no way you can be booting off of it. It is possible that you deleted the original partition, but then created a new partition with the same starting block - in which case the old partition could still be there. Try deleting all partitions and using the Slack isntallation CD to repartition the HD...
OR
...mount the old partition (which we agree shouldn't exist) with a bootdisk and "rm -f all". This should effectively destroy all inodes on the old filesystem and render the partition un-bootable. (if you are anal-retentive, you can use shread)...
OR
Zero the entire hard drive with "dd if=/dev/null of=/dev/hda bs=1024k".

One of these should work. Good luck!
 
Old 12-31-2003, 09:30 PM   #3
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Thanks ill give some of that a try, in the meantime i tried to install Peanut linux which installed fine but when i rebooted it booted just like the slack install did whith the same error so i think i have to wipe out the MBR, I thought i did that in linux fdisk, im sure i did. I dont know why this is still hppening Ill post a follow up. Thanks.
 
Old 12-31-2003, 09:51 PM   #4
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I just did both of what you recomended and Lilo is still booting and I am still getting the the kernel panic message . What else can i do ??
when i did the second thing it said 00 in 00 out. I tried to mount the partition but it dosnt work. I issured the rm command line and it seemed like it worked cuz i got no error message.

Last edited by BajaNick; 12-31-2003 at 09:54 PM.
 
Old 12-31-2003, 10:03 PM   #5
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
boot with a linux cd/floppy and run lilo -u
if that dosen't work, boot with the cd or floppy ond try
dd if=/dev/zero of=/dev/hda1 bs=512 count=1
 
Old 12-31-2003, 10:41 PM   #6
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
UH.... I think i got rid of Lilo but now my system locks up at verifying DMI pool data. UHH.... does this mean my bios is bad? it has never done this before.?? Except when i have the slack boot disk in the drive and i have cdrom boot enabled it will boot from the cd.

Last edited by BajaNick; 12-31-2003 at 10:47 PM.
 
Old 12-31-2003, 11:05 PM   #7
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
let me make sure i understand.

It locks up during the bios boot before it gets to lilo now?
If so try loading failsafe parameters in your bios setup. It should be listed as an option along with save and exit.

With the CD in the drive and Booting from the CD enabled in the bios it does or doesn't boot?
 
Old 12-31-2003, 11:15 PM   #8
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
yes, I did load failsafe bios, It was locking up at bios but that had to have been something with the partitioning, I know what your gonna say it cant but after i issued the command line to blank the disk thats when it did it, then it would only boot from CD. After that I repartitioned and reinstalled Lilo and Slack. Now it boots from the hard drive and slack boots but with a few problems. My mouse dosnt work, got cursor but it dosnt move and when i issue Startx it takes 20 seconds to load KDE. any ideas? Thanks for the help.. everyone.

Last edited by BajaNick; 12-31-2003 at 11:19 PM.
 
Old 12-31-2003, 11:49 PM   #9
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
Quote:
Originally posted by BajaNick
yes, I did load failsafe bios, It was locking up at bios but that had to have been something with the partitioning, I know what your gonna say it cant but after i issued the command line to blank the disk thats when it did it, then it would only boot from CD. After that I repartitioned and reinstalled Lilo and Slack. Now it boots from the hard drive and slack boots but with a few problems.
Must have hosed the partition table beyond recognition glad you got that bit sorted.

Quote:

My mouse dosnt work, got cursor but it dosnt move and when i issue Startx it takes 20 seconds to load KDE. any ideas? Thanks for the help.. everyone.
Make sure the mouse is defined correctly in the /etc/X11/XF86Config. The section for pointing devices is a pretty easy read, all should make sense.

the slow load of X could be mouse related, try to get it working before you go chasing after another problem. Best bet it to read the /var/log/XFree86.log to see if any errors get spit out that are helpful.
 
Old 01-01-2004, 09:29 AM   #10
kc8tbe
Member
 
Registered: Feb 2003
Location: Cleveland, Ohio (USA)
Distribution: Gentoo, Kubuntu 6.06
Posts: 179

Rep: Reputation: 30
If you have gpm installed, you can use it to see if the mouse is working without going into X; this could save time figuring out whether or not there is a problem with the XFree86 config.
OR
Run "cat /dev/psaux" where /dev/psaux is the path to your mouse device. If the mouse works, you should see funny characters on your screen when you move the mouse. If you don't get funny characters, try a different device. Once you have the correct device, you can simlink it to wherever XFree looks for the mouse (i.e. ls -s /dev/wherever/my/mouse/is /dev/psaux) or you can modify the XFree config to point to the correct device.

(Press Ctrl + c to get out of "cat /dev/psaux")

If the mouse works with gpm or cat and XFree has the right device in its config, try changing the protocol from "PS/2" to "IMPS/2", especially if you have a three button scroll mouse.

Good luck!
 
Old 01-01-2004, 11:19 AM   #11
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I changed the mouse in the XF86Config to IMPS/2 and that did not work so i changed it to auto and now the GUI starts up a lot faster but my mouse still does not work, I just checked to make sure its plugged in, LOL Im gonna horse around with XF86Config file some more, yup I just made a backup.
Anyone know how to navigate the menu in KDE with keyboard then all i would have to do is change around the mouse there?
Oh yea one more thing. In my FR86Config my mouse identifier is shown as mouse1 and all the other examples ive seen say mouse0, so i changed it to 0 and X locked up so i changed it back to 1

Last edited by BajaNick; 01-01-2004 at 11:22 AM.
 
Old 01-01-2004, 01:12 PM   #12
kc8tbe
Member
 
Registered: Feb 2003
Location: Cleveland, Ohio (USA)
Distribution: Gentoo, Kubuntu 6.06
Posts: 179

Rep: Reputation: 30
Did you test to see if the mouse works outside of X (i.e. with cat or gpm)?

To navigate KDE menus by keyboard, press Alt+F1

mouse0 is the correct identifier for your mouse. Is a mouse0 defined elsewhere in the X config? It ought not to be defined twice.

I have a Logitech optical USB mouse with a scroll wheel. The appropriate portion of my XF86Conig looks like this:

Code:
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
EndSection
If you don't have a scroll wheel, just leave off the last option (the one with ZAxisMapping).
 
  


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
Formatting??? Tipidy Linux - Software 5 03-21-2005 05:55 PM
booting with windows bootloader after formatting drive? furtivefelon Linux - Newbie 2 02-28-2005 02:59 AM
formatting BrandonTurner Linux - Software 2 04-17-2004 05:57 PM
Formatting ? kaz4u2dig Linux - Newbie 16 02-04-2004 02:00 PM
formatting bnumark Linux - Software 3 07-21-2003 03:24 AM

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

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