Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 22
Originally Posted by vickey_20 ok post the o/p of fdisk -l from the external HDD. Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Jul 2009
    Posts
    13

    Quote Originally Posted by vickey_20 View Post
    ok post the o/p of fdisk -l from the external HDD.
    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x9ee3248a

    Device Boot Start End Blocks Id System
    /dev/sda1 1 1448 11631028+ 7 HPFS/NTFS
    /dev/sda2 * 1449 38913 300937612+ 7 HPFS/NTFS

    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xe5c8984b

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 58345 468656181 7 HPFS/NTFS
    /dev/sdb2 58346 60621 18281968 83 Linux
    /dev/sdb3 60622 60801 1445850 82 Linux swap / Solaris






    Please note that this is after I used partition table doctor to gain access to my external. I couldn't boot off of the external after the fix, so this was data was gathered with the backtrack 4 livecd. If you need me to, I can set things back up as they were before.

  2. #12
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    Try putting grub on the external using
    Code:
    sudo grub
    root (hd1,1)
    setup (hd1)
    quit
    When you restart the system can you still access data partition from Vista? can you boot Linux ... if not then post error message you get.

  3. #13
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    Quote Originally Posted by McPhale View Post
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xe5c8984b

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 58345 468656181 7 HPFS/NTFS
    /dev/sdb2 58346 60621 18281968 83 Linux
    /dev/sdb3 60622 60801 1445850 82 Linux swap / Solaris
    Ok here is the solution to get the grub working again on the external HDD ( Which I suppose here is the sdb)
    Follow these instructions:
    1)Boot from ubuntu live cd or the one you have . I think both will be similar so it doesn't matter which one you boot from.
    Make a directory to mount the Linux system.
    Code:
    mkdir /ubuntu
    now mount it
    Code:
    mount /dev/sdb2 /ubuntu
    2) Let install the grub back again on to the HDD
    Code:
    sudo grub-install --root-directory=/ubuntu /dev/sdb
    now you are done , reboot the system and take out the live cd. Post any problems you encounter.
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  4. $spacer_open
    $spacer_close
  5. #14
    Just Joined!
    Join Date
    Jul 2009
    Posts
    13
    I will attempt to do this today; however I will be on vacation for about a week so I may not have time to do it till after; I definitely won't have internet access. I'll try and get this done today; I'll certainly have time after vacation.

  6. #15
    Just Joined!
    Join Date
    Jul 2009
    Posts
    13
    Quote Originally Posted by vickey_20 View Post
    2) Let install the grub back again on to the HDD
    Code:
    sudo grub-install --root-directory=/ubuntu /dev/sdb
    now you are done , reboot the system and take out the live cd. Post any problems you encounter.
    At this step I get the error:

    "/dev/sdb does not have any corresponding BIOS drive".

  7. #16
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    Try the code I gave in post #12 ... does the system boot? did you get any errors?

  8. #17
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    your external dirve is sdb (500 gb)???
    Did you get any error before that.
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  9. #18
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    also you need to be root while exectuting the commands metioned above.
    You can become root by
    sudo -i
    command
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  10. #19
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    Everything seems to work fine at first; I am able to boot into backtrack from the external, and boot into vista from my internal drive.
    Are you using GRUB to select which OS to boot,
    or are you selecting this in the BIOS?

  11. #20
    Just Joined!
    Join Date
    Jul 2009
    Posts
    13
    Quote Originally Posted by rcgreen View Post
    Are you using GRUB to select which OS to boot,
    or are you selecting this in the BIOS?
    Grub is installed to the external, so when the external is connected and on at startup, I'm using grub.

Page 2 of 3 FirstFirst 1 2 3 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
  •