LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Change partition list, cant boot, emergency (https://www.linuxquestions.org/questions/linux-general-1/change-partition-list-cant-boot-emergency-75905/)

hydro 07-25-2003 02:39 PM

Change partition list, cant boot, emergency
 
Hello guys

This is the parition table as best as i could remember

hda1 = /boot (1 - 13)
hda3 = swap (2368 - to end)
hda4 = extended (hda5,6) ( 12 - 2367)
hda5 = old redhat aprt (893 - 2367)
hda6 = slackware parition that i use now (14 - 892)

since i dont use redhat i decided to do this.

I removed hda4, which removes 5 and 6

then add hda2 to be the slackware and redhat parition togather(hda5-hda6)

I edit grub to boot from /dev/hda2

Ofcourse I get a whole lotta errors ending in a kernal panic: VFS: unable to mount root fs

How can I fix it?

Should i redo the partition table as it was, format dev/hda5, then readd them?

(EDIT)

I restored it as it was, now can somone tell me what i should do to make slackwar my only partition?

fancypiper 07-25-2003 02:52 PM

Change your profile to show slackware :p

Since you re-arranged the partitions, grub is confused and just needs to be re-installed so that it's probe finds and knows all the current partitions.

Make sure /boot/grub/grub.conf (or menu.lst) is correct, then re-install grub.

Installing a bootloader
Multiboot with GRUB Mini-HOWTO
Linux+Win9x+Grub HOWTO

hydro 07-25-2003 03:06 PM

I know how to config grub

What i dont know it how to combine my old parition to my new one and having my pc work fine

fancypiper 07-25-2003 03:28 PM

# How are the hard drives partitioned
fdisk -l

That would depend on the filesystems you use.

GNU ext2resize

Why not just format the Red Hat partitions and mount them where you want them, maybe make one a /home partition?

Proper Filesystem Layout


All times are GMT -5. The time now is 04:23 AM.