Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just made the following changes to my system:
Shrank Root FS
deleted swap
made extended partition
created new swap in extended partition
copied root to extended
(so at the moment, I have 2 identical root partitions, though one is larger)
/boot is ext2 and root is reiser.
I changed /boot/grub/menu.lst... I updated the "root=" part to reflect the new partitions... I have an entry for the old root partition and one for the new root partition.
Problem is, when I try to boot either of them, I get a kernel panic. here's the error:
...and that's all I get . I went into /etc/fstab and updated the swap and root locations there too. I don't know what else to do. It seems like it should work, but it doesn't.
Does anyone have any clue what's going on?
Thank you so much for your help.
EDIT: I disabled quiet, and here's the relevant part:
Begin: Running /scripts/local-premount ...
[17179575.548000] Attempting manual resume
[17179575.548000] attempt to access beyond end of device
[17179575.548000] hda3: rw=16, want=8, limit=2
[17179575.548000] Kernel panic - not syncing: I/O error reading memory image
hda3 used to be my swap partition, but now it's an extended partition.
What the heck....
Last edited by GoldenPenguin; 08-31-2006 at 06:55 PM.
You have to edit /etc/fstab to coincide with your new partition layout. In particular, check the entry in fstab for your swap and root partitions. A livecd like knoppix or kannotix comes in handy for these types of problems.
Yes, the fs-type for swap is "linux-swap". I have the gparted liveCD open in front of me on my laptop (the broken computer )
I've got:
/dev/hda5 none swap sw 0 0
/dev/hda4 / reiserfs defaults,noatime,data=writeback 0 1
(ommitting irrelevant info of course)
probably important to not that hda3 is not mentioned in either fstab or menu.lst, although logical partitions contained in it are (new root (hda6) and swap (hda5))
...both of which are the correct locations.
(in my other (new) copy, switch out hda4 for hda6 and it's identical)
Okay, forget everything I've said. I dug up my initrd and unzipped it.
I ran "strings | grep hda3" and it turned up: "RESUME=/dev/hda3".
...so... how do I change this? I guess I could just mount it, change that to hda5, then rezip and replace, right?
I'll give it a shot , it's not like I can screw it up more.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.