You are not logged in.

#1 2012-04-11 15:41:06

biltong
Member
From: South Africa
Registered: 2011-09-01
Posts: 118

[SOLVED] Archiso - won't boot from CD nor VM, fine booting from USB.

I've made an ISO that works fine when dd'd onto a flash drive, but when I burned the ISO to a DVD in windows I get the "device didn't show up after 30 seconds" error.
Following this, I ran fdisk -l /dev/sr0 and got this:

Note: sector size is 2048 (not 512)

Disk /dev/sr0: 4700 MB, 4700372992 bytes
64 heads, 32 sectors/track, 1120 cylinders, total 2295104 sectors
Units = sectors of 1 * 2048 = 2048 bytes
Sector size (logical/physical): 2048 bytes / 2048 bytes
I/O size (minimum/optimal): 2048 bytes / 2048 bytes
Disk identifier: 0x44a5680a

    Device Boot      Start         End      Blocks   Id  System
/dev/sr0p1   *           0     1179647     2359296   17  Hidden HPFS/NTFS

How did I manage to get an NTFS partition on there? I used nero express, which I thought would do a windows version of dd onto the disk. Any specific program I can use to burn it properly in windows?

Oh and one last question, to burn a cd/dvd in linux = dd if=/path/to/iso of=/dev/sr0 correct?

Last edited by biltong (2012-04-14 12:20:29)

Offline

#2 2012-04-11 15:45:01

windscape
Member
Registered: 2010-04-30
Posts: 69

Re: [SOLVED] Archiso - won't boot from CD nor VM, fine booting from USB.

biltong,

There is a dd for Windows here: http://www.chrysocome.net/dd

It doesn't appear to support CD burning. I usually use ImgBurn to burn CDs and DVDs in Windows. You can get it for free here: http://www.imgburn.com/

As for burning ISO images in Linux, I use cdrecord. It is part of the cdrtools package.

Offline

#3 2012-04-11 15:51:37

biltong
Member
From: South Africa
Registered: 2011-09-01
Posts: 118

Re: [SOLVED] Archiso - won't boot from CD nor VM, fine booting from USB.

Thanks. I need something that can burn CDs, so if imgburn is free I'll give that a shot.

Just checked the wiki, for burning from ISOs dd works fine according to that.

Offline

#4 2012-04-11 16:37:18

biltong
Member
From: South Africa
Registered: 2011-09-01
Posts: 118

Re: [SOLVED] Archiso - won't boot from CD nor VM, fine booting from USB.

Okay so I dd'd the ISO and I'm still getting the same output from fdisk.

fdisk -l /dev/sr0
Note: sector size is 2048 (not 512)

Disk /dev/sr0: 4700 MB, 4700372992 bytes
64 heads, 32 sectors/track, 1120 cylinders, total 2295104 sectors
Units = sectors of 1 * 2048 = 2048 bytes
Sector size (logical/physical): 2048 bytes / 2048 bytes
I/O size (minimum/optimal): 2048 bytes / 2048 bytes
Disk identifier: 0x44a5680a

    Device Boot      Start         End      Blocks   Id  System
/dev/sr0p1   *           0     1179647     2359296   17  Hidden HPFS/NTFS

EDIT: The ISO has an NTFS partition...

fdisk -l archfold-2012.04.10-core-x86_64.iso 

Disk archfold-2012.04.10-core-x86_64.iso: 603 MB, 603979776 bytes
64 heads, 32 sectors/track, 576 cylinders, total 1179648 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: 0x44a5680a

                              Device Boot      Start         End      Blocks   Id  System
archfold-2012.04.10-core-x86_64.iso1   *           0     1179647      589824   17  Hidden HPFS/NTFS

What the hell? I used build.sh as I always have.

EDIT: The same ISO, dd'd onto a 4GB flash drive:

 sudo fdisk -l /dev/sdc

Disk /dev/sdc: 4002 MB, 4002910208 bytes
64 heads, 32 sectors/track, 3817 cylinders, total 7818184 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: 0x46d94853

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           0     1132543      566272   17  Hidden HPFS/NTFS

This boots fine first time, same ISO on a DVD+RW doesn't.

cat mkinitcpio.conf
HOOKS="base udev archiso pata scsi sata usb filesystems usbinput"
COMPRESSION="xz"

Everything is in there that should be, right? I took the DVD to my dad's machine and that had the same problem, his drive uses sata while mine uses pata.

Last edited by biltong (2012-04-11 17:13:39)

Offline

#5 2012-04-12 14:34:24

biltong
Member
From: South Africa
Registered: 2011-09-01
Posts: 118

Re: [SOLVED] Archiso - won't boot from CD nor VM, fine booting from USB.

Bump.

Offline

#6 2012-04-12 19:34:38

biltong
Member
From: South Africa
Registered: 2011-09-01
Posts: 118

Re: [SOLVED] Archiso - won't boot from CD nor VM, fine booting from USB.

I just tried my ISO in virtual box in windows 7 64 bit, and I'm getting the same error I have every time: http://i1004.photobucket.com/albums/af1 … roblem.png (I'd embed the picture but it'd get removed according to the forum etiquette)

EDIT: An ISO I made in December 2011 is working fine, I haven't changed any configuration or anything since then, just updated packages. I'm starting to think this isn't archiso related? Some sort of init bug? I haven't updated the archiso scripts since then because I edited build.sh to keep a repo of my own custom packages so that I can install them without downloading them. Related?

Last edited by biltong (2012-04-12 19:38:51)

Offline

#7 2012-04-14 12:24:21

biltong
Member
From: South Africa
Registered: 2011-09-01
Posts: 118

Re: [SOLVED] Archiso - won't boot from CD nor VM, fine booting from USB.

Marked this as solved, some googling lead me to the archiso git which showed there was an update to the scripts accommodating changes for a new version of udev, which made me think my old scripts didn't have the changes to the hooks etc. leading to that boot error.

After updating my archiso scripts (which broke my chroot) and making a new chroot I now have a working updated ISO. But then this morning's update seems to have broken archiso.

Offline

Board footer

Powered by FluxBB