Mau Z
2014-Mar-24 14:35 UTC
[syslinux] installing extlinux on a fresh system. Why does it fail ?
Thanks I let GParted create the file system. It was done on a rescue disk of Ubuntu 12.04 (GParted 0.11.0) I think that the problem is in my command line. Mau On Mon, Mar 24, 2014 at 4:04 PM, Mattias Schlenker <ms at mattiasschlenker.de>wrote:> Am 24.03.2014 14:13, schrieb Mau Z: > > Hi All, >> >> I am trying to install extlinux on a fresh system. >> >> Here are my steps : >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> A) Create an ext2 partition. I did the following steps : >> >> 1) boot from CD >> 2) Activate GParted >> 3) Create Partition table on the "fresh disk" (/dev/sda). >> 4) Create 1 ext2 partition (and mark its flag as "boot"). >> > > Did you use mkfs.ext2 to create the filesystem or let GParted create it? > Which version of GParted? Which version of libparted? There were some bugs > regarding quite recent versions of GParted resulting in filesystems larger > than the partition. And I do not trus "mkfs ext2" within parted as well. > > > B)mkdir /mnt/Ext2_partition >> C) mount /dev/sda1 /mnt/Ext2_partition >> > > I experienced some bad behaviour up to unclean filesystems using the ext2 > and ext3 drivers in kernels from 3.2 upwards. You might want to mount > explicitly using the ext4 driver. > > Regards, > Mattias > > -- > Mattias Schlenker - Redaktion + EDV-Beratung + Linux-CD/DVD-Konzepte > August-Bebel-Str. 74 - 04275 LEIPZIG - GERMANY > > Bitte fuer geschaeftliche Telefonate vorzugsweise die VoIP-Telefonnummer > +49 341 39290767 verwenden, da ich diese aufs Mobiltelefon routen kann! > > _______________________________________________ > Syslinux mailing list > Submissions to Syslinux at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux >
Mattias Schlenker
2014-Mar-24 14:46 UTC
[syslinux] installing extlinux on a fresh system. Why does it fail ?
Am 24.03.2014 15:35, schrieb Mau Z:> Thanks > > I let GParted create the file system. It was done on a rescue disk of > Ubuntu 12.04 (GParted 0.11.0) > > I think that the problem is in my command line.extlinux --install /mount/point/subdir usually does the job. I suspect the filesystem was created using libparted's ext2 code. Unmount and run mkfs.ext2 /dev/sda1 Then mount again as ext4: mount -t ext4 /dev/sda1 /mnt/Ext2_partition Then mkdir and run extlinux again. Regards, Mattias -- Mattias Schlenker - Redaktion + EDV-Beratung + Linux-CD/DVD-Konzepte August-Bebel-Str. 74 - 04275 LEIPZIG - GERMANY Bitte fuer geschaeftliche Telefonate vorzugsweise die VoIP-Telefonnummer +49 341 39290767 verwenden, da ich diese aufs Mobiltelefon routen kann!
Mau Z
2014-Mar-24 15:04 UTC
[syslinux] installing extlinux on a fresh system. Why does it fail ?
Thanks all, I am a shame a little bit.... The first command was incorrect (as some of you said). The second command was correct, the problem was the I forgot to put "sudo" in front of the command. So it is simply "extlinux --install /mount/point/subdir" (as Mattias and Ady said). Sorry, and thanks all. On Mon, Mar 24, 2014 at 4:46 PM, Mattias Schlenker <ms at mattiasschlenker.de>wrote:> Am 24.03.2014 15:35, schrieb Mau Z: > > Thanks >> >> I let GParted create the file system. It was done on a rescue disk of >> Ubuntu 12.04 (GParted 0.11.0) >> >> I think that the problem is in my command line. >> > > extlinux --install /mount/point/subdir > > usually does the job. I suspect the filesystem was created using > libparted's ext2 code. Unmount and run > > mkfs.ext2 /dev/sda1 > > Then mount again as ext4: > > mount -t ext4 /dev/sda1 /mnt/Ext2_partition > > Then mkdir and run extlinux again. > > > Regards, > Mattias > > -- > Mattias Schlenker - Redaktion + EDV-Beratung + Linux-CD/DVD-Konzepte > August-Bebel-Str. 74 - 04275 LEIPZIG - GERMANY > > Bitte fuer geschaeftliche Telefonate vorzugsweise die VoIP-Telefonnummer > +49 341 39290767 verwenden, da ich diese aufs Mobiltelefon routen kann! > >