Hi kind people
I have a new dell ultrabook xps13 with ubuntu. I would like to remove the "dellutility" and "os" labelled partitions to reinstall ubuntu to the full disk.
But I'd like to keep the ability to run the dell diags, so I had the idea to move them to a usb stick.
I already did a full image with the supplied dell-recovery media creator.
Then I tried to do the stick with Clonezilla.
First time it did not allow to clone the "os" partition to a new one (it just proposed to clone onto the sdb1 it created on the previous step - cloning "dellutility" - you guessed right: I feel forever newb in these matters).
So I went back in ubuntu and I partitionned the stick so that it has 2 partitions with same sizes labels and flags they have on the source SSD.
I reached to do it all but the type of the "dellutility" partition which is 0xDE on the SSD and (g)parted will make it 0x12.
Then I could clone both partitions but I could not boot the stick, even replacing the diag flag by the boot one. I just get a "No operating system" or a simple black screen.
Any advise please if possible?
Thank you
PS: I remember: first trial was with dd if=/dev/sda1 of=/dev/sdb1
Maybe I added a flag boot and/or diag
On boot I got a message: Can't load DRMK...
Here is the current fdisk -l:
Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Unities = sectors of 1 * 512 = 512 bytes
Sector size (logical / physical) : 512 bytes / 512 bytes
I/O size (minimal / optimal) : 512 bytes / 512 bytes
Disk Identifier : 0xb1322cdd
Device Boot Begin End Blocks Id System
/dev/sda1 2048 616447 307200 de Dell Utility
/dev/sda2 616448 6907903 3145728 c W95 FAT32 (LBA)
/dev/sda3 * 6907904 468371455 230731776 83 Linux
/dev/sda4 468373502 500117503 15872001 5 Extended
/dev/sda5 468373504 500117503 15872000 82 Linux swap / Solaris
Device Boot Begin End Blocks Id System
/dev/sdb1 2048 616447 307200 12 Compaq diagnostics
/dev/sdb2 616448 6907903 3145728 c W95 FAT32 (LBA)
[EDIT] more info:
When running the Pre Boot diags, they run in a Win9x/Me like window. I did not reached to intercept some autoexec.bat/config.sys menu prompt with F5/F8 (oooch... old memory), but the window shows in bottom right an info about diags tool release: Build 4222.7 UEFI ROM
The ubook is set from factory to boot legacy (means no UEFI) and although the Preboot System Assment diags can run when I ask with F12 menu.
Well, I'm no more that sure I need to clone the sda2 (OS) partition to run these diags from the stick.
Also the files in sda1 are too small (see below) in size to have the diags in them, so I think they are elsewhere??? (in the ROM maybe)
My clones seem to have all same files
ls -RgG /media/DELLUTILITY/ (sda1 - source)
/media/DELLUTILITY/:
total 120
-rwxr-xr-x 1 57389 août 13 2008 COMMAND.COM
drwx------ 2 4096 mai 16 12:33 DELL
-r--r--r-- 1 23856 août 13 2008 DELLBIO.BIN
-r--r--r-- 1 30978 août 13 2008 DELLRMK.BIN
I do not have a dell ultrabook here, so no idea how I can test it.
However, maybe you can install grub or syslinux boot loader on your USB stick?
Maybe it's easier to deal with...
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi kind people
I have a new dell ultrabook xps13 with ubuntu. I would like to remove the "dellutility" and "os" labelled partitions to reinstall ubuntu to the full disk.
But I'd like to keep the ability to run the dell diags, so I had the idea to move them to a usb stick.
I already did a full image with the supplied dell-recovery media creator.
Then I tried to do the stick with Clonezilla.
First time it did not allow to clone the "os" partition to a new one (it just proposed to clone onto the sdb1 it created on the previous step - cloning "dellutility" - you guessed right: I feel forever newb in these matters).
So I went back in ubuntu and I partitionned the stick so that it has 2 partitions with same sizes labels and flags they have on the source SSD.
I reached to do it all but the type of the "dellutility" partition which is 0xDE on the SSD and (g)parted will make it 0x12.
Then I could clone both partitions but I could not boot the stick, even replacing the diag flag by the boot one. I just get a "No operating system" or a simple black screen.
Any advise please if possible?
Thank you
PS: I remember: first trial was with dd if=/dev/sda1 of=/dev/sdb1
Maybe I added a flag boot and/or diag
On boot I got a message: Can't load DRMK...
Here is the current fdisk -l:
Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Unities = sectors of 1 * 512 = 512 bytes
Sector size (logical / physical) : 512 bytes / 512 bytes
I/O size (minimal / optimal) : 512 bytes / 512 bytes
Disk Identifier : 0xb1322cdd
Device Boot Begin End Blocks Id System
/dev/sda1 2048 616447 307200 de Dell Utility
/dev/sda2 616448 6907903 3145728 c W95 FAT32 (LBA)
/dev/sda3 * 6907904 468371455 230731776 83 Linux
/dev/sda4 468373502 500117503 15872001 5 Extended
/dev/sda5 468373504 500117503 15872000 82 Linux swap / Solaris
Disk /dev/sdb: 16.0 GB, 16013852672 bytes
64 heads, 32 sectors/track, 15272 cylinders, total 31277056 sectors
Unities = sectors de 1 * 512 = 512 bytes
Sector size (logical / physical) : 512 bytes / 512 bytes
I/O size (minimal / optimal) : 512 bytes / 512 bytes
Disk identifier : 0x00068e75
Device Boot Begin End Blocks Id System
/dev/sdb1 2048 616447 307200 12 Compaq diagnostics
/dev/sdb2 616448 6907903 3145728 c W95 FAT32 (LBA)
[EDIT] more info:
When running the Pre Boot diags, they run in a Win9x/Me like window. I did not reached to intercept some autoexec.bat/config.sys menu prompt with F5/F8 (oooch... old memory), but the window shows in bottom right an info about diags tool release: Build 4222.7 UEFI ROM
The ubook is set from factory to boot legacy (means no UEFI) and although the Preboot System Assment diags can run when I ask with F12 menu.
Well, I'm no more that sure I need to clone the sda2 (OS) partition to run these diags from the stick.
Also the files in sda1 are too small (see below) in size to have the diags in them, so I think they are elsewhere??? (in the ROM maybe)
My clones seem to have all same files
ls -RgG /media/DELLUTILITY/ (sda1 - source)
/media/DELLUTILITY/:
total 120
-rwxr-xr-x 1 57389 août 13 2008 COMMAND.COM
drwx------ 2 4096 mai 16 12:33 DELL
-r--r--r-- 1 23856 août 13 2008 DELLBIO.BIN
-r--r--r-- 1 30978 août 13 2008 DELLRMK.BIN
/media/DELLUTILITY/DELL:
total 0
ls -gG /media/OS/ (sda2 - source)
total 100
drwx------ 3 4096 juil. 3 2012 boot
-rw-r--r-- 1 2048 juil. 3 2012 boot.catalog
drwx------ 2 4096 juil. 3 2012 casper
drwx------ 3 4096 mai 16 12:40 debs
drwx------ 3 4096 juil. 3 2012 dists
drwx------ 3 4096 juil. 3 2012 efi
drwx------ 2 4096 mai 16 12:40 factory
drwx------ 2 4096 juil. 3 2012 install
-rw-r--r-- 1 63242 juil. 3 2012 md5sum.txt
drwx------ 3 4096 juil. 3 2012 pool
-rw-r--r-- 1 0 sept. 17 2012 prepackage.dell
ls -RgG /media/DELLUTILITY_ (sdb1 - clone)
/media/DELLUTILITY_:
total 120
-rwxr-xr-x 1 57389 août 13 2008 COMMAND.COM
drwx------ 2 4096 mai 16 12:33 DELL
-r--r--r-- 1 23856 août 13 2008 DELLBIO.BIN
-r--r--r-- 1 30978 août 13 2008 DELLRMK.BIN
/media/DELLUTILITY_/DELL:
total 0
ls -gG /media/OS_/ (sdb2 - clone)
total 100
drwx------ 3 4096 juil. 3 2012 boot
-rw-r--r-- 1 2048 juil. 3 2012 boot.catalog
drwx------ 2 4096 juil. 3 2012 casper
drwx------ 3 4096 mai 16 12:40 debs
drwx------ 3 4096 juil. 3 2012 dists
drwx------ 3 4096 juil. 3 2012 efi
drwx------ 2 4096 mai 16 12:40 factory
drwx------ 2 4096 juil. 3 2012 install
-rw-r--r-- 1 63242 juil. 3 2012 md5sum.txt
drwx------ 3 4096 juil. 3 2012 pool
-rw-r--r-- 1 0 sept. 17 2012 prepackage.dell
PS:
Boooo, I changed the sdb1 partition type to "de" with fdisk and now I get "No operation system found". Even when recloned over.
Last edit: Gronaz 2013-06-21
Last edit: Gronaz 2013-06-21
I do not have a dell ultrabook here, so no idea how I can test it.
However, maybe you can install grub or syslinux boot loader on your USB stick?
Maybe it's easier to deal with...
Steven.