rockybalboa Posted June 28, 2004 Report Share Posted June 28, 2004 (edited) I decided to move my swap partition to my other hard drive using MDK Control Center utility. All seemed to go well until I rebooted (isn't it always like this?) Anyway, MDK won't boot. First the pertinent specs: Abit KT7-A MoBo- RAID controller cannot be disabled, but I have it set as pass through (No RAID) 2x Western Digital 80G HDD hda - Master IDE1-boot sector (using LILO) Win XP setup multiple partitions. Moved swap to hda5 hdb - Master IDE2- MDK10 running /root, /boot, /home, (was) /swap, /tmp, /FAT32 Trying to reboot gives the following errors; resuming from /dev/hdb9 Resuming from device hdb9 Kernel panic: Resume: Unable to find suspended-data signature (-mispelled? Tried booting failsafe mode and all other options, all modes give the above errors. I doubt this is broken hardware. I haven't been having any problems until now so I'm guessing it's all due to the swap moving thing. I booted install disk to repair (recover?) and can't make allot out of the options offered. HEEEEELLLLLPPPPPP! I just got this thing all put together the way I liked it and now I do a bonehead and can't start it. Thanks for all the advice past and future DW Edited June 30, 2004 by rockybalboa Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted June 28, 2004 Report Share Posted June 28, 2004 Insert the Installation CD1 in the drive and reboot. At the prompt, type: rescue and hit enter. Choose 'Mount my partitions under /mnt', then choose 'Go to console'. Type chroot /mnt and hit enter. Then type vim /etc/lilo.conf Hit 'i' to enter insert mode and find all your 'append' lines that have resume=/dev/hdb9 in them and change that to resume=/dev/hda5 Then hit 'Esc' and type :wq Then type lilo -v reboot That should do it. Quote Link to comment Share on other sites More sharing options...
rockybalboa Posted June 28, 2004 Author Report Share Posted June 28, 2004 Well as far as I can tell, it looks as if I failed to create a new swap partition. Watching the console output during the mount process, all the partitions show up except the swap I thought I had created. I tried them all anyway and kept getting the same error (showing the new partiton assignment of course) Is it possible to create a new swap from the rescue console? The rest seems to be intact. chroot mnt found the /root partition during the mnt process and I'm currently in Windex, LILO booted to it as default. So either I create a new swap or I may be reloading MDK (that would suck bad). Any way, Steve, your advice was right on the money and I thank you for the help. I'm hoping you'll tell me there is a way to create the swap. In the meantime I'm going internet trolling, I can't imagine I'm the only idiot that ever deleted his swap partition. Thanks DW Quote Link to comment Share on other sites More sharing options...
rockybalboa Posted June 28, 2004 Author Report Share Posted June 28, 2004 After looking around it looks as though I need to figure out how to resize a partition in the rescue console too. After I get the thing running again I can search for the free space I "thought" I had provided for the swap. Am I right on this, or can I find free space from the console? DW Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted June 28, 2004 Report Share Posted June 28, 2004 (edited) I *think* you can boot to your linux by hitting Esc at the lilo prompt and typing linux resume=off Edited June 28, 2004 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
rockybalboa Posted June 28, 2004 Author Report Share Posted June 28, 2004 I'm hoping you mean the lilo prompt in the rescue console. That's the only way I've been able to get to it. I'll give it a try and report back. DW Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted June 28, 2004 Report Share Posted June 28, 2004 No, I'm sure you get to the lilo screen without the rescue mode, where you choose which OS you want to boot to. Hit 'Esc' there and type linux resume=off Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted June 29, 2004 Report Share Posted June 29, 2004 I think the command is linux noresume But you very well could be right Steve, I'm not sure. Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted June 29, 2004 Report Share Posted June 29, 2004 Haven't got MEPIS yet, have ya?! MEPIS gives you full function in a gui, which I am sure you would appreciate! B) Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted June 29, 2004 Report Share Posted June 29, 2004 Wait, you could be right, LZ. Quote Link to comment Share on other sites More sharing options...
rockybalboa Posted June 29, 2004 Author Report Share Posted June 29, 2004 OH OH, I'm in deep now. You were both right, either command allows me to boot MDK fully. Now the problem with the hard disks is worse. I think I'm showing partitions that are not there or some aren't getting recognized or something. My initial thought was right, I had created a swap partition but had failed to format and mount it. I did so right after getting MDK started. DiskDrake or whatever it is won't mount my floppy so I created a backup of my partition table (corrupted by now?) and pushed it over to my WinDrive on IDE1. I also coppied the fstab and other info. I'm right back to the original error. However; when I go to the DiskDrake hdg9 doesn't even show up, all I see are hdg1,5,7,6,8. I mounted the swap file(on hde) and when I went to exit the utility said it was going to write partition table of hdg. So I canceled it, half of hdg is a 40 GB FAT32 partition full (27GB) of irreplacable music files. Now I'm afraid to even reboot the damn thing. The following are copies of my fstab and lilo.conf /dev/hdg1 / ext3 defaults 1 1 /dev/hdg5 /boot ext3 defaults 1 2 none /dev/pts devpts mode=0620 0 0 /dev/hdg7 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0022,iocharset=iso8859-1,sync,codepage=850 0 0 /dev/hde1 /mnt/win_c vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hde5 /mnt/win_d vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hde6 /mnt/win_e vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hde7 /mnt/win_f vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hde8 /mnt/win_g vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hde9 /mnt/win_h vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hde10 /mnt/win_i vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hdg8 /mnt/windows vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 none /proc proc defaults 0 0 /dev/hdg6 /usr ext3 defaults 1 2 /dev/hdg9 /var ext3 defaults 1 2 # File generated by DrakX/drakboot # WARNING: do not forget to run lilo after modifying this file boot=/dev/hde map=/boot/map default="windows" keytable=/boot/us.klt prompt nowarn timeout=300 message=/boot/message menu-scheme=wb:bw:wb:bw disk=/dev/hde bios=0x80 disk=/dev/hdg bios=0x81 image=/boot/vmlinuz label="linux" root=/dev/hdg1 initrd=/boot/initrd.img append="devfs=mount acpi=ht resume=/dev/hdg9 splash=silent" vga=788 read-only image=/boot/vmlinuz-2.6.3-7mdk label="263-7" root=/dev/hdg1 initrd=/boot/initrd-2.6.3-7mdk.img append="devfs=mount acpi=ht resume=/dev/hdg9 splash=silent" read-only image=/boot/vmlinuz label="failsafe" root=/dev/hdg1 initrd=/boot/initrd.img append="failsafe acpi=ht resume=/dev/hdg9 devfs=nomount" read-only other=/dev/hde1 label="windows" table=/dev/hde image=/boot/vmlinuz-2.6.3-13mdk label="263-13" root=/dev/hdg1 initrd=/boot/initrd-2.6.3-13mdk.img append="devfs=mount acpi=ht resume=/dev/hdg5 splash=silent" vga=788 read-only I also ran the out puts of fdisk -l for each drive First one hde (IDE1 Master) Disk /dev/hde: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hde1 * 1 893 7172991 b W95 FAT32 /dev/hde2 894 9729 70975170 f W95 Ext'd (LBA) /dev/hde5 894 1914 8201151 b W95 FAT32 /dev/hde6 1915 3291 11060721 b W95 FAT32 /dev/hde7 3292 4668 11060721 b W95 FAT32 /dev/hde8 4669 6843 17470656 b W95 FAT32 /dev/hde 6976 8352 11060721 b W95 FAT32 /dev/hde10 8353 9729 11060721 b W95 FAT32 /dev/hde11 6844 6941 787153 82 Linux Swap Second one (IDE2 Master) Disk /dev/hde: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdg1 * 1 254 2040223+ 83 Linux /dev/hdg2 255 9602 75087810 5 Extended /dev/hdg5 255 266 96358+ 83 Linux /dev/hdg6 267 1641 11044656 83 Linux /dev/hdg7 1642 4336 21647556 83 Linux /dev/hdg8 4451 9602 41383408+ b W95 FAT32 /dev/hdg9 4337 4450 915673+ 83 Linux I am at a loss. Before I shut down I am going to try to figure out how to move 27GB of stuff off the Win32 partition on hdg. After that I'll reboot, with no idea what to expect. Any more ideas? I could use them and a stiff scotch. Thanks guys, DW Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted June 29, 2004 Report Share Posted June 29, 2004 First off, where is your swap actually mounted? In your lilo.conf file it's listed as /dev/hdg9, but in your fdisk -l it's /dev/hde11 Which is it actually? I'll assume /dev/hde11, and /dev/hdg9 was the old swap First, as root at the command line: swapoff /dev/hdg9 assuming that returns no errors, add this line to the bottom of your fstab: /dev/hde11 swap swap defaults 0 0 Then issue this command: swapon /dev/hde11 Change all occurrances of resume=/dev/hdg9 to resume=/dev/hde11 in your /etc/lilo.conf file. Re-run lilo (to make sure the changes are saved) and reboot. Everything should work just fine Quote Link to comment Share on other sites More sharing options...
rockybalboa Posted June 29, 2004 Author Report Share Posted June 29, 2004 OK I understand how to execute the instructions. But the GUI DiskDrake says that hdg9 is currently the /var partition. When I try to unmount it I get an error that says the partition is currently busy. Does /var have to have it's own partition or can it share. If it can share can I just delete it or do I have to move it. Do I need to learn how to force umount for it? Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted June 29, 2004 Report Share Posted June 29, 2004 Try the commands without unmounting the partition If that doesn't work, yes, /var can share a partition, however you have to back up and move the partition in order to fix your issue. Did you just create this partition? If you have to unmount it, try umount /dev/hdg9 instead of by name. It's possible that you have /var in 2 different places now. Quote Link to comment Share on other sites More sharing options...
rockybalboa Posted June 29, 2004 Author Report Share Posted June 29, 2004 Back I did as you said. At swapoff /dev/hdg9 I got "invalid argument" I assumed you meant append in stead of resume at resume=/dev/hde11 Because I had no resume entries. Any way I can now get all options in my Lilo.conf to boot "except the -13 kernel" I gives me resuming from /dev/hdg9 Resuming from device hdg9 Kernel panic: Resume:Unable to find suspended-data signature (-misspelled? Not sure what else to do. It looks as if all the partitions are still good. Is this possible a LILO problem? If so can I install GRUB with the current state of affairs? I'm confused! Here are my new LILO.conf and fstab in case they will help. /dev/hdg1 / ext3 defaults 1 1 /dev/hdg5 /boot ext3 defaults 1 2 none /dev/pts devpts mode=0620 0 0 /dev/hdg7 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0022,iocharset=iso8859-1,sync,codepage=850 0 0 /dev/hde1 /mnt/win_c vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hde5 /mnt/win_d vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hde6 /mnt/win_e vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hde7 /mnt/win_f vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hde8 /mnt/win_g vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hde9 /mnt/win_h vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hde10 /mnt/win_i vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 /dev/hdg8 /mnt/windows vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0 none /proc proc defaults 0 0 /dev/hdg6 /usr ext3 defaults 1 2 /dev/hdg9 /var ext3 defaults 1 2 /dev/hde11 swap swap defaults 0 0 # File generated by DrakX/drakboot # WARNING: do not forget to run lilo after modifying this file boot=/dev/hde map=/boot/map default="windows" keytable=/boot/us.klt prompt nowarn timeout=300 message=/boot/message menu-scheme=wb:bw:wb:bw disk=/dev/hde bios=0x80 disk=/dev/hdg bios=0x81 image=/boot/vmlinuz label="linux" root=/dev/hdg1 initrd=/boot/initrd.img append="devfs=mount acpi=ht resume=/dev/hde11 splash=silent" vga=788 read-only image=/boot/vmlinuz-2.6.3-7mdk label="263-7" root=/dev/hdg1 initrd=/boot/initrd-2.6.3-7mdk.img append="devfs=mount acpi=ht resume=/dev/hde11 splash=silent" read-only image=/boot/vmlinuz label="failsafe" root=/dev/hdg1 initrd=/boot/initrd.img append="failsafe acpi=ht resume=/dev/hde11 devfs=nomount" read-only other=/dev/hde1 label="windows" table=/dev/hde image=/boot/vmlinuz-2.6.3-13mdk label="263-13" root=/dev/hdg1 initrd=/boot/initrd-2.6.3-13mdk.img append="devfs=mount acpi=ht resume=/dev/hdg11 splash=silent" vga=788 read-only Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.