linux mint partition is listed as linux-swap after pclinuxos

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
blitzz66

linux mint partition is listed as linux-swap after pclinuxos

Post by blitzz66 »

i am on a windows 8 computer and had linux mint installed wanted to try pclinuxos the full monty edition well, lucky me, after install grub would not load and found out it is not compatible with efi. so booted up linux mint live cd and looked in gparted to find out which is which and i see that after installing pclinuxos it has listed my linux mint partition as swap confused...... have never seen this and i did not choose it to do that during install. i have tried boot repair with no luck and dont want to do reinstall bcuz i did have so much on my linux mint. even tried reinstalling grub on sda7 which is my linux mint partitiion and it will not. im guessing due to the fact it is listed as swap partition. and also i have looked in file system thru live cd and do have all my files still there dont have a clue how this has happened. any advance would be GREATLY appreciated. here is my record from boot repair if it would help anyone first run before deleting pclinuxos partition http://paste2.org/2764395 and link given after deleting pclinuxos partition http://paste2.org/p/2764460
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
usbtux

Re: linux mint partition is listed as linux-swap after pclin

Post by usbtux »

Do you have grub coming up at boot?

Grub Rescue - reinstall grub.

Boot and run from Live DVD
open a terminal, type these commands

1. sudo os-prober

see a list of OSes first.

here is a possible output:

mint@mint ~ $ sudo os-prober
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sdb1:Linux Mint 13 Maya (13):LinuxMint:linux
/dev/sdd1:Linux Mint Debian Edition (1):LinuxMint1:linux

Obviously yours may differ.

2.

sudo mount /dev/sdb1 /mnt ( mint root)

3.

sudo grub-install --root-directory=/mnt /dev/sda (main disk)


I would suggest you do a complete backup of your home directory.

Also see http://www.cyberciti.biz/faq/linux-find ... ate-fstab/
blitzz66

Re: linux mint partition is listed as linux-swap after pclin

Post by blitzz66 »

thanks and i tried and it gave me this

mint@mint ~ $ sudo os-prober
/dev/sda4:Windows 8 (loader):Windows:chain
/dev/sda5:Windows Recovery Environment (loader):Windows1:chain
mint@mint ~ $ sudo mount /dev/sda7 /mnt
/dev/sda7 looks like swapspace - not mounted
mount: you must specify the filesystem type
mint@mint ~ $ sudo grub-install --root-directory=/mnt /dev/sda7
grub-probe: error: failed to get canonical path of /cow.
Path `/mnt/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
Locked

Return to “Installation & Boot”