Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
Well, this is not good. After running testdisk i must have "deleted" my Freespire partition. Sigh. Under Control Panel, Volume Manager, i only have winxp now (i have a dual ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! frazelle09's Avatar
    Join Date
    Dec 2004
    Location
    Mexicali, Baja California, Mexico
    Posts
    67

    "Deleted"? one of my dual boot partitions!!


    Well, this is not good. After running testdisk i must have "deleted" my Freespire partition. Sigh. Under Control Panel, Volume Manager, i only have winxp now (i have a dual boot sys.). i haven't turned off my computer, thinking that if i do, i will only have access to xp again. i can't figure out how to get testdisk to "recover" the other partition. i wonder if GParted would work... Under Control Center, Partitions, it still shows rootfs, /, reiserfs, 28,050 MB, etc. as well as the /mnt/winxp partition, so i suppose i still "have" my partition, it's just not listed in the Volume Manager. i wonder how i can put it back...

    Have a great afternoon!

    P.S. 1 - Downloaded & installed GParted & ran it. It shows one WinXP partition and another, 27 gig., unallocated, partition. It also gives the 1st Sector of the unallocated partition as well as the last one. Is this sufficient enough info. to reestablish this partition as reiserfs, w/o losing any info.?

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    may fsck help you
    can you read or mount the partition?
    is it listed in /dev
    is it your root partition?

  3. #3
    Just Joined! frazelle09's Avatar
    Join Date
    Dec 2004
    Location
    Mexicali, Baja California, Mexico
    Posts
    67

    Thumbs up

    Dear iwanabeguru. Thanks for replying! In reply to your questions...

    i am not only "reading" the partition, but i am using it to work at this very moment and used it yesterday to send e-mail, work in OpenOffice, print and everything else. i haven't shut down my computer yet for fear of not being able to start it back up. It's still running. It must be Linux!

    Is it listed in /dev? Uh, i have a bunch of items listed in /dev, from .static to zero, many of them folders, so i don't know what else to answer.

    i think it is my root partition although i'm not sure. On this hard disk, i first had WinXP, then used GParted to create a second partition. Then i installed Freespire in the second partition and obtained a dual boot system which has been working just fine. Then, since i'm trying to get away from Win, i decreased the size of the the Win partition, again with Gparted, and allocated it to Freespire. AFter a short while, a month or so, i noticed that i was running out of room on my FreeS. partition and when i did a file check it said that that partition was only 8gig. i have a 40 gig Hd. The last time i did the partition thing, i left Win with 10 gig., so FreeS. should have about 30. When i saw this i started hunting around for how to "fix" it. That was 2 days ago and my computer has been on and working since then.

    i did find a command to run yesterday. Here is the output...

    steve@LaGrandota:~$ /sbin/debugreiserfs /dev/hda2
    debugreiserfs 3.6.19 (2003 www.namesys.com)


    Filesystem state: consistency is not checked after last mounting

    Reiserfs super block in block 16 on 0x302 of format 3.6 with standard journal
    Count of blocks on the device: 7181040
    Number of bitmaps: 220
    Blocksize: 4096
    Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks):529262
    Root block: 2687117
    Filesystem is NOT clean
    Tree height: 5
    Hash function used to sort names: "r5"
    Objectid map size 268, max 972
    Journal parameters:
    Device [0x0]
    Magic [0x565ad97c]
    Size 8193 blocks (including 1 for journal header) (first block 1
    Max transaction length 1024 blocks
    Max batch size 900 blocks
    Max commit age 30
    Blocks reserved by journal: 0
    Fs state field: 0x0:
    sb_version: 2
    inode generation number: 1906117
    UUID: d868fc75-4d7d-442e-89ec-5b57639588a5
    LABEL:
    Set flags in SB:
    ATTRIBUTES CLEAN

    What do you think?

    Have a great day!

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    post the output of 'fdisk -l' and 'df -h' commands.






    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined! frazelle09's Avatar
    Join Date
    Dec 2004
    Location
    Mexicali, Baja California, Mexico
    Posts
    67
    Casper, thanks a lot for answering! Hope you're having a great evening over there!

    Here is the result...

    steve@LaGrandota:~$ fdisk -l

    Disk /dev/hda: 40.0 GB, 40020664320 bytes
    16 heads, 63 sectors/track, 77545 cylinders
    Units = cylinders of 1008 * 512 = 516096 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 20544 10354144+ 7 HPFS/NTFS

    steve@LaGrandota:~$ df -h
    Filesystem Size Used Avail Use% Mounted on
    rootfs 28G 27G 820M 98% /
    /dev/root 28G 27G 820M 98% /
    df: `/dev/.static/dev': Permission denied
    tmpfs 10M 588K 9.5M 6% /dev
    rootfs 28G 27G 820M 98% /
    tmpfs 252M 0 252M 0% /dev/shm

    What does the above mean...? Have a great day!

  7. #6
    Just Joined! frazelle09's Avatar
    Join Date
    Dec 2004
    Location
    Mexicali, Baja California, Mexico
    Posts
    67
    Sorry, it looks like i ran the second command as non-root. Here is the result as root

    steve@LaGrandota:~$ sudo df -h
    Filesystem Size Used Avail Use% Mounted on
    rootfs 28G 27G 820M 98% /
    /dev/root 28G 27G 820M 98% /
    /dev/root 28G 27G 820M 98% /dev/.static/dev
    tmpfs 10M 588K 9.5M 6% /dev
    rootfs 28G 27G 820M 98% /
    tmpfs 252M 0 252M 0% /dev/shm

  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    fdisk is showing only one partition and you are right, on reboot, Linux will be gone.
    i think we can retrieve partition table. post the output of these commands
    Code:
    cat /proc/partitions
    hdparm -g /dev/hda
    hdparm -g /dev/hda1
    hdparm -g /dev/hda2




    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #8
    Just Joined! frazelle09's Avatar
    Join Date
    Dec 2004
    Location
    Mexicali, Baja California, Mexico
    Posts
    67
    Command (m for help): cat /proc/partitions
    DOS Compatibility flag is not set

    Command (m for help): q

    steve@LaGrandota:~$ hdparm -g /dev/hda

    /dev/hda:
    geometry = 65535/16/63, sectors = 78165360, start = 0

    steve@LaGrandota:~$ hdparm -g /dev/hda1

    /dev/hda1:
    geometry = 65535/16/63, sectors = 20707722, start = 63

    steve@LaGrandota:~$ hdparm -g /dev/hda2

    /dev/hda2:
    geometry = 65535/16/63, sectors = 57448440, start = 20707785

    sorry... finally figured out the command for the first command...

    cat /proc/partitions
    major minor #blocks name

    3 0 39082680 hda
    3 1 10353861 hda1
    3 2 28724220 hda2

  10. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Command (m for help): cat /proc/partitions
    DOS Compatibility flag is not set
    did you execute this code within 'fdisk' : prompt?
    execute 'cat /proc/partitions' at teminal/konsole's prompt.





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  11. #10
    Just Joined! frazelle09's Avatar
    Join Date
    Dec 2004
    Location
    Mexicali, Baja California, Mexico
    Posts
    67
    Casper, i believe that that is what i did. In fact i think i opened a new Konsole, did su, password, and then

    cat /proc/partitions, yup, that's what i did. In fact here is the previous line...

    steve@LaGrandota:~$ su
    Password:
    LaGrandota:/home/steve# cat /proc/partitions

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •