From owner-freebsd-questions@freebsd.org Fri Jan 18 05:55:15 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A11C614909C1 for ; Fri, 18 Jan 2019 05:55:15 +0000 (UTC) (envelope-from j.maxuel@gmail.com) Received: from mail-it1-x142.google.com (mail-it1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 80AB077777 for ; Fri, 18 Jan 2019 05:55:14 +0000 (UTC) (envelope-from j.maxuel@gmail.com) Received: by mail-it1-x142.google.com with SMTP id w18so5245033ite.1 for ; Thu, 17 Jan 2019 21:55:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:mime-version :content-transfer-encoding; bh=hpnZCoxJLwwQwcv1K0QtUn/Bhy9Rte8EYkIC9UNoeo4=; b=VZXtGHyUi4oBiUuG1OwfPN1PzGYRcohkSz9XNrSDQ4xiUElkshNbm8MLpvI1HoSaTX AqTUzlnB9KugQ4kE2GSlTfUNvX+8j97nYnIWs9FPIyHWd2mBRZdKZp9ziEG7c4lRmfQ2 pPTMRHwH0XvmvjkhYYgY6IBtkTxPTil/mNNSvspz79uNdWNbGwWIZrpxn9147nAzDXWh wnga6ZURLXDDic7qk/VKwegrg3UWtiCkdmzUBrkf7db+Ytp0hjZIxN0MelKT8VVULvdU jY0zXv1jEEF2HFV8DinvQXnNgmd/kSqEHmiGFDoS1l8jimab7azonkr522KaXPYguwC8 TDqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:mime-version :content-transfer-encoding; bh=hpnZCoxJLwwQwcv1K0QtUn/Bhy9Rte8EYkIC9UNoeo4=; b=sk/f+MrNFC5ZNYYSEH8x9KufUX/WrKMOahWig733gO6Qk/x8dMUczKjOhdbFh4AyNY 31Za3elFb5dSiObxIpvQcsQ4fmfblTMS0ooSgEDR1KXVEfB1BgHcIhAvDL5McETvCdjG e4SdgrBzcSiaOA/7+APZuj5z/af6exdkqE0wbh64gxnK+TvPFABPCaJegGMqW9mFQrG7 KA/ueSuUBAdamhFOceHj7VjDrPAi17s6d/GQYjatk8ZK3EfwacLWA4GYuwsAeCBcAx85 T6NBaRtt2jdlnhPRzf8YLS84l57JryxcYlXt574Smrq4lEqwyD1KnenIFgfT8NgrMdg7 kKSA== X-Gm-Message-State: AJcUukeySRieidIB+Xhqfe2sOYD1YuZwfbNjhJwRPXoWGQ4frHbybR+0 Kfx/gQMI4CrRPxkCjrJxLTKphjQG X-Google-Smtp-Source: ALg8bN4fFHQEViy18kfZGd/5ETSdTGv9SMmQh/63zei5ITvRMsAVcV/uT0IXlnmJSozc6YWB94RIRA== X-Received: by 2002:a24:55d4:: with SMTP id e203mr10024598itb.36.1547790913657; Thu, 17 Jan 2019 21:55:13 -0800 (PST) Received: from cybaryme (cbl-45-2-195-179.yhz.frontiernetworks.ca. [45.2.195.179]) by smtp.googlemail.com with ESMTPSA id t64sm2020090itb.5.2019.01.17.21.55.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Jan 2019 21:55:12 -0800 (PST) Message-ID: <1547790911.2471.3.camel@gmail.com> Subject: FreeBSD Installer not recognizing existing partition tables From: Joel Maxuel To: freebsd-questions@freebsd.org Date: Fri, 18 Jan 2019 01:55:11 -0400 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 80AB077777 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=VZXtGHyU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of jmaxuel@gmail.com designates 2607:f8b0:4864:20::142 as permitted sender) smtp.mailfrom=jmaxuel@gmail.com X-Spamd-Result: default: False [-3.44 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.75)[-0.746,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.18)[ip: (3.37), ipnet: 2607:f8b0::/32(-2.39), asn: 15169(-1.82), country: US(-0.08)]; RCVD_IN_DNSWL_NONE(0.00)[2.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2019 05:55:15 -0000 Hi all, Looking to set up FreeBSD as part of a dual-boot with Debian Stretch (already installed). The drives I will be using includes an SSD (ada0/sda) for rootfs and an HDD (ada1/sdb) for swap and /home. The system itself is an old Lenovo M92p, with UEFI turned off (BIOS set to "Legacy" mode), and each disk is using the "msdos" partition scheme. Also, parts for the system changed over the years as I had started with a 500GB HDD, to add a 60GB SSD later, to eventually replace both all while keeping the original data (dd, gparted, clonezilla tricks). When I ran the FreeBSD installer, everything went fine until I got to partitioning - I chose the semi-manual option, and only ada0 & ada1 appeared - no existing partitions below. dmesg revealed: ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ... ada0: Command Queueing enabled ada0: 262321MB (537234768 512 byte sectors) ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ... ada1: Command Queueing enabled ada1: 953869MB (1953525168 512 byte sectors) ada1: quirks=0x1<4k> GEOM_PART: integrity check failed (ada0, BSD) GEOM_PART: integrity check failed (ada1, BSD) diskinfo of ada0 / ada1: sectorsize 512 / 512 mediasize in bytes 275064201216 / 1000204886016 mediasize in sectors 537234768 / 1953525168 stripesize 0 / 4096 stripeoffset 0 / 0 cylinders according to firmware 532971 / 1938021 heads according to firmware 16 / 16 sectors according to firmware 63 / 63 TRIM/UNMAP support Yes / No The parted details (I had pre-made the partitions for FreeBSD): ~> sudo parted /dev/sda unit s print Model: ATA Crucial_CT275MX3 (scsi) Disk /dev/sda: 537234768s Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags:  Number  Start       End         Size        Type      File system  Flags  1      2048s       117229567s  117227520s  primary   ext4         boot  2      117229568s  537233407s  420003840s  extended  5      117231616s  419311615s  302080000s  logical   ext4  6      419313664s  419315711s  2048s       logical   freebsd-ufs  7      419317760s  537233407s  117915648s  logical ~> sudo parted /dev/sdb unit s print Model: ATA WDC WD1003FZEX-0 (scsi) Disk /dev/sdb: 1953525168s Sector size (logical/physical): 512B/4096B Partition Table: msdos Disk Flags:  Number  Start        End          Size         Type      File system     Flags  1      2048s        78125055s    78123008s    primary   ext4  2      78127102s    1953523711s  1875396610s  extended  5      78127104s    97656831s    19529728s    logical   ext4  6      97658880s    117188607s   19529728s    logical   ext4  7      117190656s   128907263s   11716608s    logical   linux-swap(v1)  8      128909312s   695232511s   566323200s   logical   ext4  9      695234560s   1827696639s  1132462080s  logical   ext2 10      1827698688s  1945135103s  117436416s   logical   freebsd-ufs 11      1945137152s  1953523711s  8386560s     logical ~>  `gpart show` returns nothing, and because the GEOM error automatically assumes the partition tables are BSD when they are really MBR (msdos), I don't believe the thread I found will be of assistance: https://www.mail-archive.com/freebsd-geom@freebsd.org/msg01424.html ...nor would I want to really risk blowing everything away (even with backups) for the possibility that my partition tables have gone weird over the years. AHCI is turned on in my BIOS, but I am wondering if due to my other BIOS settings (noted above; IME disabled as well as it can be) if that is making FreeBSD expect something different from the controller than what is really happening. I feel it is going to be something silly such as a slightly different process for non-UEFI. At any rate, the issue has been found with FreeBSD 11.2 and 12.0, but I did not encounter this when I played with Dragonfly 5.4.1 and NetBSD (had X issues there since I have a Nvidia GT630 that is not going to play nice for my dual-monitor setup). Let me know if you need any additional information - many thanks.