[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Can't boot to hard drive after partitioning

Posted on 1997-01-09
1
Medium Priority
?
309 Views
Last Modified: 2013-12-15
Recently I used the Quarterdeck product PARTITION-IT to resize some of the DOS partitions on the hard disk of my computer (Pentium 100). In the process I moved (but not resized) the Linux active partition and the Linux swap partition. Subsequently the LILO boot loader went into panic mode.

I was able to use the Slackware boot/root floppies to mount the active partition (hda3) and it seems intact. Therefore I concluded that I would have to reinstall LILO from the hard disk, which I was able to do with the command

      lilo -r /mnt

which changes root to /mnt (where I had mounted /dev/hda3)
prior to installing LILO. This seemed to work, however I still get kernel panic when I try to boot from the hard disk.

Someone has suggested that I should use Linux <fdisk> to
reset the Linux partitions, however I understand this is a data-destructive process, to be used as a last resort only.

Can someone advise me how to retrieve the situation? More generally, what are the do's and don'ts of trying to use a DOS-based partition utility when Linux partitions are present? I should mention that LILO is using the MBR to boot to Linux/DOS,

Thanks for any help you can provide....

Roger Young,
roger@maths.grace.cri.nz
0
Comment
Question by:roger010997
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
markg2 earned 200 total points
ID: 1626848
Linux Fdisk is not necessarily data destructive.  It seems that your partition type may have been altered by the DOS utility (either at the partition or the master boot record of the drive).  Try resetting your partition type in the Linux fdisk to 'boot', this *should* fix your problem and *should not* be data destructive, and if you get the urge to move partitions around again, try a utility called FIPS (avail with redhat linux releases), it is 'Linux aware'.  
Note: You may want to fdisk your Master Boot Record from DOS before this procedure (at DOS prompt: fdisk /mbr - this is non-destructive), and then re-install LILO *after* doing the Linux fdisk.

Good Luck. (and be sure to back up your data, just to be safe!)
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question