xfs
[Top] [All Lists]

Re: Boot from floppy with XFS root on hd (sample config)

To: Blizbor <tb670725@xxxxxx>, linux-xfs@xxxxxxxxxxx
Subject: Re: Boot from floppy with XFS root on hd (sample config)
From: casero@xxxxxxxxxxxxx
Date: Sat, 24 Feb 2001 0:37:36 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx
Yes I agree.  It was my particular question on the list that
generated the response you mention about not being able to fit the kernel image 
on a floppy.  Long before that statement was made I had succeeded in putting an 
XFS enabled kernel image on floppy.  Obviously this was a custom kernel and 
since I know exactly what hardware I have I was able to leave out most of the 
drivers in the kernel source that I don't need.  Even so however, I liked the 
suggestion of modifying a stanza on the /etc/lilo.conf file to include the new 
kernel image.  You may be aware that when a kernel is compiled and installed 
from source the binary image gets sent to /vmlinuz.  In contrast all RedHat 
distros put the binary kernel images under /boot.  So it was trivial really to 
modify the lilo.conf file to include an entry to the /vmlinuz kernel and leave 
the other stanzas and kernels in place on the disk.  This way I can always fall 
back to the kernel image that came by default if I encounter a problem.  My one 
gripe (I haven't mentioned it before because I th!
ought it was kind of petty and I am grateful to the SGI folks for even making a 
modified RedHat distro available) is that during the installation the master 
boot record of my primary IDE drive gets wiped out and lilo put on it.  Since 
my linux partitions are on the second IDE disk and another 9 Gig IBM Ultra SCSI 
drive it took a lot of fiddling to get my system back so I could multiboot into 
Win2k, Linux, and BeOS.  For the record I use Win2k only to do some general 
office stuff and resume preparations.  Nearly all of my time is spent in Linux.

Ciao...


  
> 
> From: Blizbor <tb670725@xxxxxx>
> Date: 2001/02/24 Sat AM 02:15:20 EST
> To: linux-xfs@xxxxxxxxxxx
> Subject: Boot from floppy with XFS root on hd (sample config)
> 
> Hi,
> 
> As I found, two peoples wrote that isn't possible to make kernel
> small enaugh to fit on floppy. 
> I'm agreeing that - complete kernel is to big, however it's not required
> to have all functionality compiled in to the kernel. Compiling less 
> important (for boot process) part of the kernel as a modules and most
> important things into the kernel is possible to get compressed image around
> 1MB big. It can have compiled even two scsi controllers (even rather big
> compaq array driver).
> 
> I have compiled, configured using rdev and put on the diskette
> using cat image > /dev/floppy.
> Don't forget to make 'modprobe -v floppy' before copying.
> 
> Cheers,
> Blizbor
> 
> #
> # Automatically generated by make menuconfig: don't edit
> #
> CONFIG_X86=y
> CONFIG_ISA=y
> CONFIG_UID16=y
> 
> #
> # Code maturity level options
> #
> CONFIG_EXPERIMENTAL=y
> 
> #
> # Loadable module support
> #
> CONFIG_MODULES=y
> CONFIG_KMOD=y
> 
> #
> # Processor type and features
> #
> CONFIG_M686FXSR=y
> CONFIG_X86_WP_WORKS_OK=y
> CONFIG_X86_INVLPG=y
> CONFIG_X86_CMPXCHG=y
> CONFIG_X86_BSWAP=y
> CONFIG_X86_POPAD_OK=y
> CONFIG_X86_L1_CACHE_SHIFT=5
> CONFIG_X86_TSC=y
> CONFIG_X86_GOOD_APIC=y
> CONFIG_X86_PGE=y
> CONFIG_X86_USE_PPRO_CHECKSUM=y
> CONFIG_X86_FXSR=y
> CONFIG_X86_XMM=y
> CONFIG_NOHIGHMEM=y
> CONFIG_MTRR=y
> CONFIG_SMP=y
> CONFIG_HAVE_DEC_LOCK=y
> 
> #
> # General setup
> #
> CONFIG_NET=y
> CONFIG_X86_IO_APIC=y
> CONFIG_X86_LOCAL_APIC=y
> CONFIG_PCI=y
> CONFIG_PCI_GOBIOS=y
> CONFIG_PCI_BIOS=y
> CONFIG_PCI_NAMES=y
> CONFIG_SYSVIPC=y
> CONFIG_SYSCTL=y
> CONFIG_KCORE_ELF=y
> CONFIG_BINFMT_ELF=y
> CONFIG_PM=y
> CONFIG_APM=y
> 
> #
> # Memory Technology Devices (MTD)
> #
> 
> #
> # Parallel port support
> #
> 
> #
> # Plug and Play configuration
> #
> CONFIG_PNP=y
> 
> #
> # Block devices
> #
> CONFIG_BLK_DEV_FD=m
> CONFIG_BLK_CPQ_DA=y
> 
> #
> # Multi-device support (RAID and LVM)
> #
> 
> #
> # Networking options
> #
> CONFIG_PACKET=y
> CONFIG_PACKET_MMAP=y
> CONFIG_NETLINK=y
> CONFIG_RTNETLINK=y
> CONFIG_NETLINK_DEV=y
> CONFIG_NETFILTER=y
> CONFIG_NETFILTER_DEBUG=y
> CONFIG_FILTER=y
> CONFIG_UNIX=y
> CONFIG_INET=y
> CONFIG_SYN_COOKIES=y
> 
> #
> #   IP: Netfilter Configuration
> #
> CONFIG_IP_NF_IPTABLES=m
> CONFIG_IP_NF_MATCH_LIMIT=m
> CONFIG_IP_NF_MATCH_MAC=m
> CONFIG_IP_NF_MATCH_MARK=m
> CONFIG_IP_NF_MATCH_MULTIPORT=m
> CONFIG_IP_NF_MATCH_TOS=m
> CONFIG_IP_NF_MATCH_UNCLEAN=m
> CONFIG_IP_NF_MATCH_OWNER=m
> CONFIG_IP_NF_FILTER=m
> CONFIG_IP_NF_TARGET_REJECT=m
> CONFIG_IP_NF_TARGET_MIRROR=m
> CONFIG_IP_NF_MANGLE=m
> CONFIG_IP_NF_TARGET_TOS=m
> CONFIG_IP_NF_TARGET_MARK=m
> CONFIG_IP_NF_TARGET_LOG=m
> CONFIG_IP_NF_COMPAT_IPCHAINS=m
> CONFIG_IP_NF_NAT_NEEDED=y
> CONFIG_IPX=m
> 
> #
> # QoS and/or fair queueing
> #
> CONFIG_NET_SCHED=y
> CONFIG_NETLINK=y
> CONFIG_RTNETLINK=y
> CONFIG_NET_SCH_CBQ=m
> 
> #
> # Telephony Support
> #
> 
> #
> # ATA/IDE/MFM/RLL support
> #
> 
> #
> # SCSI support
> #
> CONFIG_SCSI=y
> CONFIG_BLK_DEV_SD=y
> CONFIG_SD_EXTRA_DEVS=8
> CONFIG_BLK_DEV_SR=m
> CONFIG_SR_EXTRA_DEVS=4
> CONFIG_SCSI_CONSTANTS=y
> CONFIG_SCSI_LOGGING=y
> 
> #
> # SCSI low-level drivers
> #
> CONFIG_SCSI_AIC7XXX=y
> CONFIG_AIC7XXX_CMDS_PER_DEVICE=8
> CONFIG_AIC7XXX_PROC_STATS=y
> CONFIG_AIC7XXX_RESET_DELAY=5
> 
> #
> # IEEE 1394 (FireWire) support
> #
> 
> #
> # I2O device support
> #
> 
> #
> # Network device support
> #
> CONFIG_NETDEVICES=y
> 
> #
> # ARCnet devices
> #
> 
> #
> # Ethernet (10 or 100Mbit)
> #
> CONFIG_NET_ETHERNET=y
> CONFIG_NET_VENDOR_3COM=y
> CONFIG_VORTEX=m
> 
> #
> # Ethernet (1000 Mbit)
> #
> 
> #
> # Wireless LAN (non-hamradio)
> #
> 
> #
> # Token Ring devices
> #
> 
> #
> # Wan interfaces
> #
> 
> #
> # Amateur Radio support
> #
> 
> #
> # IrDA (infrared) support
> #
> 
> #
> # ISDN subsystem
> #
> 
> #
> # Old CD-ROM drivers (not SCSI, not IDE)
> #
> 
> #
> # Input core support
> #
> 
> #
> # Character devices
> #
> CONFIG_VT=y
> CONFIG_VT_CONSOLE=y
> CONFIG_SERIAL=y
> CONFIG_UNIX98_PTYS=y
> CONFIG_UNIX98_PTY_COUNT=256
> 
> #
> # I2C support
> #
> 
> #
> # Mice
> #
> 
> #
> # Joysticks
> #
> 
> #
> # Watchdog Cards
> #
> 
> #
> # Ftape, the floppy tape device driver
> #
> 
> #
> # Multimedia devices
> #
> 
> #
> # File systems
> #
> CONFIG_QUOTA=y
> CONFIG_ISO9660_FS=m
> CONFIG_JOLIET=y
> CONFIG_PROC_FS=y
> CONFIG_DEVFS_FS=y
> CONFIG_DEVFS_MOUNT=y
> CONFIG_DEVPTS_FS=y
> CONFIG_EXT2_FS=y
> CONFIG_PAGE_BUF=y
> CONFIG_XFS_FS=y
> CONFIG_XFS_QUOTA=y
> CONFIG_XFS_SUPPORT=y
> 
> #
> # Network File Systems
> #
> CONFIG_SMB_FS=m
> CONFIG_NCP_FS=m
> CONFIG_NCPFS_NFS_NS=y
> CONFIG_NCPFS_OS2_NS=y
> CONFIG_NCPFS_NLS=y
> 
> #
> # Partition Types
> #
> CONFIG_MSDOS_PARTITION=y
> CONFIG_SMB_NLS=y
> CONFIG_NLS=y
> 
> #
> # Native Language Support
> #
> CONFIG_NLS_DEFAULT="iso8859-2"
> CONFIG_NLS_CODEPAGE_437=m
> CONFIG_NLS_CODEPAGE_850=m
> CONFIG_NLS_CODEPAGE_852=m
> CONFIG_NLS_ISO8859_1=m
> CONFIG_NLS_ISO8859_2=m
> CONFIG_NLS_UTF8=m
> 
> #
> # Console drivers
> #
> CONFIG_VGA_CONSOLE=y
> CONFIG_VIDEO_SELECT=y
> CONFIG_VIDEO_IGNORE_BAD_MODE=y
> 
> #
> # Frame-buffer support
> #
> 
> #
> # Sound
> #
> 
> #
> # USB support
> #
> 
> #
> # Kernel hacking
> # 
> 
> .
> ________________________________________________
> Contrary to popular opinion, Unix is quite easy and gives you 
> power that before now you have only dreamed of.
> 
> 
> 


<Prev in Thread] Current Thread [Next in Thread>