NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/47719: NetBSD install image: post-install: cannot reboot into existing GRUB / missing PPPoE



The following reply was made to PR install/47719; it has been noted by GNATS.

From: =?UTF-8?B?UmVuw6kgS3VsaWdvd3NraQ==?= 
<renekuligowski%alice-dsl.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: install/47719: NetBSD install image: post-install: cannot reboot
 into existing GRUB / missing PPPoE
Date: Sat, 06 Apr 2013 15:57:19 -0100

 This is a multi-part message in MIME format.
 --------------030106080309090700090400
 Content-Type: text/plain; charset=UTF-8; format=flowed
 Content-Transfer-Encoding: 8bit
 
 Thanks for your quick reply.  I will keep your request in mind (not 
 putting multiple things into one PR).   My primary concern with these 
 issues is the *i386 port*, on an Atom-based notebook.  Once I get it all 
 up-and-running there, I'll use the same way on the m68k and arm machines.
 
 Concerning pppoe:
 I was able to create the device, thank you very much for that hint â??â?? 
 but how do I go on from here? As a freshling to *BSD, one discovers some 
 huge differences to other unix-style systems in layout, utilities and 
 how-to-do-things, and I am not really sure how to give userid and passwd 
 for the login to the provider (is it similar to the way it is done in 
 the pppoe packages in Linux, via /etc/ppp/{chap,pap}-secrets ?)â?¦
 
 Concerning the reboot/GRUB issue:
 output follows below; internal 160GB SATA disk IDE0:0. Note: There are 
 two linux systems, one in partition 0, one in partition 3; the NetBSD 
 slice is partitioned into system (55G) and swap (2G).  Partition 2 is a 
 swap/hibernate area.  GRUB is "operated" from partition 3 and resides in 
 (hd0) and, since yesterday, in (hd0,msdos4) for redundancy.  NetBSD was 
 installed in a partition that was previously used as simple 
 ext4-formatted storage volume.
 
 --------------------------output from "fdisk wd0":
 
 fdisk: removing corrupt bootsel information
 Disk: /dev/rwd0d
 NetBSD disklabel disk geometry:
 cylinders: 310101, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
 total sectors: 312581808
 
 BIOS disk geometry:
 cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
 total sectors: 312581808
 
 Partitions aligned to 16065 sector boundaries, offset 63
 
 Partition table:
 0: Linux native (sysid 131)
      start 63, size 20964762 (10237 MB, Cyls 0-1304)
 1: NetBSD (sysid 169)
      start 20964825, size 119555730 (58377 MB, Cyls 1305-8746)
 2: Linux swap or Prime or Solaris (sysid 130)
      start 140520555, size 5429970 (2651 MB, Cyls 8747-9084)
          PBR is not bootable: All bytes are identical (0x00)
 3: Linux native (sysid 131)
      start 145950525, size 166626180 (81360 MB, Cyls 9085-19456), Active
 First active partition: 3
 Drive serial number: 2136402246 (0x7f56e946)
 
 -------------------------------------- output from "disklabel wd0":
 # /dev/rwd0d:
 type: unknown
 disk: TOSHIBA MK1655G
 label:
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 16
 sectors/cylinder: 1008
 cylinders: 310101
 total sectors: 312581808
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0        # microseconds
 track-to-track seek: 0    # microseconds
 drivedata: 0
 
 16 partitions:
 #        size    offset     fstype [fsize bsize cpg/sgs]
   a: 115359552  20964825     4.2BSD   2048 16384     0  # (Cyl.  20798*- 
 135242*)
   b:   4196178 136324377       swap                     # (Cyl. 135242*- 
 139405*)
   c: 119555730  20964825     unused      0     0        # (Cyl.  20798*- 
 139405*)
   d: 312581808         0     unused      0     0        # (Cyl.      0 - 
 310100)
   e:  20964762        63 Linux Ext2      0     0        # (Cyl.      
 0*-  20798*)
   g:   5429970 140520555       swap                     # (Cyl. 139405*- 
 144792*)
   h: 166626180 145950525 Linux Ext2      0     0        # (Cyl. 144792*- 
 310095*)
 
 
 Regards, rekuli
 
 ---
 
 On 06.04.2013 08:55, Martin Husemann wrote:
 > The following reply was made to PR install/47719; it has been noted by GNATS.
 >
 > From: Martin Husemann<martin%duskware.de@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:
 > Subject: Re: install/47719: NetBSD install image: post-install: cannot 
 > reboot into existing GRUB / missing PPPoE
 > Date: Sat, 6 Apr 2013 11:49:18 +0200
 >
 >   Please do not file different issues in a single PR, it makes tracking very
 >   hard.
 >
 >   For the pppoe issue: it is available on some install media, but others are
 >   more stripped due to size restraints. Try to exit the installer to the
 >   shell (or run Utils/Run /bin/sh) and try:
 >
 >
 >      ifconfig pppoe0 create
 >      pppoectl -v pppoe0
 >
 >   to verify. If either does not work, please tell us what install media you
 >   used and we can check if we can add it there.
 >
 >   For the grub issue: in a pre-corruption state (or after your fixup),
 >   please boot the install media, then exit to the shell (see above) and
 >   then report the output of
 >
 >     fdisk wd0
 >     disklabel wd0
 >
 >   (assuming you boot from a stock ata/sata disk).
 >
 >
 >   Thanks,
 >
 >   Martin
 >
 >
 >    
 
 --------------030106080309090700090400
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: 8bit
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
   <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
   <title></title>
 </head>
 <body bgcolor="#ffffff" text="#000000">
 Thanks for your quick reply.  I will keep your request in mind (not
 putting multiple things into one PR).   My primary concern with these
 issues is the <b>i386 port</b>, on an Atom-based notebook.  Once I get
 it all up-and-running there, I'll use the same way on the m68k and arm
 machines. <br>
 <br>
 Concerning pppoe: <br>
 I was able to create the device, thank you very much for that hint â??â??
 but how do I go on from here? As a freshling to *BSD, one discovers
 some huge differences to other unix-style systems in layout, utilities
 and how-to-do-things, and I am not really sure how to give userid and
 passwd for the login to the provider (is it similar to the way it is
 done in the pppoe packages in Linux, via /etc/ppp/{chap,pap}-secrets ?)â?¦<br>
 <br>
 Concerning the reboot/GRUB issue: <br>
 output follows below; internal 160GB SATA disk IDE0:0. Note: There are
 two linux systems, one in partition 0, one in partition 3; the NetBSD
 slice is partitioned into system (55G) and swap (2G).  Partition 2 is a
 swap/hibernate area.  GRUB is "operated" from partition 3 and resides
 in (hd0) and, since yesterday, in (hd0,msdos4) for redundancy.  NetBSD
 was installed in a partition that was previously used as simple
 ext4-formatted storage volume.<br>
 <br>
 --------------------------output from "fdisk wd0":<br>
 <br>
 fdisk: removing corrupt bootsel information<br>
 Disk: /dev/rwd0d<br>
 NetBSD disklabel disk geometry:<br>
 cylinders: 310101, heads: 16, sectors/track: 63 (1008 sectors/cylinder)<br>
 total sectors: 312581808<br>
 <br>
 BIOS disk geometry:<br>
 cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)<br>
 total sectors: 312581808<br>
 <br>
 Partitions aligned to 16065 sector boundaries, offset 63<br>
 <br>
 Partition table:<br>
 0: Linux native (sysid 131)<br>
     start 63, size 20964762 (10237 MB, Cyls 0-1304)<br>
 1: NetBSD (sysid 169)<br>
     start 20964825, size 119555730 (58377 MB, Cyls 1305-8746)<br>
 2: Linux swap or Prime or Solaris (sysid 130)<br>
     start 140520555, size 5429970 (2651 MB, Cyls 8747-9084)<br>
         PBR is not bootable: All bytes are identical (0x00)<br>
 3: Linux native (sysid 131)<br>
     start 145950525, size 166626180 (81360 MB, Cyls 9085-19456), Active<br>
 First active partition: 3<br>
 Drive serial number: 2136402246 (0x7f56e946)<br>
 <br>
 -------------------------------------- output from "disklabel wd0":<br>
 # /dev/rwd0d:<br>
 type: unknown<br>
 disk: TOSHIBA MK1655G<br>
 label: <br>
 flags:<br>
 bytes/sector: 512<br>
 sectors/track: 63<br>
 tracks/cylinder: 16<br>
 sectors/cylinder: 1008<br>
 cylinders: 310101<br>
 total sectors: 312581808<br>
 rpm: 3600<br>
 interleave: 1<br>
 trackskew: 0<br>
 cylinderskew: 0<br>
 headswitch: 0        # microseconds<br>
 track-to-track seek: 0    # microseconds<br>
 drivedata: 0 <br>
 <br>
 16 partitions:<br>
 #        size    offset     fstype [fsize bsize cpg/sgs]<br>
  a: 115359552  20964825     4.2BSD   2048 16384     0  # (Cyl.  
20798*-
 135242*)<br>
  b:   4196178 136324377       
swap                     # (Cyl. 135242*-
 139405*)<br>
  c: 119555730  20964825     unused      0     0        # 
(Cyl.  20798*-
 139405*)<br>
  d: 312581808         0     unused      0     
0        # (Cyl.      0 -
 310100)<br>
  e:  20964762        63 Linux Ext2      0     
0        # (Cyl.     
 0*-  20798*)<br>
  g:   5429970 140520555       
swap                     # (Cyl. 139405*-
 144792*)<br>
  h: 166626180 145950525 Linux Ext2      0     0        # 
(Cyl. 144792*-
 310095*)<br>
 <br>
 <br>
 Regards, rekuli<br>
 <br>
 --- <br>
 <br>
 On 06.04.2013 08:55, Martin Husemann wrote:
 <blockquote cite="mid:20130406095506.D773163F31B%www.NetBSD.org@localhost"
  type="cite">
   <pre wrap="">The following reply was made to PR install/47719; it has been 
noted by GNATS.
 
 From: Martin Husemann <a class="moz-txt-link-rfc2396E" 
href="mailto:martin%duskware.de@localhost";>&lt;martin%duskware.de@localhost&gt;</a>
 To: <a class="moz-txt-link-abbreviated" 
href="mailto:gnats-bugs%NetBSD.org@localhost";>gnats-bugs%NetBSD.org@localhost</a>
 Cc: 
 Subject: Re: install/47719: NetBSD install image: post-install: cannot reboot 
into existing GRUB / missing PPPoE
 Date: Sat, 6 Apr 2013 11:49:18 +0200
 
  Please do not file different issues in a single PR, it makes tracking very
  hard.
  
  For the pppoe issue: it is available on some install media, but others are
  more stripped due to size restraints. Try to exit the installer to the
  shell (or run Utils/Run /bin/sh) and try:
  
  
     ifconfig pppoe0 create
     pppoectl -v pppoe0
  
  to verify. If either does not work, please tell us what install media you
  used and we can check if we can add it there.
  
  For the grub issue: in a pre-corruption state (or after your fixup),
  please boot the install media, then exit to the shell (see above) and
  then report the output of
  
    fdisk wd0
    disklabel wd0
  
  (assuming you boot from a stock ata/sata disk).
  
  
  Thanks,
  
  Martin
  
 
   </pre>
 </blockquote>
 </body>
 </html>
 
 --------------030106080309090700090400--
 



Home | Main Index | Thread Index | Old Index