On Mon 30 Nov 2015 02:26:01 PM CST, oapeter wrote:
arvidjaar;2740422 Wrote:
> I would be extremely interested in seeing partition table before
> Windows changed it (and also raw data). How did you create logical
> partition on this space - using Windows or Linux?
>
> But yes, I agree - data is most likely still there, you just need to
> create partition for it. It is a bit tricky, because logical partition
> entries are written inside extended partition, so one has to be
> careful to not overwrite data.
I’ll reinstall OpenSuse tonight and I can post the output of the gdisk
and fdisk commands for you.
The basic steps I took for setting up my system were:
- Install Windows, letting it do it’s thing.
- Shrink the Windows partition down to make room for Linux. I believe I
did this within Windows.
- Install Opensuse. Create the /boot partition within the installer as
a logical partition
- Create extended partition to install opensuse into. I also put an
ntfs partition in the extended partition.
- Set Opensuse to boot from /boot partition
- Reboot back into Windows. Use Diskpart utility to set partition 3 as
active
- Reboot again, this time GRUB2 displays and I finish setting up
Opensuse.
If there is a better way to set this up, I’m all ears!
Thanks!
Hi
I normally pre configure the disk and set the windows partition etc.
You probably going to have fun if it upgrades to windows 10… it
needs/creates an extra partition. One wonders if that’s why you had
issues since it’s mbr. On my uefi systems it creates an extra small
partition but doesn’t interfere with anything…
I always clean out the disk first with wipefs (destructive to disk
partitions, use with caution).
My general setup goes like;
wipefs -a /dev/sdX
gisk /dev/sdX
w
gdisk /dev/sdX
x
z
Y
Y
So the above cleans out the partition information, I then use gdisk to
zap the gpt and wipe the mbr.
Then for Legacy/MBR use fdisk to create;
sdX1 100MB
sdX2 (extended - space required for linux /boot / and swap eg 150G)
sdX3 space for windows
sdX5 260M /boot
sdX6 40G /
sdX7 8G swap
sdX8 balance for /home (in my case I use /data)
In theory an update to windows X should create a partition as sdX4 (but
never tested).
For UEFI use gdisk to create (say triple boot on a 320GB
drive);
sdX1 260M type ef00
sdX2 128M type 0c01
sdX3 40G type 8300 / - openSUSE Leap
sdX4 40G type 8300 / - openSUSE Tumbleweed
sdX5 100G type 8300 /data - shared data
sdX6 8G type 8200 swap
sdX7 balance type 0700 windows
I also for my UEFI installs format sdX1 via;
mkfs.vfat /dev/sdX1
Then when I install windows (7,8 of X) I just use the custom option and
select the windows partition to install on.
I always put windows at the end of the disk, since I use it rarely…
This system (two 120GB ssd’s) I updated from windows 7 to windows 10
(it created sda5…) as well as switching from non-secure (win7) to
secure boot (winX).
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 119.2G 0 disk
├─sda1 8:1 0 260M 0 part /boot/efi
├─sda2 8:2 0 128M 0 part
├─sda3 8:3 0 40G 0 part /
├─sda4 8:4 0 78.4G 0 part
└─sda5 8:5 0 449M 0 part
sdb 8:16 0 111.8G 0 disk
├─sdb1 8:17 0 103.8G 0 part /data
└─sdb2 8:18 0 8G 0 part [SWAP]
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.48-52.27-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!