LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-25-2003, 02:39 PM   #1
hydro
Member
 
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82

Rep: Reputation: 15
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?

Last edited by hydro; 07-25-2003 at 02:48 PM.
 
Old 07-25-2003, 02:52 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Change your profile to show slackware

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
 
Old 07-25-2003, 03:06 PM   #3
hydro
Member
 
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82

Original Poster
Rep: Reputation: 15
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
 
Old 07-25-2003, 03:28 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
# 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
 
  


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
Need boot floppy to change active partition Jldindc Linux - Newbie 1 12-13-2004 03:42 PM
emergency, deleted linux partition by mistake snakeo2 Linux - Newbie 11 03-26-2004 06:40 AM
change boot partition Harp00 Linux - Newbie 5 01-28-2004 10:15 AM
SWAP Partition Emergency- Please Help! scottpioso Linux - General 10 05-30-2003 06:55 PM
How do I change the active boot partition Tayste_2000 Linux - Newbie 4 07-06-2002 06:29 PM

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

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