LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2009, 01:41 AM   #1
mah454
Member
 
Registered: Oct 2009
Location: Iran
Distribution: Debian , Ubuntu , RHEL , CentOS , NetBill
Posts: 134

Rep: Reputation: 15
Arrow Partitions List


hi
Please view this list of my partitions .
Code:
Disk /dev/sda: 360.0 GB, 360080695296 bytes
255 heads, 63 sectors/track, 43777 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb74eb74e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3951    31736376    7  HPFS/NTFS
/dev/sda2            3952       43777   319901935+   f  W95 Ext'd (LBA)
/dev/sda5            3952       14150    81920000    7  HPFS/NTFS
/dev/sda6           14150       24593    83886409    7  HPFS/NTFS
/dev/sda7           24594       34792    81923436    7  HPFS/NTFS
/dev/sda8           34793       34805      104388   83  Linux
/dev/sda9           34806       35187     3068372   82  Linux swap / Solaris
/dev/sda10          35188       36717    12289692   83  Linux
/dev/sda11          36718       43142    51608780   83  Linux
I used Gparted live cd and delete sda7 ,after restar change my partition list :

Code:
Disk /dev/sda: 360.0 GB, 360080695296 bytes
255 heads, 63 sectors/track, 43777 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb74eb74e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3951    31736376    7  HPFS/NTFS
/dev/sda2            3952       43777   319901935+   f  W95 Ext'd (LBA)
/dev/sda5            3952       14150    81920000    7  HPFS/NTFS
/dev/sda6           14150       24593    83886409    7  HPFS/NTFS
/dev/sda7           34793       34805      104388   83  Linux
/dev/sda8           34806       35187     3068372   82  Linux swap / Solaris
/dev/sda9          35188       36717    12289692   83  Linux
/dev/sda10          36718       43142    51608780   83  Linux
Now , I have free space (non partitioning) between sda6 and sda7.
Ok , now Partitioning this free space and restart my computer .

Code:
Disk /dev/sda: 360.0 GB, 360080695296 bytes
255 heads, 63 sectors/track, 43777 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb74eb74e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3951    31736376    7  HPFS/NTFS
/dev/sda2            3952       43777   319901935+   f  W95 Ext'd (LBA)
/dev/sda5            3952       14150    81920000    7  HPFS/NTFS
/dev/sda6           14150       24593    83886409    7  HPFS/NTFS
/dev/sda11           24594       34792    81923436    7  HPFS/NTFS
/dev/sda7           34793       34805      104388   83  Linux
/dev/sda8           34806       35187     3068372   82  Linux swap / Solaris
/dev/sda9          35188       36717    12289692   83  Linux
/dev/sda10          36718       43142    51608780   83  Linux
Please view first and last lists .
My Partition list is changed .
who i can while back to first list ?
 
Old 10-26-2009, 06:50 AM   #2
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Hi. Welcome to LQ forums.

I am not aware of any way to do that.

I would suggest just changing data in /etc/fstab to reflect your recent changes.

Also, you can read this text.
 
Old 10-26-2009, 07:39 AM   #3
mah454
Member
 
Registered: Oct 2009
Location: Iran
Distribution: Debian , Ubuntu , RHEL , CentOS , NetBill
Posts: 134

Original Poster
Rep: Reputation: 15
this mean is noting way !
 
Old 10-28-2009, 07:05 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The answer from DrLove73 is correct.

If you make changes with a non last partition,
the numbering changes.

If you want it back : then delete 11, 7, 8, 9, 10.
But you will loose what's on those partitions.
.....
 
Old 10-28-2009, 10:32 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I am not sure what exactly do you want to do.

If you want to go back to the previous state just delete the partition you just created. Then explain exactly what do you want to do with that free space.
 
Old 10-29-2009, 03:56 AM   #6
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
He wanted his partitions numbering exactly the way they were, since seams that after Live CD's Gparted all partition numbers changed their numbering.
 
Old 10-29-2009, 06:13 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I still can't understand. That's not the way I see it.

All the partitions that existed previously to the creation of the new one have their numbers intact. The last partition, that's the one he created between sda6 and sda7 has the higher number, the rest of the partitions have been untouched, what's the problem?

To word it another way: all the partitions have exactly the same name they had before, just look at the lists. And the new one have been assigned the next available name (sda11). So, what is what you think that changed? I can't see anything that changed. If you look at the starting points of each partition in both lists, you will see that all the partitions that existed before do exist now and they have the same exact name. That's not my definition of change. If sda11 had been given the name of sda7 shifting the rest of partitions to the right, now that would have been "change" for me.

If you ask me, this does no harm, and it helps because you don't have to re-arrange your fstab, or even your grub or lilo config files, depending on your layout.
 
Old 10-29-2009, 09:14 AM   #8
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Look at the first and second lists, or first and third, not second and third!

Before deletetion of NTFS partition:
Quote:
/dev/sda8 34793 34805 104388 83 Linux
After the deletion of partition:
Quote:
/dev/sda7 34793 34805 104388 83 Linux
Do you see it now? Same partition (start and end are same), different device number, from sda8 to sda7.

And all partitions after that changed numbers also.
 
Old 10-29-2009, 09:57 AM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I see now. You can give testdisk a try. I know it can fix some issues with partitions. I am not sure it can fix this one though, but it might worth a try.
 
Old 10-30-2009, 04:16 AM   #10
mah454
Member
 
Registered: Oct 2009
Location: Iran
Distribution: Debian , Ubuntu , RHEL , CentOS , NetBill
Posts: 134

Original Poster
Rep: Reputation: 15
Thank you for answering my question ...
This not effective for change number of sdaX !
 
  


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
Kate: Append files to existing list and enable the Recent List AGazzaz Linux - Software 2 10-13-2009 08:27 PM
List of visible partitions on desktop / gnome-volume-manager afuerst Linux - Desktop 3 02-06-2009 04:45 PM
Fdisk -l dosen't list partitions zael Linux - General 2 01-18-2006 07:39 AM
C : get drive/partitions list cantabile Programming 3 06-13-2005 09:57 AM
Ubuntu partitioner doesnt list all partitions ziphnor Ubuntu 1 04-14-2005 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:58 AM.

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
Open Source Consulting | Domain Registration