How to switch bootlets/bootstream partition

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to switch bootlets/bootstream partition

488 Views
Gatts
Contributor I



As a part of of our remote upgrade procedure,I would like to flash and boot the target from a secondary partition (for ex: /dev/sdb7 instead of /dev/sdb2).
I modified the script to flash the bootlets in secondary partition i.e., /dev/sdb7 but not sure how to boot from the secondary partition.

Please let  me know if you've any pointers?. My fdisk is as follows:



/ltib$ sudo fdisk -lu /dev/sdb

Disk /dev/sdb: 7969 MB, 7969177600 bytes
246 heads, 62 sectors/track, 1020 cylinders, total 15564800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x77826d86

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              62      625331      312635    b  W95 FAT32
/dev/sdb2          625332      838859      106764   83  Linux (changed to linux partition for testing)
/dev/sdb3          838860     1464191      312666   83  Linux
/dev/sdb4         1464192    15557039     7046424    5  Extended
/dev/sdb5         1464254     2089523      312635   af  HFS / HFS+
/dev/sdb6         2089586     2714855      312635    b  W95 FAT32
/dev/sdb7         2714918     2928383      106733   53  OnTrack DM6 Aux3 (New Bootlet partition)
/dev/sdb8         2928446     3553715      312635   83  Linux
/dev/sdb9         3553778     4179047      312635   af  HFS / HFS+
/dev/sdb10        4179110     6238067     1029479   83  Linux
/dev/sdb11        6238130     6665123      213497   83  Linux
/dev/sdb12        6665186    15557039     4445927   83  Linu

0 Kudos
1 Reply

365 Views
YixingKong
Senior Contributor IV

Duplicated DI and is closed.

0 Kudos