How to install Chromium OS on a IDE HDD?

3,856 views
Skip to first unread message

Pavel Volkov

unread,
Nov 17, 2014, 3:24:02 PM11/17/14
to chromium-...@chromium.org

Hello. I have a pc, which has IDE(PATA) HDD. There is Linux Mint is installed on HDD and it works well. Drive has a ext3 file system. I like Chromium OS and I put the latest build from ArnoldTheBat to my usb flash drive. At now I'm writing from Chromium OS and it works fine. But when I tried to install it to HDD, I had en error. 


crosh> shell
chronos@localhost
/ $ sudo chromeos-install
initctl
: Unknown instance:
Error: can not determine destination device. Specify --dst yourself.

Also I couldn't find HDD(sdb?) in /dev folder. 


Can you help me?



Prathmesh Prabhu Chromium

unread,
Nov 17, 2014, 3:53:25 PM11/17/14
to pvo...@gmail.com, Chromium OS discuss
The chromeos-install script will not automatically pick your hdd to install to. You will have to specify dst as requested

chromeos-install --dst /dev/sd[whatever].

I don't know enough about storage systems to tell you which one of those devices could you be your hard-drive, but I'd look at /var/log/messages to find out what the kernel did with that disk.

--
--
Chromium OS discuss mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en


Mike Frysinger

unread,
Nov 17, 2014, 4:45:58 PM11/17/14
to pvo...@gmail.com, Chromium OS discuss
my guess is that the drivers you need are not enabled in the kernel which is why you only see sda.  glancing at our kernel configs, we enable the PATA common layer, but not really any subdevice.  would probably be nice to enable all of them at least for our generic config ...
-mike

On Mon, Nov 17, 2014 at 12:24 PM, Pavel Volkov <pvo...@gmail.com> wrote:

Pavel Volkov

unread,
Nov 18, 2014, 2:02:43 AM11/18/14
to chromium-...@chromium.org, pvo...@gmail.com
Hi, Mike. Could you write how I can enable PATA common layer? Should I download src of Chromium and edit some files? Or I can edit configs in ready build of ArnoldTheBat? 

Pavel Volkov

unread,
Nov 18, 2014, 2:03:16 AM11/18/14
to chromium-...@chromium.org, pvo...@gmail.com
Hi, Prathmesh Prabhu. Thank you for your answer!

Mike Frysinger

unread,
Nov 18, 2014, 2:30:26 AM11/18/14
to Pavel Volkov, Chromium OS discuss
unfortunately, atm, if you want custom drivers, you'll need to download the source and build it all from scratch yourself

can you run `lspci` and show us the output ?  it'd tell us the device and we'd probably be able to figure out the PATA driver that'd work for that.  or maybe we just enable them all as kernel modules and be done ...
-mike

Ildar Mulyukov

unread,
Nov 18, 2014, 4:25:22 PM11/18/14
to chromium-...@chromium.org, pvo...@gmail.com
вторник, 18 ноября 2014 г., 3:45:58 UTC+6 пользователь Mike Frysinger написал:
my guess is that the drivers you need are not enabled in the kernel which is why you only see sda.  glancing at our kernel configs, we enable the PATA common layer, but not really any subdevice.  would probably be nice to enable all of them at least for our generic config ...
This is wrong.
  1. Modern Linux always show PATA as sda, sdb, etc. and hda, hdb are gone.
  2. I boot ArnoldTheBat's build in qemu with the image as the IDE drive. Boots fine.
  3. Pavel, I guess that installing with a bare dd-ing to the harddrive would possible give better results.

Mike Frysinger

unread,
Nov 18, 2014, 4:28:37 PM11/18/14
to ildar.m...@gmail.com, Chromium OS discuss, Pavel Volkov
On Tue, Nov 18, 2014 at 1:25 PM, Ildar Mulyukov <ildar.m...@gmail.com> wrote:
вторник, 18 ноября 2014 г., 3:45:58 UTC+6 пользователь Mike Frysinger написал:
my guess is that the drivers you need are not enabled in the kernel which is why you only see sda.  glancing at our kernel configs, we enable the PATA common layer, but not really any subdevice.  would probably be nice to enable all of them at least for our generic config ...
This is wrong.
  1. Modern Linux always show PATA as sda, sdb, etc. and hda, hdb are gone.
you're incorrectly conflating issues here.  the fact that the PATA layer has been migrated to the SATA subsystem and shows up as scsi devices (e.g. sd[a-z]) is irrelevant to the discussion.  you still have to enable the PATA driver in order for it to show up in the first place.

he is booting off USB which means sda is the USB stick.  he doesn't have sdb.
-mike

Ildar Mulyukov

unread,
Nov 18, 2014, 4:35:57 PM11/18/14
to chromium-...@chromium.org, ildar.m...@gmail.com, pvo...@gmail.com
среда, 19 ноября 2014 г., 3:28:37 UTC+6 пользователь Mike Frysinger написал:
you're incorrectly conflating issues here.  the fact that the PATA layer has been migrated to the SATA subsystem and shows up as scsi devices (e.g. sd[a-z]) is irrelevant to the discussion.
That was just a correction, indeed irrelevant to the main topic.
you still have to enable the PATA driver in order for it to show up in the first place.

he is booting off USB which means sda is the USB stick.  he doesn't have sdb.
I wrote that I am booting the image from a virtual IDE drive hence suggest that all drivers are in the image.

Mike Frysinger

unread,
Nov 18, 2014, 4:38:26 PM11/18/14
to ildar.m...@gmail.com, Chromium OS discuss, Pavel Volkov
that's quite a significant leap in logic which, unfortunately, is incorrect.  that the image includes device drivers that work for *your* setup isn't terribly relevant to the OP's setup since you're using wildly different hardware.
-mike
Reply all
Reply to author
Forward
0 new messages