All pastes #331174 Raw Edit

Someone

public text v1 · immutable
#331174 ·published 2007-01-28 16:51 UTC
rendered paste body
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               2        2551    20482875    f  W95 Ext'd (LBA)
/dev/hda2            2552        4863    18571140    c  W95 FAT32 (LBA)
/dev/hda3            4864        4864        8032+  1e  Hidden W95 FAT16 (LBA)
/dev/hda5   *           2        2163    17366233+   7  HPFS/NTFS
/dev/hda6   *        2164        2551     3116578+  83  Linux

z0911 ~ # ntfsfix /dev/hda5
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
NTFS volume version is 3.1.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
NTFS partition /dev/hda5 was processed successfully.

z0911 ~ # ntfsmount /dev/hda5 /mnt/test/
Volume is dirty.
Run chkdsk and try again, or use the force option.
Mount failed.

z0911 ~ # ntfsresize --info --force /dev/hda5
ntfsresize v1.13.1 (libntfs 9:0:0)
Device name        : /dev/hda5
NTFS volume version: 3.1
Cluster size       : 4096 bytes
Current volume size: 17783017984 bytes (17784 MB)
Current device size: 17783023104 bytes (17784 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use       : 13197 MB (74,2%)
Collecting resizing constraints ...
You might resize at 13196722176 bytes or 13197 MB (freeing 4587 MB).
Please make a test run using both the -n and -s options before real resizing!

default=1
timeout=6
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title Sabayon Linux x86 3.2
        root (hd0,5)
        kernel /boot/kernel-genkernel-x86-2.6.18-gentoo-r5  root=/dev/ram0 ramdisk=8192 real_root=/dev/hda6  quiet  init=/linuxrc doslowusb splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1
        initrd /boot/initramfs-genkernel-x86-2.6.18-gentoo-r5
title Windows XP
        rootnoverify (hd0,4)
        chainloader +1
z0911 ~ #