LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-05-2012, 09:22 AM   #1
ut0ugh1
Member
 
Registered: Oct 2011
Posts: 59

Rep: Reputation: Disabled
HDD problem after redimensioning e moving partion


Code:
Disk /dev/sdb: 500.1 GB, 500107837440 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1945    15622144   83  Linux
/dev/sdb2            1946        3167     9806848    c  W95 FAT32 (LBA)
/dev/sdb3            3167        7883    37888000    c  W95 FAT32 (LBA)
/dev/sdb4            7884       60802   425071867+   f  W95 Ext'd (LBA)
/dev/sdb5            7884       32992   201687040   83  Linux
/dev/sdb6           34694       47747   104856252   83  Linux
/dev/sdb7           47748       60801   104856252   83  Linux
After deleting a linux partition and after attempted resing/moving of another one I cannot start any of the linux distro on usb hdd. gparted says that all 500gb is unallocated, but i can see the content of all the partition except for the single one I was moving.
Can somebody help me? pls thx
 
Old 11-06-2012, 10:16 AM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,825

Rep: Reputation: 221Reputation: 221Reputation: 221
Things to check.

Did you overwrite the MBR?
Did you change the location of grubs files?
Does grub point to the partition that you deleted?
Did you delete grub?
Did you move / to another partition?

You'll have to have a good MBR, looks for grub, grub points to /, fstab points to correct partitions etc.
 
Old 11-06-2012, 11:33 AM   #3
ut0ugh1
Member
 
Registered: Oct 2011
Posts: 59

Original Poster
Rep: Reputation: Disabled
how? newbie sorry
gparted that all usb hdd is full unallocated.
but i can copy to fat32 and ntfs partition on it.
the only ext4 partition that is unmontable is the one I was moving. the other 2 are readable and I am backing up to anoter usbhdd though tar.

Last edited by ut0ugh1; 11-06-2012 at 12:06 PM.
 
Old 11-06-2012, 04:09 PM   #4
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,825

Rep: Reputation: 221Reputation: 221Reputation: 221
I don't know what you altered.
Quote:
I cannot start any of the linux distro on usb hdd
What error message do you get when you try? A kernel panic? A No operating system found?
Can not find root? And your BIOS is set to boot from USB right?
Quote:
but i can see the content of all the partition except for the single one I was moving
How can you see them? What did you use to get that info? Provide more info like what flavor of Linux, what partition was grub stage 1 on? /dev/sdb1?
Quote:
/dev/sdb4 7884 60802 425071867+ f W95 Ext'd (LBA)
/dev/sdb5 7884 32992 201687040 83 Linux
/dev/sdb6 34694 47747 104856252 83 Linux
/dev/sdb7 47748 60801 104856252 83 Linux
Then you had Linux on 3 logical partitions?

If you've trashed grub then read about grub reinstall for your distro. I don't know if you had legacy grub or grub2.
Code:
grub --version
 
Old 11-07-2012, 05:23 AM   #5
ut0ugh1
Member
 
Registered: Oct 2011
Posts: 59

Original Poster
Rep: Reputation: Disabled
that was more or less the hdd situation before any move/resize.

/dev/sdb1 15 GB ubuntu 10.04 based primary
extended partition with logical /dev/sdb3
/dev/sdb5 10 GB more or less fat32 (no os) 9806848 c W95 FAT32 (LBA)
/dev/sdb6 30 GB more or less ntsf partition (no os)
/dev/sdb7 207 GB ext4 ubuntu 10.04
/dev/sdb8 15 GB more or less ext2 linpus (fedora 8 based)
/dev/sdc2 107 GB more or less ext4 ubutnu 12.04 upgrade from 10.04 boot primary (grub2
/dev/sdc3 107 GB more or less ext4 unused ext 4 primary
during the erase of sdb8 and the addiction of its room to sdb7 all process went wrong. after reboot of gparted live cd no space was allocated and no partitions was mountable, at the reboot it appears on screen grub rescue so i used teskdisk to try to get a file table (fat) and I wrote to the disk. so at the reboot no boot was possible at all, but i could see
the disk as follow:
Code:
Disk /dev/sdb: 500.1 GB, 500107837440 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1945    15622144   83  Linux
/dev/sdb2            1946        3167     9806848    c  W95 FAT32 (LBA)
/dev/sdb3            3167        7883    37888000    c  W95 FAT32 (LBA)
/dev/sdb4            7884       60802   425071867+   f  W95 Ext'd (LBA)
/dev/sdb5            7884       32992   201687040   83  Linux
/dev/sdb6           34694       47747   104856252   83  Linux
/dev/sdb7           47748       60801   104856252   83  Linux
, i can mount/read/write sdb1, sdb2 (fat32), sdb3 (ntfs), sdb6 (ext4), sdb7 (ext4): this 2 latest have the same content ubuntu 12.04.
tell me what i can do from gparted live to solve.thx

Last edited by ut0ugh1; 11-07-2012 at 05:25 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
partion hdd for slackware openation1 Slackware 4 02-03-2012 06:23 PM
problem mounting a linux partion from another ext3 partion fkeith Linux - Hardware 1 10-14-2007 08:33 PM
Moving root from a dual-boot HDD to a new HDD Androoski SUSE / openSUSE 1 05-13-2005 11:34 PM
Bootable partion on external HDD? 40 gb firelight hdd. Trebile34 Linux - Hardware 1 03-14-2005 12:50 PM
How to make mirror image of linux partion to one1 HDD TO 2 HDD raj_1 Linux - General 2 11-04-2004 02:45 AM


All times are GMT -5. The time now is 11:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration