You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following markdown comes out borked, specifically the last set of numbered elements which for some reason gets put into HTML syntax:
Here are the steps:
Boot to Ubuntu install CD (I'm on Natty) and choose the option to run Ubuntu now
Go to system -> GParted Partition Editor
Delete the swap partition and the extended partition that holds it (if by some miracle you're able to resize your swap partition from here, I imagine your life will be a lot easier than mine)
Decrease the size of your primary partition by the amount you want your new swap to be (I made mine 2x RAM + 500MB just to be safe). The easiest way to do this is to fill in the amount of space you want swap to be in the "free space following" field
In the free space that has now been created, choose new, type linux-swap and you can name the partition "swap" if you like
Hit the Apply button (should be a check mark) to write the changes to disk
When done, reboot back into Ubuntu
Now you need to find what partition your swap is on and what its UUID is. UUID?! you say? Well that's the Universally Unique IDentifier for the partition so you can reference it even if it's on a different mount point from boot-to-boot due to adding disks, etc. If this is your primary disk, it's probably not a big deal.
Pull up a terminal and run gksu gparted & and enter your root password. The & lets this process run while still giving you access to the command line.
Right-click on your swap partition and choose Information. You should see the Path and UUID listed there. Keep this open for further reference.
Run gksu gedit /etc/fstab & and look for the line that has swap in it. It should be the third column, separated by spaces or tabs. You can either use the path or the UUID to tell Linux where to find your swap partition. I recommend UUID because it'll stay constant even if you move the partition around or the disk somehow becomes sdb instead of sda or something like that. Make the appropriate edits and save the file. Your line should look something like this if you used UUID (with your UUID instead, of course):
or this if you used path: /dev/sda2 none swap sw 0 0
Save and reboot to make sure the new swap gets activated properly at startup
Grab a glass of milk and wait for Ubuntu to come back up... The fun part comes next
Pull up a Terminal again and run cat /proc/swaps and hopefully you see the path to your swap partition listed there. If not chances are something went wrong in the steps above. Here's my output:
Filename Type Size Used Priority
/dev/sda2 partition 2676732 6360 -1
gksu gedit /etc/default/grub & to pull up the boot loader configuration
Look for the line GRUB_CMDLINE_LINUX="" and make sure it looks like this (using your UUID of course) GRUB_CMDLINE_LINUX="resume=UUID=41e86209-3802-424b-9a9d-d7683142dab7" and save the file
sudo update-grub and wait for it to finish
gksu gedit /etc/initramfs-tools/conf.d/resume & and make sure its contents are resume=UUID=41e86209-3802-424b-9a9d-d7683142dab7 (with your UUID of course in place of mine). Save the file!
sudo update-initramfs -u
Reboot!
Now you should be able to hibernate and resume!
The text was updated successfully, but these errors were encountered:
Mediawiki syntax doesn't have good support for arbitrary block-level elements inside list items. So, when the list is complex, with multiple blocks in an item (as in #1 in your last list), we just fall back to raw HTML, which mediawiki allows.
So I don't think this is a bug in pandoc. Perhaps it could be considered a bug in mediawiki syntax, which ought to allow arbitrary block-level elements in a list item, as markdown does.
The following markdown comes out borked, specifically the last set of numbered elements which for some reason gets put into HTML syntax:
Here are the steps:
Now you need to find what partition your swap is on and what its UUID is. UUID?! you say? Well that's the Universally Unique IDentifier for the partition so you can reference it even if it's on a different mount point from boot-to-boot due to adding disks, etc. If this is your primary disk, it's probably not a big deal.
gksu gparted &
and enter your root password. The & lets this process run while still giving you access to the command line.gksu gedit /etc/fstab &
and look for the line that has swap in it. It should be the third column, separated by spaces or tabs. You can either use the path or the UUID to tell Linux where to find your swap partition. I recommend UUID because it'll stay constant even if you move the partition around or the disk somehow becomes sdb instead of sda or something like that. Make the appropriate edits and save the file. Your line should look something like this if you used UUID (with your UUID instead, of course):UUID=41e86209-3802-424b-9a9d-d7683142dab7 none swap sw 0 0
/dev/sda2 none swap sw 0 0
Grab a glass of milk and wait for Ubuntu to come back up... The fun part comes next
Pull up a Terminal again and run
cat /proc/swaps
and hopefully you see the path to your swap partition listed there. If not chances are something went wrong in the steps above. Here's my output:gksu gedit /etc/default/grub &
to pull up the boot loader configurationLook for the line
GRUB_CMDLINE_LINUX=""
and make sure it looks like this (using your UUID of course)GRUB_CMDLINE_LINUX="resume=UUID=41e86209-3802-424b-9a9d-d7683142dab7"
and save the filesudo update-grub
and wait for it to finishgksu gedit /etc/initramfs-tools/conf.d/resume &
and make sure its contents areresume=UUID=41e86209-3802-424b-9a9d-d7683142dab7
(with your UUID of course in place of mine). Save the file!sudo update-initramfs -u
Reboot!
Now you should be able to hibernate and resume!
The text was updated successfully, but these errors were encountered: