Fixing PartitionMagic Error 108


Recommended Posts

Can you boot Linux (from drive or LiveCD) and post the output of a

sudo fdisk -l (that is a lowercase letter "L", not the number one)

If you don't use sudo, then just su to root and do the command without "sudo".

This will provide a detailed list out of your partition information.

 Disk /dev/sda: 80.0 GB, 80026361856 bytes
 255 heads, 63 sectors/track, 9729 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0x005a42a7

	Device Boot	  Start		 End	  Blocks   Id  System
 /dev/sda1   *		   1		7012	56323858+   7  HPFS/NTFS
 /dev/sda2			7181		7377	 1574339   82  Linux swap / Solaris
 /dev/sda3			7377		9729	18900472   83  Linux

You have a strange gap from 7013-7181. That isn't going to be a problem, just difficult to use that space, unless you expand an adjacent partition.

The problem is almost certainly how sda2 uses up to 7377 at the end, and also sda3 uses the same point to start. These partitions cannot share the same data.

Is sda3 readable from within your LiveCD? If so, then the start point for that is probably correct. In that case, delete the sda2 partition, and immediately re-declare it from 7181 to 7376. Keep the 82 type. Reboot, and you should be ok.

P.S. I :heart: the power of *nix commandline

P.P.S. sda2 is swap :pinch: Didn't notice that, oddly enough. It is surely safe to reduce the back end of that by one. (Y)

How do I move the swap partition around? I can't get into PartitionMagic, and my laptop has several problems with Linux CDs (it took me 3 days to get my laptop to recognize the Linux DVD, which is odd because it can read everything else (Windows, DVD Movies, etc.) perfectly).

  markjensen said:
Then how did you boot Linux to get that information? :unsure:

You didn't understand my partition setup...

60 GB NTFS for Windows

18 GB EXT3 for (SuSE 10.3) Linux

2 GB Swap

You see, I have Linux on my computer, it is a dual-boot computer using the Windows NT bootloader.

New Partition Setup...

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x005a42a7

   Device Boot	  Start		 End	  Blocks   Id  System
/dev/sda1   *		   1		7012	56323858+   7  HPFS/NTFS
/dev/sda2			7013		7376	 2923830   82  Linux swap / Solaris
/dev/sda3			7377		9729	18900472   83  Linux

All I was asking is to boot back into the Linux environment you used to get the initial "fdisk -l" info. Then use fdisk to re-create the swap.

It looks like you did that. Does everything work ok? Does PM still report that error now that you corrected your start/end locations? I hope so, because I don't see anything else wrong with that setup.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Because Win7 was beautiful, much faster and more functional than XP. Win10 (glossing over 8 as many do) was slightly faster in some cases, more functional in some cases, but some people such as myself hated how it looked and decided it wasn't worth the upgrade. Some people liked (or were ok with) the look, and thus it is a good upgrade. Win11 is like 10, but is less functional between key features being removed and constant bugs/crashes either due to updates, or just things that were never patched. It literally has nothing going for it, and I use it every day at work so I'm quite familiar with it.
    • I switched my mom from Chrome to Firefox and she had a serious meltdown. She even managed to figure out how to reinstall Chrome, which really surprised me. What finally got her to switch was Chrome no longer being supported on Win7 and me putting a Chrome skin on FF, and setting it up identically.
    • Feels very much like most other gnome based Linux distros. There is minimal amounts that are influenced by Windows 11, maybe just enough to make people who are switching comfortable enough with the idea. As far as I can tell its mainly just turning the 'taskbar' panel as a 100% sized static panel, rather than the default dynamic sized. Turning it from the Mac OS Dock into the Windows taskbar. The Arc Menu - that I assume you're taking not with from the screenshots, is indeed the Windows 11 style one, but it has lots of other options too, from the more traditional gnome, Windows 7 etc. Still free to install what ever Window Manager you want once you're comfortable enough with Linux though.
    • Wow, and here I'm still happily using 1080p...
    • Added an extra filter to Fail2Ban.  I thought about just adding this to my existing aibots filter, but for the time being I'm keeping it separate because it's "possible" real humans may trigger this one so as long as it doesn't start filling my inbox I'd like to get notified about these so I can adjust it as necessary in the future. I'm still holding close to 10k unique IP addresses at any given time that have been banned via the "aibots" filter that looks for certain user agent strings of known AI scrapers.  However, I've been getting an increasing amount of traffic trying to scrape the site with sanitized user agent strings that just look like normal web browsers, however... Because I enabled authentication I can now see that they're racking up lots of 401 (unauthorized) responses in the Apache "access.log" file, but they're not triggering anything in the Apache "error.log" file, which is where failed attempts to log in would appear.  Basically, if an actual human tried to log in with an invalid username and password they don't immediately go into "access.log" as a 401, they go into "error.log" with a status message such as "user FOO not found".  The only way to trigger a 401 simply by visiting the site, as far as I'm aware, is to hit "Cancel" on the login prompt, or otherwise try to access files directly without properly authenticating. So, given the fact I'm getting a few thousand 401 errors a day from sanitized user agent strings that don't show up in "error.log", which means no attempt at logging in properly, I added another jail/filter set to Fail2Ban to immediately ban anybody who triggers a 401.  This feels a bit nuclear so I may need to adjust it in the future, but as far as I'm aware so far no real humans are being inconvenienced so all I'm doing is wasting the time of some AI scraper bots. Example log entry 61.170.149.70 - - [25/Jun/2025:20:01:04 -0400] "GET /content/mdwiki_en_all_maxi_2024-06/A/Neuroregeneration HTTP/1.1" 401 3287 "https://kiwix.marcusadams.me/content/mdwiki_en_all_maxi_2024-06/A/Neuroregeneration" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43" Contents of /etc/fail2ban/filter.d/apache-401repeat.conf #Fail2Ban filter for bots and scrapers that try to access #files directly without entering credentials for apache2-auth #and therefore trigger lots of 401 errors without triggering #the apache-auth jail. # #Marcus Dean Adams [Definition] failregex = ^<HOST> .+\" 401 \d+ .*$ Contents of /etc/fail2ban/jail.d/apache-401repeat.local [apache-401repeat] enabled = true ignoreip = 10.1.1.1 port = 80,443 filter = apache-401repeat maxretry = 1 bantime = 672h findtime = 10m logpath = /var/log/apache2/access.log Oh, and all this traffic is AFTER I explicitly banned Alibaba's IP ranges that were absolutely blowing me up day and night. Observation; two of the IP addresses that have triggered this jail in the 30 or so minutes since I turned it on were owned by Microsoft.  Wonder if they're doing their own AI scraping/probing, or if that's just an Azure VM owned by somebody else.
  • Recent Achievements

    • Rising Star
      Phillip0web went up a rank
      Rising Star
    • One Month Later
      Epaminombas earned a badge
      One Month Later
    • One Year In
      Bert Fershner earned a badge
      One Year In
    • Reacting Well
      ChrisOdinUK earned a badge
      Reacting Well
    • One Year In
      Steviant earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      552
    2. 2
      ATLien_0
      208
    3. 3
      +FloatingFatMan
      175
    4. 4
      Michael Scrip
      151
    5. 5
      Som
      138
  • Tell a friend

    Love Neowin? Tell a friend!